Home
last modified time | relevance | path

Searched refs:DecltypeType (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp482 } 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 DFindTarget.cpp376 void VisitDecltypeType(const DecltypeType *DTT) { in add()
H A DHover.cpp157 QT = QT->castAs<DecltypeType>()->getUnderlyingType(); in printType()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCanonicalType.h536 struct CanProxyAdaptor<DecltypeType> : public CanProxyBase<DecltypeType> {
H A DASTNodeTraverser.h379 void VisitDecltypeType(const DecltypeType *T) { in VisitDecltypeType()
H A DTypeProperties.td415 let Class = DecltypeType in {
H A DType.h4581 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 DRecursiveASTVisitor.h1088 DEF_TRAVERSE_TYPE(DecltypeType,
1365 DEF_TRAVERSE_TYPELOC(DecltypeType, {
H A DTypeLoc.h2030 : public ConcreteTypeLoc<UnqualTypeLoc, DecltypeTypeLoc, DecltypeType,
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTypeNodes.td87 def DecltypeType : TypeNode<Type>, NeverCanonicalUnlessDependent;
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp3495 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 DASTStructuralEquivalence.cpp991 cast<DecltypeType>(T1)->getUnderlyingExpr(), in IsStructurallyEquivalent()
992 cast<DecltypeType>(T2)->getUnderlyingExpr())) in IsStructurallyEquivalent()
H A DODRHash.cpp844 void VisitDecltypeType(const DecltypeType *T) { in VisitDecltypeType()
H A DTypePrinter.cpp1129 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 DExpr.cpp822 else if (FT && FT->getReturnType()->getAs<DecltypeType>()) in ComputeName()
824 ->getAs<DecltypeType>() in ComputeName()
H A DASTContext.cpp5637 DecltypeType *dt; in getDecltypeType()
5656 DecltypeType(e, UnderlyingType, QualType((DecltypeType *)Canon, 0)); in getDecltypeType()
5659 DecltypeType(e, UnderlyingType, getCanonicalType(UnderlyingType)); in getDecltypeType()
H A DMicrosoftMangle.cpp3281 void MicrosoftCXXNameMangler::mangleType(const DecltypeType *T, Qualifiers, in mangleType()
H A DItaniumMangle.cpp3955 void CXXNameMangler::mangleType(const DecltypeType *T) { in mangleType()
H A DASTImporter.cpp398 ExpectedType VisitDecltypeType(const DecltypeType *T);
1396 ExpectedType ASTNodeImporter::VisitDecltypeType(const DecltypeType *T) { in VisitDecltypeType()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1045 const AstTypeMatcher<DecltypeType> decltypeType;
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6946 extern const AstTypeMatcher<DecltypeType> decltypeType;
6977 AST_POLYMORPHIC_SUPPORTED_TYPES(DecltypeType,
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp966 if (isa<DecltypeType>(NNSType)) in getNameSpecifierKind()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp1613 TEST_P(ASTMatchersTest, DecltypeType) { in TEST_P() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp953 const DecltypeType *DT = DI->getType()->getAs<DecltypeType>(); in InstantiateTypedefNameDecl()
H A DSemaTemplateDeduction.cpp5932 cast<DecltypeType>(T)->getUnderlyingExpr(), in MarkUsedTemplateParameters()

12