summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-08-11 21:09:52 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-08-11 21:09:52 +0000
commit6f6d0b6c5a37a42f17591e37a30c911ec1c52898 (patch)
treea457a591951a63edbd746ac32a1e420dc0b63f92 /clang/lib
parentda06bce8b50d47ca841d694e10c12638157b2093 (diff)
downloadbcm5719-llvm-6f6d0b6c5a37a42f17591e37a30c911ec1c52898.tar.gz
bcm5719-llvm-6f6d0b6c5a37a42f17591e37a30c911ec1c52898.zip
Add a polymorphic AST matcher for testing whether a constructor or a conversion declaration is marked as explicit or not.
llvm-svn: 244666
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/ASTMatchers/Dynamic/Registry.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/ASTMatchers/Dynamic/Registry.cpp b/clang/lib/ASTMatchers/Dynamic/Registry.cpp
index 7e3df2dfd9a..be04ed47633 100644
--- a/clang/lib/ASTMatchers/Dynamic/Registry.cpp
+++ b/clang/lib/ASTMatchers/Dynamic/Registry.cpp
@@ -249,6 +249,7 @@ RegistryMaps::RegistryMaps() {
REGISTER_MATCHER(isDefinition);
REGISTER_MATCHER(isDeleted);
REGISTER_MATCHER(isExceptionVariable);
+ REGISTER_MATCHER(isExplicit);
REGISTER_MATCHER(isExplicitTemplateSpecialization);
REGISTER_MATCHER(isExpr);
REGISTER_MATCHER(isExternC);
OpenPOWER on IntegriCloud