summaryrefslogtreecommitdiffstats
path: root/clang/lib/ASTMatchers/ASTMatchFinder.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2019-12-29 19:19:35 +0000
committerStephen Kelly <steveire@gmail.com>2019-12-31 17:04:39 +0000
commitd89c4cb938070a6de11e624984e5bd0e989fb334 (patch)
tree055c771e52e59813db9d7340b38fb5251d2d4709 /clang/lib/ASTMatchers/ASTMatchFinder.cpp
parentdf3b56c90544b17e645bcb1799ce60e3ae1d5c6d (diff)
downloadbcm5719-llvm-d89c4cb938070a6de11e624984e5bd0e989fb334.tar.gz
bcm5719-llvm-d89c4cb938070a6de11e624984e5bd0e989fb334.zip
Match code following lambdas when ignoring invisible nodes
Reviewers: aaron.ballman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71976
Diffstat (limited to 'clang/lib/ASTMatchers/ASTMatchFinder.cpp')
-rw-r--r--clang/lib/ASTMatchers/ASTMatchFinder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/ASTMatchers/ASTMatchFinder.cpp b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
index ab90c745791..0d1f713db8d 100644
--- a/clang/lib/ASTMatchers/ASTMatchFinder.cpp
+++ b/clang/lib/ASTMatchers/ASTMatchFinder.cpp
@@ -248,7 +248,7 @@ public:
if (!match(*Node->getBody()))
return false;
- return false;
+ return true;
}
bool shouldVisitTemplateInstantiations() const { return true; }
OpenPOWER on IntegriCloud