File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
libcxx/test/tools/clang_tidy_checks Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2020// This is part of libc++'s policy
2121// https://libcxx.llvm.org/CodingGuidelines.html#don-t-use-argument-dependent-lookup-unless-required-by-the-standard
2222
23+ // TODO(LLVM-21) Remove dependentScopeDeclRefExpr
24+ // dependentScopeDeclRefExpr requires Clang 20, this uses the same definition as Clang
25+ #if defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER < 2000
26+ const clang::ast_matchers::internal::VariadicDynCastAllOfMatcher<clang::Stmt, clang::DependentScopeDeclRefExpr>
27+ clang::ast_matchers::dependentScopeDeclRefExpr;
28+ #endif
29+
2330namespace libcpp {
2431robust_against_operator_ampersand::robust_against_operator_ampersand (
2532 llvm::StringRef name, clang::tidy::ClangTidyContext* context)
You can’t perform that action at this time.
0 commit comments