[PATCH] D42074: [clangd] Collect enum constants in SymbolCollector

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 02:11:10 PST 2018

ioeric added inline comments.

Comment at: unittests/clangd/SymbolCollectorTests.cpp:164
+TEST_F(SymbolCollectorTest, IncludeEnums) {
+  CollectorOpts.IndexMainFiles = false;
Could you add a test case like the following and check whether `ns::X` is in the result?

namespace ns {
  enum {

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list