[clang] [clang][ASTMatcher] Add matchers for CXXFoldExpr (PR #71245)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 24 10:18:49 PST 2023
================
@@ -319,6 +319,7 @@ RegistryMaps::RegistryMaps() {
REGISTER_MATCHER(hasExplicitSpecifier);
REGISTER_MATCHER(hasExternalFormalLinkage);
REGISTER_MATCHER(hasFalseExpression);
+ REGISTER_MATCHER(hasFoldInit);
----------------
PiotrZSL wrote:
I think that you should also register here other matchers like isBinaryFold to make them visible in clang-query.
https://github.com/llvm/llvm-project/pull/71245
More information about the cfe-commits
mailing list