Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp388 int numArrayElements(QualType DeclType);
1300 } else if (DeclType->isScalarType()) { in CheckListElementTypes()
1303 } else if (DeclType->isVectorType()) { in CheckListElementTypes()
1306 } else if (DeclType->isRecordType()) { in CheckListElementTypes()
1307 assert(DeclType->isAggregateType() && in CheckListElementTypes()
1318 } else if (DeclType->isArrayType()) { in CheckListElementTypes()
1325 } else if (DeclType->isVoidType() || DeclType->isFunctionType()) { in CheckListElementTypes()
1330 << DeclType; in CheckListElementTypes()
1347 << DeclType; in CheckListElementTypes()
1603 << DeclType->isSizelessBuiltinType() << DeclType in CheckScalarType()
[all …]
H A DSemaType.cpp3812 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction()
3814 S.Diag(DeclType.Loc, in warnAboutAmbiguousFunction()
4985 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
4994 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Cls.TypeQuals); in GetFullTypeForDeclarator()
5008 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
5014 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Ptr.TypeQuals); in GetFullTypeForDeclarator()
5031 T = S.BuildQualifiedType(T, DeclType.Loc, DeclType.Ptr.TypeQuals); in GetFullTypeForDeclarator()
5041 T = S.BuildReferenceType(T, DeclType.Ref.LValueRef, DeclType.Loc, Name); in GetFullTypeForDeclarator()
5122 SourceRange(DeclType.Loc, DeclType.EndLoc), Name); in GetFullTypeForDeclarator()
5589 DeclType.EndLoc, DeclType.getAttrs(), in GetFullTypeForDeclarator()
[all …]
H A DSemaOverload.cpp4717 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
4743 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4756 DeclType.getNonReferenceType().getUnqualifiedType()) == in FindConversionForRefInit()
4778 Conv, I.getPair(), ActingDC, Init, DeclType, CandidateSet, in FindConversionForRefInit()
4833 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, in TryReferenceInit() argument
4841 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType); in TryReferenceInit()
4843 QualType T1 = DeclType->castAs<ReferenceType>()->getPointeeType(); in TryReferenceInit()
4857 bool isRValRef = DeclType->isRValueReferenceType(); in TryReferenceInit()
4934 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
4981 FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
[all …]
H A DSemaDeclCXX.cpp7528 QualType DeclType = Context.getTypeDeclType(RD); in CheckExplicitlyDefaultedSpecialMember() local
7529 DeclType = Context.getElaboratedType(ETK_None, nullptr, DeclType, nullptr); in CheckExplicitlyDefaultedSpecialMember()
7530 DeclType = Context.getAddrSpaceQualType(DeclType, MD->getMethodQualifiers().getAddressSpace()); in CheckExplicitlyDefaultedSpecialMember()
7531 QualType ExpectedReturnType = Context.getLValueReferenceType(DeclType); in CheckExplicitlyDefaultedSpecialMember()
H A DSemaExpr.cpp6638 QualType DeclType = FDecl->getType(); in rewriteBuiltinFunctionDecl() local
6639 const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(DeclType); in rewriteBuiltinFunctionDecl()
/openbsd/gnu/llvm/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*
992 using DeclType = FunctionDecl;
994 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) {
H A DDeclObjC.h743 QualType DeclType; variable
776 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
797 QualType getType() const { return DeclType; } in getType()
800 DeclType = T; in setType()
H A DDecl.h704 QualType DeclType; variable
711 : NamedDecl(DK, DC, L, N), DeclType(T) {} in ValueDecl()
714 QualType getType() const { return DeclType; } in getType()
715 void setType(QualType newType) { DeclType = newType; } in setType()
/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclTemplate.cpp315 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
H A DDeclObjC.cpp2388 return DeclType.substObjCMemberType(objectType, getDeclContext(), in getUsageType()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp198 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *