aboutsummaryrefslogtreecommitdiffstats
path: root/include/clang/AST/ASTNodeTraverser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/ASTNodeTraverser.h')
-rw-r--r--include/clang/AST/ASTNodeTraverser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/AST/ASTNodeTraverser.h b/include/clang/AST/ASTNodeTraverser.h
index e43eacef86c6..0bb2aad553fb 100644
--- a/include/clang/AST/ASTNodeTraverser.h
+++ b/include/clang/AST/ASTNodeTraverser.h
@@ -237,6 +237,9 @@ public:
for (const auto &TP : *TPL)
Visit(TP);
+
+ if (const Expr *RC = TPL->getRequiresClause())
+ Visit(RC);
}
void