| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 482 } else if (auto *DT = dyn_cast<DecltypeType>(D->getReturnType())) { in VisitFunctionDecl() 504 const DecltypeType *DT = dyn_cast<DecltypeType>(TL.getTypePtr()); in VisitDecltypeTypeLoc() 507 DT = dyn_cast<DecltypeType>(DeducedType.getTypePtr()); in VisitDecltypeTypeLoc()
|
| H A D | FindTarget.cpp | 376 void VisitDecltypeType(const DecltypeType *DTT) { in add()
|
| H A D | Hover.cpp | 157 QT = QT->castAs<DecltypeType>()->getUnderlyingType(); in printType()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 536 struct CanProxyAdaptor<DecltypeType> : public CanProxyBase<DecltypeType> {
|
| H A D | ASTNodeTraverser.h | 379 void VisitDecltypeType(const DecltypeType *T) { in VisitDecltypeType()
|
| H A D | TypeProperties.td | 415 let Class = DecltypeType in {
|
| H A D | Type.h | 4581 class DecltypeType : public Type { 4588 DecltypeType(Expr *E, QualType underlyingType, QualType can = QualType()); 4609 class DependentDecltypeType : public DecltypeType, public llvm::FoldingSetNode { 6991 return isa<DecltypeType>(this);
|
| H A D | RecursiveASTVisitor.h | 1088 DEF_TRAVERSE_TYPE(DecltypeType, 1365 DEF_TRAVERSE_TYPELOC(DecltypeType, {
|
| H A D | TypeLoc.h | 2030 : public ConcreteTypeLoc<UnqualTypeLoc, DecltypeTypeLoc, DecltypeType,
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 87 def DecltypeType : TypeNode<Type>, NeverCanonicalUnlessDependent;
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 3495 DecltypeType::DecltypeType(Expr *E, QualType underlyingType, QualType can) in DecltypeType() function in DecltypeType 3507 bool DecltypeType::isSugared() const { return !E->isInstantiationDependent(); } in isSugared() 3509 QualType DecltypeType::desugar() const { in desugar() 3517 : DecltypeType(E, Context.DependentTy), Context(Context) {} in DependentDecltypeType()
|
| H A D | ASTStructuralEquivalence.cpp | 991 cast<DecltypeType>(T1)->getUnderlyingExpr(), in IsStructurallyEquivalent() 992 cast<DecltypeType>(T2)->getUnderlyingExpr())) in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 844 void VisitDecltypeType(const DecltypeType *T) { in VisitDecltypeType()
|
| H A D | TypePrinter.cpp | 1129 void TypePrinter::printDecltypeBefore(const DecltypeType *T, raw_ostream &OS) { in printDecltypeBefore() 1137 void TypePrinter::printDecltypeAfter(const DecltypeType *T, raw_ostream &OS) {} in printDecltypeAfter()
|
| H A D | Expr.cpp | 822 else if (FT && FT->getReturnType()->getAs<DecltypeType>()) in ComputeName() 824 ->getAs<DecltypeType>() in ComputeName()
|
| H A D | ASTContext.cpp | 5637 DecltypeType *dt; in getDecltypeType() 5656 DecltypeType(e, UnderlyingType, QualType((DecltypeType *)Canon, 0)); in getDecltypeType() 5659 DecltypeType(e, UnderlyingType, getCanonicalType(UnderlyingType)); in getDecltypeType()
|
| H A D | MicrosoftMangle.cpp | 3281 void MicrosoftCXXNameMangler::mangleType(const DecltypeType *T, Qualifiers, in mangleType()
|
| H A D | ItaniumMangle.cpp | 3955 void CXXNameMangler::mangleType(const DecltypeType *T) { in mangleType()
|
| H A D | ASTImporter.cpp | 398 ExpectedType VisitDecltypeType(const DecltypeType *T); 1396 ExpectedType ASTNodeImporter::VisitDecltypeType(const DecltypeType *T) { in VisitDecltypeType()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1045 const AstTypeMatcher<DecltypeType> decltypeType;
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 6946 extern const AstTypeMatcher<DecltypeType> decltypeType; 6977 AST_POLYMORPHIC_SUPPORTED_TYPES(DecltypeType,
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | BuildTree.cpp | 966 if (isa<DecltypeType>(NNSType)) in getNameSpecifierKind()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 1613 TEST_P(ASTMatchersTest, DecltypeType) { in TEST_P() argument
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 953 const DecltypeType *DT = DI->getType()->getAs<DecltypeType>(); in InstantiateTypedefNameDecl()
|
| H A D | SemaTemplateDeduction.cpp | 5932 cast<DecltypeType>(T)->getUnderlyingExpr(), in MarkUsedTemplateParameters()
|