Home
last modified time | relevance | path

Searched refs:DeclType (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp3745 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction()
3747 S.Diag(DeclType.Loc, in warnAboutAmbiguousFunction()
4914 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
4923 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Cls.TypeQuals); in GetFullTypeForDeclarator()
4937 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
4943 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Ptr.TypeQuals); in GetFullTypeForDeclarator()
4960 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Ptr.TypeQuals); in GetFullTypeForDeclarator()
4970 T = S.BuildReferenceType(T, DeclType.Ref.LValueRef, DeclType.Loc, Name); in GetFullTypeForDeclarator()
5051 SourceRange(DeclType.Loc, DeclType.EndLoc), Name); in GetFullTypeForDeclarator()
5511 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
[all …]
H A DSemaInit.cpp377 int numArrayElements(QualType DeclType);
1286 } else if (DeclType->isScalarType()) { in CheckListElementTypes()
1289 } else if (DeclType->isVectorType()) { in CheckListElementTypes()
1292 } else if (DeclType->isRecordType()) { in CheckListElementTypes()
1293 assert(DeclType->isAggregateType() && in CheckListElementTypes()
1304 } else if (DeclType->isArrayType()) { in CheckListElementTypes()
1311 } else if (DeclType->isVoidType() || DeclType->isFunctionType()) { in CheckListElementTypes()
1316 << DeclType; in CheckListElementTypes()
1333 << DeclType; in CheckListElementTypes()
1589 << DeclType->isSizelessBuiltinType() << DeclType in CheckScalarType()
[all …]
H A DSemaOverload.cpp4620 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
4646 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4659 DeclType.getNonReferenceType().getUnqualifiedType()) == in FindConversionForRefInit()
4681 Conv, I.getPair(), ActingDC, Init, DeclType, CandidateSet, in FindConversionForRefInit()
4736 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, in TryReferenceInit() argument
4744 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType); in TryReferenceInit()
4746 QualType T1 = DeclType->castAs<ReferenceType>()->getPointeeType(); in TryReferenceInit()
4760 bool isRValRef = DeclType->isRValueReferenceType(); in TryReferenceInit()
4837 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
4884 FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
[all …]
H A DSemaDeclCXX.cpp7472 QualType DeclType = Context.getTypeDeclType(RD); in CheckExplicitlyDefaultedSpecialMember() local
7473 DeclType = Context.getAddrSpaceQualType(DeclType, MD->getMethodQualifiers().getAddressSpace()); in CheckExplicitlyDefaultedSpecialMember()
7474 QualType ExpectedReturnType = Context.getLValueReferenceType(DeclType); in CheckExplicitlyDefaultedSpecialMember()
H A DSemaExpr.cpp6398 QualType DeclType = FDecl->getType(); in rewriteBuiltinFunctionDecl() local
6399 const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(DeclType); in rewriteBuiltinFunctionDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclTemplate.h782 using DeclType = EntryType; member
784 static DeclType *getDecl(EntryType *D) { in getDecl()
794 typename DeclType = typename SETraits::DeclType>
797 SpecIterator<EntryType, SETraits, DeclType>,
801 DeclType *, ptrdiff_t, DeclType *, DeclType *> {
807 DeclType *operator*() const {
811 DeclType *operator->() const { return **this; }
823 typename SpecEntryTraits<EntryType>::DeclType*
975 using DeclType = FunctionDecl;
977 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) {
H A DDeclObjC.h746 QualType DeclType; variable
779 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
800 QualType getType() const { return DeclType; } in getType()
803 DeclType = T; in setType()
H A DDecl.h675 QualType DeclType; variable
682 : NamedDecl(DK, DC, L, N), DeclType(T) {} in ValueDecl()
685 QualType getType() const { return DeclType; } in getType()
686 void setType(QualType newType) { DeclType = newType; } in setType()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.cpp61 #define MAP(DeclType, Category) \ in categorize() argument
62 SymbolQualitySignals::SymbolCategory Visit##DeclType(const DeclType *) { \ in categorize()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclTemplate.cpp305 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
H A DDeclObjC.cpp2316 return DeclType.substObjCMemberType(objectType, getDeclContext(), in getUsageType()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp195 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *