diff options
author | Daniel Jasper <djasper@google.com> | 2012-07-30 05:03:25 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2012-07-30 05:03:25 +0000 |
commit | 3cb72b476dcdc4bc2ef76154fc4539cdd004786c (patch) | |
tree | 05b9f1981527bc8a9a369953e923b71a5a1c53e2 /clang/lib/ASTMatchers/ASTMatchFinder.cpp | |
parent | 60a58ac3e280e1a106df7635cca5060dd337efbb (diff) | |
download | bcm5719-llvm-3cb72b476dcdc4bc2ef76154fc4539cdd004786c.tar.gz bcm5719-llvm-3cb72b476dcdc4bc2ef76154fc4539cdd004786c.zip |
Fix for ASTMatchFinder to visit a functions parameter declarations.
llvm-svn: 160947
Diffstat (limited to 'clang/lib/ASTMatchers/ASTMatchFinder.cpp')
-rw-r--r-- | clang/lib/ASTMatchers/ASTMatchFinder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/ASTMatchers/ASTMatchFinder.cpp b/clang/lib/ASTMatchers/ASTMatchFinder.cpp index a58d4f0fb47..085049debdb 100644 --- a/clang/lib/ASTMatchers/ASTMatchFinder.cpp +++ b/clang/lib/ASTMatchers/ASTMatchFinder.cpp @@ -467,8 +467,9 @@ bool MatchASTVisitor::TraverseType(QualType TypeNode) { } bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLoc) { + match(TypeLoc.getType()); return RecursiveASTVisitor<MatchASTVisitor>:: - TraverseType(TypeLoc.getType()); + TraverseTypeLoc(TypeLoc); } class MatchASTConsumer : public ASTConsumer { |