/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1063 struct DeclaratorChunk { struct 1394 case DeclaratorChunk::Function: return Fun.destroy(); in destroy() argument 1395 case DeclaratorChunk::Pointer: return Ptr.destroy(); in destroy() 1396 case DeclaratorChunk::BlockPointer: return Cls.destroy(); in destroy() 1397 case DeclaratorChunk::Reference: return Ref.destroy(); in destroy() 1398 case DeclaratorChunk::Array: return Arr.destroy(); in destroy() 1399 case DeclaratorChunk::MemberPointer: return Mem.destroy(); in destroy() 1400 case DeclaratorChunk::Paren: return; in destroy() 1415 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer() argument 1420 DeclaratorChunk I; in getPointer() [all …]
|
D | SemaInternal.h | 30 FTIHasSingleVoidParameter(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasSingleVoidParameter() 37 FTIHasNonVoidParameters(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasNonVoidParameters()
|
D | Sema.h | 7040 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 56 D.getTypeObject(0).Kind == DeclaratorChunk::Function) in isOmittedBlockReturnType() 310 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() 314 DeclaratorChunk *result = nullptr; in maybeMovePastReturnType() 318 DeclaratorChunk &fnChunk = declarator.getTypeObject(i-1); in maybeMovePastReturnType() 320 case DeclaratorChunk::Paren: in maybeMovePastReturnType() 324 case DeclaratorChunk::Pointer: in maybeMovePastReturnType() 325 case DeclaratorChunk::BlockPointer: in maybeMovePastReturnType() 326 case DeclaratorChunk::Array: in maybeMovePastReturnType() 327 case DeclaratorChunk::Reference: in maybeMovePastReturnType() 328 case DeclaratorChunk::MemberPointer: in maybeMovePastReturnType() [all …]
|
D | DeclSpec.cpp | 162 DeclaratorChunk DeclaratorChunk::getFunction(bool hasProto, in getFunction() 193 DeclaratorChunk I; in getFunction() 238 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction() 251 I.Fun.Exceptions = new DeclaratorChunk::TypeAndRange[NumExceptions]; in getFunction() 273 case DeclaratorChunk::Function: in isDeclarationOfFunction() 275 case DeclaratorChunk::Paren: in isDeclarationOfFunction() 277 case DeclaratorChunk::Pointer: in isDeclarationOfFunction() 278 case DeclaratorChunk::Reference: in isDeclarationOfFunction() 279 case DeclaratorChunk::Array: in isDeclarationOfFunction() 280 case DeclaratorChunk::BlockPointer: in isDeclarationOfFunction() [all …]
|
D | SemaTemplateVariadic.cpp | 747 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() 749 case DeclaratorChunk::Pointer: in containsUnexpandedParameterPacks() 750 case DeclaratorChunk::Reference: in containsUnexpandedParameterPacks() 751 case DeclaratorChunk::Paren: in containsUnexpandedParameterPacks() 752 case DeclaratorChunk::BlockPointer: in containsUnexpandedParameterPacks() 756 case DeclaratorChunk::Array: in containsUnexpandedParameterPacks() 761 case DeclaratorChunk::Function: in containsUnexpandedParameterPacks() 787 case DeclaratorChunk::MemberPointer: in containsUnexpandedParameterPacks()
|
D | SemaDeclCXX.cpp | 386 DeclaratorChunk &chunk = D.getTypeObject(i); in CheckExtraCXXDefaultArguments() 387 if (chunk.Kind == DeclaratorChunk::Function) { in CheckExtraCXXDefaultArguments() 416 } else if (chunk.Kind != DeclaratorChunk::Paren) { in CheckExtraCXXDefaultArguments() 6643 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckConstructorDeclarator() 6814 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckDestructorDeclarator() 6947 case DeclaratorChunk::Function: in CheckConversionDeclarator() 6958 case DeclaratorChunk::Array: in CheckConversionDeclarator() 6963 case DeclaratorChunk::Pointer: in CheckConversionDeclarator() 6964 case DeclaratorChunk::BlockPointer: in CheckConversionDeclarator() 6965 case DeclaratorChunk::Reference: in CheckConversionDeclarator() [all …]
|
D | SemaExprCXX.cpp | 1167 D.getTypeObject(0).Kind == DeclaratorChunk::Array) { in ActOnCXXNew() 1168 DeclaratorChunk &Chunk = D.getTypeObject(0); in ActOnCXXNew() 1186 if (D.getTypeObject(I).Kind != DeclaratorChunk::Array) in ActOnCXXNew() 1189 DeclaratorChunk::ArrayTypeInfo &Array = D.getTypeObject(I).Arr; in ActOnCXXNew()
|
D | SemaLambda.cpp | 892 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
|
D | SemaDecl.cpp | 4466 DeclaratorChunk &Chunk = D.getTypeObject(I); in RebuildDeclaratorInCurrentInstantiation() 4471 if (Chunk.Kind != DeclaratorChunk::MemberPointer) in RebuildDeclaratorInCurrentInstantiation() 7409 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFunctionDeclarator() 9499 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/false), in ActOnCXXForRangeIdentifier() 10156 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFinishKNRParamDeclarations() 10510 if (Outer.Kind == DeclaratorChunk::Function && in canDelayFunctionBody() 10860 D.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/false, in ImplicitlyDefineFunction()
|
D | SemaDeclObjC.cpp | 3109 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args in ActOnMethodDeclaration()
|
D | SemaTemplate.cpp | 6453 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnStartOfFunctionTemplateDef()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 369 DeclaratorChunk::FunctionTypeInfo FTI = D->getFunctionTypeInfo(); in ParseGNUAttributeArgs() 4744 D.AddTypeInfo(DeclaratorChunk::getMemberPointer(SS,DS.getTypeQualifiers(), in ParseDeclaratorInternal() 4782 D.AddTypeInfo(DeclaratorChunk::getPointer(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() 4791 D.AddTypeInfo(DeclaratorChunk::getBlockPointer(DS.getTypeQualifiers(), in ParseDeclaratorInternal() 4831 DeclaratorChunk& InnerChunk = D.getTypeObject(D.getNumTypeObjects() - 1); in ParseDeclaratorInternal() 4832 if (InnerChunk.Kind == DeclaratorChunk::Reference) { in ParseDeclaratorInternal() 4847 D.AddTypeInfo(DeclaratorChunk::getReference(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() 5216 D.AddTypeInfo(DeclaratorChunk::getParen(T.getOpenLocation(), in ParseParenDeclarator() 5278 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() 5420 D.AddTypeInfo(DeclaratorChunk::getFunction(HasProto, in ParseFunctionDeclarator() [all …]
|
D | ParseExprCXX.cpp | 1078 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() 1141 D.AddTypeInfo(DeclaratorChunk::getFunction(/*hasProto=*/true, in ParseLambdaExpressionAfterIntroducer() 1207 D.AddTypeInfo(DeclaratorChunk::getFunction(/*hasProto=*/true, in ParseLambdaExpressionAfterIntroducer() 2761 D.AddTypeInfo(DeclaratorChunk::getArray(0, in ParseDirectNewDeclarator()
|
D | Parser.cpp | 932 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseFunctionDefinition() 1111 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseKNRParamDeclarations()
|
D | ParseObjc.cpp | 999 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl() 1120 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
|
D | ParseExpr.cpp | 2679 ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/true, in ParseBlockLiteralExpression()
|
D | ParseDeclCXX.cpp | 1904 DeclaratorChunk::FunctionTypeInfo &FTI in HandleMemberFunctionDeclDelays()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2222 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo); 2226 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
|