diff options
author | Haojian Wu <hokein@google.com> | 2016-06-30 07:50:01 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2016-06-30 07:50:01 +0000 |
commit | aa6f7e6671996c85b2b8a7651c62928330f428b2 (patch) | |
tree | bf534e76f03d4d554e7e29d4fa66e02db2daf7fc /lib | |
parent | ce1f307b91f539c75b14cdbcd48ea0cc3218e8fb (diff) | |
download | clang-aa6f7e6671996c85b2b8a7651c62928330f428b2.tar.gz |
[ASTMatcher] Add a node matcher for EnumType.
Reviewers: aaron.ballman
Subscribers: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D21860
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ASTMatchers/Dynamic/Registry.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ASTMatchers/Dynamic/Registry.cpp b/lib/ASTMatchers/Dynamic/Registry.cpp index a2d9eee054..b6479b0931 100644 --- a/lib/ASTMatchers/Dynamic/Registry.cpp +++ b/lib/ASTMatchers/Dynamic/Registry.cpp @@ -171,6 +171,7 @@ RegistryMaps::RegistryMaps() { REGISTER_MATCHER(elaboratedType); REGISTER_MATCHER(enumConstantDecl); REGISTER_MATCHER(enumDecl); + REGISTER_MATCHER(enumType); REGISTER_MATCHER(equalsBoundNode); REGISTER_MATCHER(equalsIntegralValue); REGISTER_MATCHER(explicitCastExpr); |