Example:
template <typename T> class X {}; class A {}; 
// Explicit instantiation declaration.
extern template class X<A>;
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D43567  
[ASTMatchers] isTemplateInstantiation: also match explicit instantiation declaration. ClosedPublic Authored by ioeric on Feb 21 2018, 4:51 AM. 
Details Summary Example: 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 21 2018, 5:09 AM Closed by commit rL325678: [ASTMatchers] isTemplateInstantiation: also match explicit instantiation… (authored by ioeric).  ·  Explain WhyFeb 21 2018, 5:54 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 135240 cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
 cfe/trunk/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||