[PATCH] D41759: [clangd] Catch more symbols in SymbolCollector.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 05:22:21 PST 2018


ilya-biryukov added inline comments.


================
Comment at: clangd/index/SymbolCollector.cpp:89
+    // violations.
+    if (ND->isInAnonymousNamespace())
       return true;
----------------
Why don't we include symbols from anonymous namespaces too?
They are very similar to static symbols.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41759





More information about the cfe-commits mailing list