Home
last modified time | relevance | path

Searched refs:DNT (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp35 EXPECT_TRUE(DNT<Decl>().isBaseOf(DNT<VarDecl>())); in TEST()
36 EXPECT_FALSE(DNT<Decl>().isSame(DNT<VarDecl>())); in TEST()
37 EXPECT_FALSE(DNT<VarDecl>().isBaseOf(DNT<Decl>())); in TEST()
39 EXPECT_TRUE(DNT<Decl>().isSame(DNT<Decl>())); in TEST()
68 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<CallExpr>())); in TEST()
77 EXPECT_FALSE(DNT<Type>().isSame(DNT<QualType>())); in TEST()
97 DNT<Expr>(), DNT<BinaryOperator>()))); in TEST()
99 DNT<BinaryOperator>(), DNT<Expr>()))); in TEST()
101 DNT<VarDecl>(), DNT<VarDecl>()))); in TEST()
106 DNT<CXXMethodDecl>(), DNT<RecordDecl>()))); in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeuristicResolver.cpp171 const DependentNameType *DNT) const { in resolveDependentNameType()
173 resolveNestedNameSpecifierToType(DNT->getQualifier()), in resolveDependentNameType()
174 DNT->getIdentifier(), TypeFilter); in resolveDependentNameType()
H A DHeuristicResolver.h62 resolveDependentNameType(const DependentNameType *DNT) const;
H A DFindTarget.cpp401 void VisitDependentNameType(const DependentNameType *DNT) { in add()
404 Outer.Resolver->resolveDependentNameType(DNT)) { in add()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp210 const DependentNameType *DNT = TL.getTypePtr(); in VisitDependentNameTypeLoc() local
211 const NestedNameSpecifier *NNS = DNT->getQualifier(); in VisitDependentNameTypeLoc()
228 DeclarationName Name(DNT->getIdentifier()); in VisitDependentNameTypeLoc()
H A DUSRGeneration.cpp863 if (const DependentNameType *DNT = T->getAs<DependentNameType>()) { in VisitType() local
865 printQualifier(Out, Ctx, DNT->getQualifier()); in VisitType()
866 Out << ':' << DNT->getIdentifier()->getName(); in VisitType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCodeComplete.cpp5330 bool VisitDependentNameType(DependentNameType *DNT) { in VisitDependentNameType() argument
5331 const auto *Q = DNT->getQualifier(); in VisitDependentNameType()
5333 addType(DNT->getIdentifier()); in VisitDependentNameType()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp6741 if (const auto *DNT = T->getAs<DependentNameType>()) in getCanonicalNestedNameSpecifier() local
6743 *this, DNT->getQualifier(), in getCanonicalNestedNameSpecifier()
6744 const_cast<IdentifierInfo *>(DNT->getIdentifier())); in getCanonicalNestedNameSpecifier()