berenm added a comment. This will also disable all warnings for declaration / usages outside of the main file.
It might be better to disable the warnings and fixes whenever a macro is involved (in the declaration or any usage), but at least keep the warning across files, even if we don't offer fixes. I think the most common use-case will be to have some declaration in a header file and usages in multiple source files, and in this case warnings are interesting. I'm assuming here that "main file" in clang tooling framework means the .cpp file from which the ast is built. http://reviews.llvm.org/D13090 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits