Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp254 InitListExpr *IList, QualType &DeclType,
266 InitListExpr *IList, QualType DeclType,
271 InitListExpr *IList, QualType DeclType,
276 InitListExpr *IList, QualType DeclType,
281 InitListExpr *IList, QualType DeclType, unsigned &Index,
285 InitListExpr *IList, QualType DeclType,
293 InitListExpr *IList, QualType &DeclType,
318 int numArrayElements(QualType DeclType);
319 int numStructUnionElements(QualType DeclType);
792 int InitListChecker::numArrayElements(QualType DeclType) { in numArrayElements() argument
[all …]
DSemaType.cpp2920 DeclaratorChunk &DeclType = D.getTypeObject(chunkIndex); in GetDeclSpecTypeForDeclarator() local
2921 if (DeclType.Kind == DeclaratorChunk::Function) { in GetDeclSpecTypeForDeclarator()
2922 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in GetDeclSpecTypeForDeclarator()
3024 DeclaratorChunk &DeclType, QualType RT) { in warnAboutAmbiguousFunction() argument
3025 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in warnAboutAmbiguousFunction()
3054 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction()
3056 S.Diag(DeclType.Loc, in warnAboutAmbiguousFunction()
3104 S.Diag(DeclType.Loc, diag::note_empty_parens_default_ctor) in warnAboutAmbiguousFunction()
3112 S.Diag(DeclType.Loc, diag::note_empty_parens_zero_initialize) in warnAboutAmbiguousFunction()
3812 DeclaratorChunk &DeclType = D.getTypeObject(chunkIndex); in GetFullTypeForDeclarator() local
[all …]
DSemaOverload.cpp4161 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
4196 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4208 DeclType.getNonReferenceType().getUnqualifiedType(), in FindConversionForRefInit()
4227 Init, DeclType, CandidateSet, in FindConversionForRefInit()
4231 DeclType, CandidateSet, in FindConversionForRefInit()
4286 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, in TryReferenceInit() argument
4290 assert(DeclType->isReferenceType() && "Reference init needs a reference"); in TryReferenceInit()
4294 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType); in TryReferenceInit()
4296 QualType T1 = DeclType->getAs<ReferenceType>()->getPointeeType(); in TryReferenceInit()
4304 if (FunctionDecl *Fn = S.ResolveAddressOfOverloadedFunction(Init, DeclType, in TryReferenceInit()
[all …]
DSemaExpr.cpp5041 QualType DeclType = FDecl->getType(); in rewriteBuiltinFunctionDecl() local
5042 const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(DeclType); in rewriteBuiltinFunctionDecl()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp3579 DeclaratorChunk &DeclType, QualType RT) { in warnAboutAmbiguousFunction() argument
3580 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in warnAboutAmbiguousFunction()
3608 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction()
3610 S.Diag(DeclType.Loc, in warnAboutAmbiguousFunction()
3659 S.Diag(DeclType.Loc, diag::note_empty_parens_default_ctor) in warnAboutAmbiguousFunction()
3667 S.Diag(DeclType.Loc, diag::note_empty_parens_zero_initialize) in warnAboutAmbiguousFunction()
4746 DeclaratorChunk &DeclType = D.getTypeObject(chunkIndex); in GetFullTypeForDeclarator() local
4747 IsQualifiedFunction &= DeclType.Kind == DeclaratorChunk::Paren; in GetFullTypeForDeclarator()
4748 switch (DeclType.Kind) { in GetFullTypeForDeclarator()
4757 S.Diag(DeclType.Loc, diag::err_blocks_disable) << LangOpts.OpenCL; in GetFullTypeForDeclarator()
[all …]
DSemaInit.cpp308 InitListExpr *IList, QualType &DeclType,
320 InitListExpr *IList, QualType DeclType,
325 InitListExpr *IList, QualType DeclType,
330 InitListExpr *IList, QualType DeclType,
335 InitListExpr *IList, QualType DeclType, unsigned &Index,
339 InitListExpr *IList, QualType DeclType,
347 InitListExpr *IList, QualType &DeclType,
375 int numArrayElements(QualType DeclType);
376 int numStructUnionElements(QualType DeclType);
973 int InitListChecker::numArrayElements(QualType DeclType) { in numArrayElements() argument
[all …]
DSemaOverload.cpp4609 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
4635 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4648 DeclType.getNonReferenceType().getUnqualifiedType()) == in FindConversionForRefInit()
4666 ConvTemplate, I.getPair(), ActingDC, Init, DeclType, CandidateSet, in FindConversionForRefInit()
4670 Conv, I.getPair(), ActingDC, Init, DeclType, CandidateSet, in FindConversionForRefInit()
4725 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, in TryReferenceInit() argument
4729 assert(DeclType->isReferenceType() && "Reference init needs a reference"); in TryReferenceInit()
4733 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType); in TryReferenceInit()
4735 QualType T1 = DeclType->castAs<ReferenceType>()->getPointeeType(); in TryReferenceInit()
4743 if (FunctionDecl *Fn = S.ResolveAddressOfOverloadedFunction(Init, DeclType, in TryReferenceInit()
[all …]
DSemaDeclCXX.cpp7289 QualType DeclType = Context.getTypeDeclType(RD); in CheckExplicitlyDefaultedSpecialMember() local
7290 DeclType = Context.getAddrSpaceQualType(DeclType, MD->getMethodQualifiers().getAddressSpace()); in CheckExplicitlyDefaultedSpecialMember()
7291 QualType ExpectedReturnType = Context.getLValueReferenceType(DeclType); in CheckExplicitlyDefaultedSpecialMember()
DSemaExpr.cpp6129 QualType DeclType = FDecl->getType(); in rewriteBuiltinFunctionDecl() local
6130 const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(DeclType); in rewriteBuiltinFunctionDecl()
/external/clang/include/clang/AST/
DDeclTemplate.h645 typedef EntryType DeclType; typedef
647 static DeclType *getDecl(EntryType *D) { in getDecl()
656 typename DeclType = typename SETraits::DeclType>
659 SpecIterator<EntryType, SETraits, DeclType>,
663 DeclType *, ptrdiff_t, DeclType *, DeclType *> {
669 DeclType *operator*() const {
672 DeclType *operator->() const { return **this; }
681 template <class EntryType> typename SpecEntryTraits<EntryType>::DeclType*
826 typedef FunctionDecl DeclType;
828 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) {
DDeclObjC.h734 QualType DeclType; variable
753 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
781 QualType getType() const { return DeclType; } in getType()
784 DeclType = T; in setType()
DDecl.h592 QualType DeclType; variable
597 : NamedDecl(DK, DC, L, N), DeclType(T) {} in ValueDecl()
599 QualType getType() const { return DeclType; } in getType()
600 void setType(QualType newType) { DeclType = newType; } in setType()
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h767 using DeclType = EntryType; member
769 static DeclType *getDecl(EntryType *D) { in getDecl()
779 typename DeclType = typename SETraits::DeclType>
782 SpecIterator<EntryType, SETraits, DeclType>,
786 DeclType *, ptrdiff_t, DeclType *, DeclType *> {
792 DeclType *operator*() const {
796 DeclType *operator->() const { return **this; }
808 typename SpecEntryTraits<EntryType>::DeclType*
960 using DeclType = FunctionDecl;
962 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) {
DDeclObjC.h763 QualType DeclType; variable
796 LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI), in ObjCPropertyDecl()
821 QualType getType() const { return DeclType; } in getType()
824 DeclType = T; in setType()
DDecl.h635 QualType DeclType; variable
642 : NamedDecl(DK, DC, L, N), DeclType(T) {} in ValueDecl()
645 QualType getType() const { return DeclType; } in getType()
646 void setType(QualType newType) { DeclType = newType; } in setType()
/external/llvm-project/clang-tools-extra/clangd/
DQuality.cpp71 #define MAP(DeclType, Category) \ in categorize() argument
72 SymbolQualitySignals::SymbolCategory Visit##DeclType(const DeclType *) { \ in categorize()
/external/clang/lib/AST/
DDeclTemplate.cpp162 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
DDeclObjC.cpp2180 return DeclType.substObjCMemberType(objectType, getDeclContext(), in getUsageType()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp474 const std::string &Prefix, const char *DeclType, in installDeclarationName() argument
477 Translator.checkIfUnnamedNameSafe(Decl->getName().toString(), DeclType, in installDeclarationName()
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp271 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
DDeclObjC.cpp2296 return DeclType.substObjCMemberType(objectType, getDeclContext(), in getUsageType()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp179 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp193 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *