[clang] [Clang][ASTMatcher] Add `dependentNameType` Matcher (PR #121263)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 28 22:13:12 PST 2024


================
@@ -1912,6 +1912,21 @@ TEST_P(ASTMatchersTest, DeducedTemplateSpecializationType) {
               deducedTemplateSpecializationType()));
 }
 
+TEST_P(ASTMatchersTest, DependentNameType) {
+  if (!GetParam().isCXX()) {
+    // FIXME: Add a test for `dependentNameType()` that does not depend on C++.
----------------
HighCommander4 wrote:

Similar to `DependentScopeDeclRefExpr`, `DependentNameType` only exists in C++, so this FIXME comment can be removed.

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


More information about the cfe-commits mailing list