[PATCH] D58293: [clang][Index] Enable indexing of Template Type Parameters behind a flag

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 18 10:05:54 PST 2019


ilya-biryukov added inline comments.


================
Comment at: lib/Index/IndexingContext.cpp:51
+
 bool IndexingContext::handleDecl(const Decl *D,
                                  SymbolRoleSet Roles,
----------------
Do we call `handleDecl` for template parameters now too?


================
Comment at: unittests/Index/IndexTests.cpp:141
+    template <typename T, int I> struct Foo {
+      T t = I;
+    };
----------------
could we add a template template parameter into the test too?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58293/new/

https://reviews.llvm.org/D58293





More information about the cfe-commits mailing list