[PATCH] D94032: [ASTMatchers] Omit methods from explicit template instantations
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 5 09:22:19 PST 2021
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM with a commenting nit.
================
Comment at: clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp:2288-2289
// TODO: If we could match on explicit instantiations of function templates,
// this would be EXPECT_TRUE.
+ // See Sema::ActOnExplicitInstantiation,
EXPECT_FALSE(
----------------
================
Comment at: clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp:2337
+ {
+ // Instantiated, out-of-line methods are not matchable
+ auto M =
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94032/new/
https://reviews.llvm.org/D94032
More information about the cfe-commits
mailing list