[PATCH] D27125: Consider nested namespaces in the canonical namespace as canonical as well.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 25 02:49:04 PST 2016
bkramer added inline comments.
================
Comment at: lib/Tooling/Core/Lookup.cpp:27
+ llvm::SmallVector<const NamespaceDecl *, 4> Namespaces;
+ auto GetNextNameNamespace = [](const DeclContext *Context) {
+ // Look past non-namespaces and anonymous namespaces on FromContext.
----------------
GetNextName**d**Namespace
https://reviews.llvm.org/D27125
More information about the cfe-commits
mailing list