================ Comment at: clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp:41 @@ +40,3 @@ + StringRef FileName = SM->getPresumedLoc(Loc).getFilename(); + if (FileName.endswith(".h") || FileName.endswith(".hh") || + FileName.endswith(".hpp") || FileName.endswith(".hxx")) ---------------- Benjamin Kramer wrote: > Alexander Kornienko wrote: > > The list of header file extensions may be a good candidate for being stored > > in ClangTidyOptions, so we can configure it when needed. > Hmm, we don't have a way of accessing ClangTidyOptions from within a checker? Not yet. I meant, that we should do this in general, not necessarily now. Sorry for ambiguous language.
http://reviews.llvm.org/D4523 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits