[clang] [Clang][ASTMatcher] Add `dependentTemplateSpecializationType` AST mat… (PR #121435)
kefan cao via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 2 03:54:55 PST 2025
================
@@ -1926,6 +1926,21 @@ TEST_P(ASTMatchersTest, DependentNameType) {
dependentNameType()));
}
+TEST_P(ASTMatchersTest, DependentTemplateSpecializationType) {
+ if (!GetParam().isCXX()) {
+ return;
+ }
+
+ EXPECT_TRUE(matches(
+ R"(
+ template<typename T> struct A;
----------------
caokefan wrote:
Got it! Thank you for your patience and assistance!
https://github.com/llvm/llvm-project/pull/121435
More information about the cfe-commits
mailing list