[clang] [Clang][ASTMatcher] Add a matcher for the name of a DependentScopeDeclRefExpr (PR #121656)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 4 17:55:01 PST 2025


================
@@ -2235,6 +2235,21 @@ TEST_P(ASTMatchersTest, ArgumentCountIs_CXXConstructExpr) {
                  Constructor1Arg));
 }
 
+TEST_P(ASTMatchersTest, hasDependentName_DependentScopeDeclRefExpr) {
----------------
HighCommander4 wrote:

nit: looking at other tests in this file, the test names start with a capital letter (e.g. `HasSize_CXX`) even if the matcher they are testing starts with lowercase (e.g. `hasSize`)

https://github.com/llvm/llvm-project/pull/121656


More information about the cfe-commits mailing list