Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaType.cpp2042 DeclaratorChunk &DeclType = D.getTypeObject(chunkIndex); in GetDeclSpecTypeForDeclarator() local
2043 if (DeclType.Kind == DeclaratorChunk::Function) { in GetDeclSpecTypeForDeclarator()
2044 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in GetDeclSpecTypeForDeclarator()
2156 DeclaratorChunk &DeclType) { in checkQualifiedFunction() argument
2161 switch (DeclType.Kind) { in checkQualifiedFunction()
2183 S.Diag(DeclType.Loc, diag::err_compound_qualified_function_type) in checkQualifiedFunction()
2191 DeclaratorChunk &DeclType, QualType RT) { in warnAboutAmbiguousFunction() argument
2192 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in warnAboutAmbiguousFunction()
2221 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction()
2223 S.Diag(DeclType.Loc, in warnAboutAmbiguousFunction()
[all …]
DSemaInit.cpp188 InitListExpr *IList, QualType &DeclType,
200 InitListExpr *IList, QualType DeclType,
205 InitListExpr *IList, QualType DeclType,
210 InitListExpr *IList, QualType DeclType,
215 InitListExpr *IList, QualType DeclType, unsigned &Index,
219 InitListExpr *IList, QualType DeclType,
226 InitListExpr *IList, QualType &DeclType,
250 int numArrayElements(QualType DeclType);
251 int numStructUnionElements(QualType DeclType);
494 int InitListChecker::numArrayElements(QualType DeclType) { in numArrayElements() argument
[all …]
DSemaOverload.cpp4023 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
4061 if (!ConvTemplate && DeclType->isRValueReferenceType()) { in FindConversionForRefInit()
4073 DeclType.getNonReferenceType().getUnqualifiedType(), in FindConversionForRefInit()
4092 Init, DeclType, CandidateSet); in FindConversionForRefInit()
4095 DeclType, CandidateSet); in FindConversionForRefInit()
4149 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, in TryReferenceInit() argument
4153 assert(DeclType->isReferenceType() && "Reference init needs a reference"); in TryReferenceInit()
4157 ICS.setBad(BadConversionSequence::no_conversion, Init, DeclType); in TryReferenceInit()
4159 QualType T1 = DeclType->getAs<ReferenceType>()->getPointeeType(); in TryReferenceInit()
4167 if (FunctionDecl *Fn = S.ResolveAddressOfOverloadedFunction(Init, DeclType, in TryReferenceInit()
[all …]
/external/clang/include/clang/AST/
DDeclTemplate.h543 typedef EntryType DeclType; typedef
545 static DeclType *getMostRecentDecl(EntryType *D) { in getMostRecentDecl()
552 typename _DeclType = typename _SETraits::DeclType>
557 typedef _DeclType DeclType; typedef
568 DeclType *operator*() const {
571 DeclType *operator->() const { return **this; }
594 template <class EntryType> typename SpecEntryTraits<EntryType>::DeclType*
730 typedef FunctionDecl DeclType;
732 static DeclType *
DDeclObjC.h1987 TypeSourceInfo *DeclType; variable
2004 LParenLoc(LParenLocation), DeclType(T), in ObjCPropertyDecl()
2027 TypeSourceInfo *getTypeSourceInfo() const { return DeclType; } in getTypeSourceInfo()
2028 QualType getType() const { return DeclType->getType(); } in getType()
2029 void setType(TypeSourceInfo *T) { DeclType = T; } in setType()
DDecl.h447 QualType DeclType; variable
452 : NamedDecl(DK, DC, L, N), DeclType(T) {} in ValueDecl()
454 QualType getType() const { return DeclType; } in getType()
455 void setType(QualType newType) { DeclType = newType; } in setType()
/external/clang/lib/AST/
DDeclTemplate.cpp163 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType*