| /trueos/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaType.cpp | 58 D.getTypeObject(0).Kind == DeclaratorChunk::Function) in isOmittedBlockReturnType() 311 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() 315 DeclaratorChunk *result = 0; in maybeMovePastReturnType() 319 DeclaratorChunk &fnChunk = declarator.getTypeObject(i-1); in maybeMovePastReturnType() 321 case DeclaratorChunk::Paren: in maybeMovePastReturnType() 325 case DeclaratorChunk::Pointer: in maybeMovePastReturnType() 326 case DeclaratorChunk::BlockPointer: in maybeMovePastReturnType() 327 case DeclaratorChunk::Array: in maybeMovePastReturnType() 328 case DeclaratorChunk::Reference: in maybeMovePastReturnType() 329 case DeclaratorChunk::MemberPointer: in maybeMovePastReturnType() [all …]
|
| HD | DeclSpec.cpp | 149 DeclaratorChunk DeclaratorChunk::getFunction(bool hasProto, in getFunction() 177 DeclaratorChunk I; in getFunction() 218 I.Fun.ArgInfo = new DeclaratorChunk::ParamInfo[NumArgs]; in getFunction() 231 I.Fun.Exceptions = new DeclaratorChunk::TypeAndRange[NumExceptions]; in getFunction() 249 case DeclaratorChunk::Function: in isDeclarationOfFunction() 251 case DeclaratorChunk::Paren: in isDeclarationOfFunction() 253 case DeclaratorChunk::Pointer: in isDeclarationOfFunction() 254 case DeclaratorChunk::Reference: in isDeclarationOfFunction() 255 case DeclaratorChunk::Array: in isDeclarationOfFunction() 256 case DeclaratorChunk::BlockPointer: in isDeclarationOfFunction() [all …]
|
| HD | SemaTemplateVariadic.cpp | 746 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() 748 case DeclaratorChunk::Pointer: in containsUnexpandedParameterPacks() 749 case DeclaratorChunk::Reference: in containsUnexpandedParameterPacks() 750 case DeclaratorChunk::Paren: in containsUnexpandedParameterPacks() 754 case DeclaratorChunk::Array: in containsUnexpandedParameterPacks() 755 case DeclaratorChunk::Function: in containsUnexpandedParameterPacks() 756 case DeclaratorChunk::BlockPointer: in containsUnexpandedParameterPacks() 762 case DeclaratorChunk::MemberPointer: in containsUnexpandedParameterPacks()
|
| HD | SemaExprCXX.cpp | 1022 D.getTypeObject(0).Kind == DeclaratorChunk::Array) { in ActOnCXXNew() 1023 DeclaratorChunk &Chunk = D.getTypeObject(0); in ActOnCXXNew() 1041 if (D.getTypeObject(I).Kind != DeclaratorChunk::Array) in ActOnCXXNew() 1044 DeclaratorChunk::ArrayTypeInfo &Array = D.getTypeObject(I).Arr; in ActOnCXXNew()
|
| HD | SemaLambda.cpp | 799 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
|
| HD | SemaDeclCXX.cpp | 374 DeclaratorChunk &chunk = D.getTypeObject(i); in CheckExtraCXXDefaultArguments() 375 if (chunk.Kind == DeclaratorChunk::Function) { in CheckExtraCXXDefaultArguments() 399 } else if (chunk.Kind != DeclaratorChunk::Paren) { in CheckExtraCXXDefaultArguments() 6084 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckConstructorDeclarator() 6192 FTIHasSingleVoidArgument(DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasSingleVoidArgument() 6252 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckDestructorDeclarator()
|
| HD | SemaDecl.cpp | 4057 DeclaratorChunk &Chunk = D.getTypeObject(I); in RebuildDeclaratorInCurrentInstantiation() 4062 if (Chunk.Kind != DeclaratorChunk::MemberPointer) in RebuildDeclaratorInCurrentInstantiation() 6910 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFunctionDeclarator() 9331 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFinishKNRParamDeclarations() 9956 D.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/false, in ImplicitlyDefineFunction()
|
| HD | SemaDeclObjC.cpp | 3092 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args in ActOnMethodDeclaration()
|
| HD | SemaTemplate.cpp | 6191 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnStartOfFunctionTemplateDef()
|
| /trueos/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | DeclSpec.h | 1053 struct DeclaratorChunk { struct 1359 case DeclaratorChunk::Function: return Fun.destroy(); in destroy() argument 1360 case DeclaratorChunk::Pointer: return Ptr.destroy(); in destroy() 1361 case DeclaratorChunk::BlockPointer: return Cls.destroy(); in destroy() 1362 case DeclaratorChunk::Reference: return Ref.destroy(); in destroy() 1363 case DeclaratorChunk::Array: return Arr.destroy(); in destroy() 1364 case DeclaratorChunk::MemberPointer: return Mem.destroy(); in destroy() 1365 case DeclaratorChunk::Paren: return; in destroy() 1380 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer() argument 1384 DeclaratorChunk I; in getPointer() [all …]
|
| HD | Sema.h | 6783 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args
|
| /trueos/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParseDecl.cpp | 4609 D.AddTypeInfo(DeclaratorChunk::getMemberPointer(SS,DS.getTypeQualifiers(), in ParseDeclaratorInternal() 4642 D.AddTypeInfo(DeclaratorChunk::getPointer(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() 4650 D.AddTypeInfo(DeclaratorChunk::getBlockPointer(DS.getTypeQualifiers(), in ParseDeclaratorInternal() 4690 DeclaratorChunk& InnerChunk = D.getTypeObject(D.getNumTypeObjects() - 1); in ParseDeclaratorInternal() 4691 if (InnerChunk.Kind == DeclaratorChunk::Reference) { in ParseDeclaratorInternal() 4706 D.AddTypeInfo(DeclaratorChunk::getReference(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() 5046 D.AddTypeInfo(DeclaratorChunk::getParen(T.getOpenLocation(), in ParseParenDeclarator() 5108 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() 5234 D.AddTypeInfo(DeclaratorChunk::getFunction(HasProto, in ParseFunctionDeclarator() 5295 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() [all …]
|
| HD | Parser.cpp | 959 const DeclaratorChunk &DeclType = D.getTypeObject(chunkIndex); in isFunctionDeclaratorRequiringReturnTypeDeduction() 960 if (DeclType.Kind == DeclaratorChunk::Function) { in isFunctionDeclaratorRequiringReturnTypeDeduction() 961 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in isFunctionDeclaratorRequiringReturnTypeDeduction() 991 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseFunctionDefinition() 1178 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseKNRParamDeclarations()
|
| HD | ParseExprCXX.cpp | 989 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() 1044 D.AddTypeInfo(DeclaratorChunk::getFunction(/*hasProto=*/true, in ParseLambdaExpressionAfterIntroducer() 1091 D.AddTypeInfo(DeclaratorChunk::getFunction(/*hasProto=*/true, in ParseLambdaExpressionAfterIntroducer() 2599 D.AddTypeInfo(DeclaratorChunk::getArray(0, in ParseDirectNewDeclarator()
|
| HD | ParseObjc.cpp | 1027 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl() 1150 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
|
| HD | ParseExpr.cpp | 2554 ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/true, in ParseBlockLiteralExpression()
|
| HD | ParseDeclCXX.cpp | 1793 DeclaratorChunk::FunctionTypeInfo &FTI in HandleMemberFunctionDeclDelays()
|
| /trueos/contrib/llvm/tools/clang/include/clang/Parse/ |
| HD | Parser.h | 2086 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo); 2090 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
|