kadircet added inline comments.
================ Comment at: clang-tools-extra/include-cleaner/lib/WalkAST.cpp:25 namespace clang::include_cleaner { namespace { +using DeclCallback = ---------------- tschuett wrote: > There is a cuter way to use anonymous namespaces: > https://llvm.org/docs/CodingStandards.html#anonymous-namespaces sorry missed that one, were you referring to definitions of methods? because AFAICT there isn't anything else inside this anon namespace that i can declare static in a named-namespace instead. if that's the case, i don't think it's actually common in the codebase to define your methods out-of-line when the whole class is an implementation detail. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135859/new/ https://reviews.llvm.org/D135859 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits