/external/clang/lib/Sema/ |
D | SemaType.cpp | 57 D.getTypeObject(0).Kind == DeclaratorChunk::Function) in isOmittedBlockReturnType() 325 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() 330 DeclaratorChunk *result = nullptr; in maybeMovePastReturnType() 334 DeclaratorChunk &fnChunk = declarator.getTypeObject(i-1); in maybeMovePastReturnType() 336 case DeclaratorChunk::Paren: in maybeMovePastReturnType() 340 case DeclaratorChunk::Pointer: in maybeMovePastReturnType() 341 case DeclaratorChunk::BlockPointer: in maybeMovePastReturnType() 342 case DeclaratorChunk::Array: in maybeMovePastReturnType() 343 case DeclaratorChunk::Reference: in maybeMovePastReturnType() 344 case DeclaratorChunk::MemberPointer: in maybeMovePastReturnType() [all …]
|
D | DeclSpec.cpp | 152 DeclaratorChunk DeclaratorChunk::getFunction(bool hasProto, in getFunction() 183 DeclaratorChunk I; in getFunction() 229 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction() 242 I.Fun.Exceptions = new DeclaratorChunk::TypeAndRange[NumExceptions]; in getFunction() 264 case DeclaratorChunk::Function: in isDeclarationOfFunction() 266 case DeclaratorChunk::Paren: in isDeclarationOfFunction() 268 case DeclaratorChunk::Pointer: in isDeclarationOfFunction() 269 case DeclaratorChunk::Reference: in isDeclarationOfFunction() 270 case DeclaratorChunk::Array: in isDeclarationOfFunction() 271 case DeclaratorChunk::BlockPointer: in isDeclarationOfFunction() [all …]
|
D | SemaTemplateVariadic.cpp | 751 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() 753 case DeclaratorChunk::Pointer: in containsUnexpandedParameterPacks() 754 case DeclaratorChunk::Reference: in containsUnexpandedParameterPacks() 755 case DeclaratorChunk::Paren: in containsUnexpandedParameterPacks() 756 case DeclaratorChunk::Pipe: in containsUnexpandedParameterPacks() 757 case DeclaratorChunk::BlockPointer: in containsUnexpandedParameterPacks() 761 case DeclaratorChunk::Array: in containsUnexpandedParameterPacks() 766 case DeclaratorChunk::Function: in containsUnexpandedParameterPacks() 792 case DeclaratorChunk::MemberPointer: in containsUnexpandedParameterPacks()
|
D | SemaDeclCXX.cpp | 384 DeclaratorChunk &chunk = D.getTypeObject(i); in CheckExtraCXXDefaultArguments() 385 if (chunk.Kind == DeclaratorChunk::Function) { in CheckExtraCXXDefaultArguments() 414 } else if (chunk.Kind != DeclaratorChunk::Paren) { in CheckExtraCXXDefaultArguments() 6840 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckConstructorDeclarator() 7011 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckDestructorDeclarator() 7144 case DeclaratorChunk::Function: in CheckConversionDeclarator() 7155 case DeclaratorChunk::Array: in CheckConversionDeclarator() 7160 case DeclaratorChunk::Pointer: in CheckConversionDeclarator() 7161 case DeclaratorChunk::BlockPointer: in CheckConversionDeclarator() 7162 case DeclaratorChunk::Reference: in CheckConversionDeclarator() [all …]
|
D | SemaLambda.cpp | 852 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
|
D | SemaExprCXX.cpp | 1408 D.getTypeObject(0).Kind == DeclaratorChunk::Array) { in ActOnCXXNew() 1409 DeclaratorChunk &Chunk = D.getTypeObject(0); in ActOnCXXNew() 1427 if (D.getTypeObject(I).Kind != DeclaratorChunk::Array) in ActOnCXXNew() 1430 DeclaratorChunk::ArrayTypeInfo &Array = D.getTypeObject(I).Arr; in ActOnCXXNew()
|
D | SemaDecl.cpp | 4771 DeclaratorChunk &Chunk = D.getTypeObject(I); in RebuildDeclaratorInCurrentInstantiation() 4776 if (Chunk.Kind != DeclaratorChunk::MemberPointer) in RebuildDeclaratorInCurrentInstantiation() 8112 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFunctionDeclarator() 10283 D.AddTypeInfo(DeclaratorChunk::getReference(0, IdentLoc, /*lvalue*/false), in ActOnCXXForRangeIdentifier() 11037 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFinishKNRParamDeclarations() 11402 if (Outer.Kind == DeclaratorChunk::Function && in canDelayFunctionBody() 11774 D.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/false, in ImplicitlyDefineFunction()
|
D | SemaDeclObjC.cpp | 1501 D.AddTypeInfo(DeclaratorChunk::getPointer(/*typeQuals=*/0, starLoc, in actOnObjCTypeArgsOrProtocolQualifiers() 4288 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args in ActOnMethodDeclaration()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1101 struct DeclaratorChunk { struct 1455 case DeclaratorChunk::Function: return Fun.destroy(); in destroy() argument 1456 case DeclaratorChunk::Pointer: return Ptr.destroy(); in destroy() 1457 case DeclaratorChunk::BlockPointer: return Cls.destroy(); in destroy() 1458 case DeclaratorChunk::Reference: return Ref.destroy(); in destroy() 1459 case DeclaratorChunk::Array: return Arr.destroy(); in destroy() 1460 case DeclaratorChunk::MemberPointer: return Mem.destroy(); in destroy() 1461 case DeclaratorChunk::Paren: return; in destroy() 1462 case DeclaratorChunk::Pipe: return PipeInfo.destroy(); in destroy() 1477 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer() argument [all …]
|
D | SemaInternal.h | 30 FTIHasSingleVoidParameter(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasSingleVoidParameter() 37 FTIHasNonVoidParameters(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasNonVoidParameters()
|
D | Sema.h | 7552 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 372 DeclaratorChunk::FunctionTypeInfo FTI = D->getFunctionTypeInfo(); in ParseGNUAttributeArgs() 4959 if (DeclaratorChunk::Pipe == D.getTypeObject(Idx).Kind) in isPipeDeclerator() 5032 D.AddTypeInfo(DeclaratorChunk::getMemberPointer(SS,DS.getTypeQualifiers(), in ParseDeclaratorInternal() 5047 DeclaratorChunk::getPipe(DS.getTypeQualifiers(), DS.getPipeLoc()), in ParseDeclaratorInternal() 5080 D.AddTypeInfo(DeclaratorChunk::getPointer(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() 5090 D.AddTypeInfo(DeclaratorChunk::getBlockPointer(DS.getTypeQualifiers(), in ParseDeclaratorInternal() 5130 DeclaratorChunk& InnerChunk = D.getTypeObject(D.getNumTypeObjects() - 1); in ParseDeclaratorInternal() 5131 if (InnerChunk.Kind == DeclaratorChunk::Reference) { in ParseDeclaratorInternal() 5146 D.AddTypeInfo(DeclaratorChunk::getReference(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() 5521 D.AddTypeInfo(DeclaratorChunk::getParen(T.getOpenLocation(), in ParseParenDeclarator() [all …]
|
D | ParseExprCXX.cpp | 1143 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() 1208 D.AddTypeInfo(DeclaratorChunk::getFunction(/*hasProto=*/true, in ParseLambdaExpressionAfterIntroducer() 1275 D.AddTypeInfo(DeclaratorChunk::getFunction(/*hasProto=*/true, in ParseLambdaExpressionAfterIntroducer() 2845 D.AddTypeInfo(DeclaratorChunk::getArray(0, in ParseDirectNewDeclarator()
|
D | Parser.cpp | 979 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseFunctionDefinition() 1202 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseKNRParamDeclarations()
|
D | ParseObjc.cpp | 411 DeclaratorChunk &chunk = D.getTypeObject(0); in addContextSensitiveTypeNullability() 1391 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl() 1512 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
|
D | ParseExpr.cpp | 2815 ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/true, in ParseBlockLiteralExpression()
|
D | ParseDeclCXX.cpp | 1965 DeclaratorChunk::FunctionTypeInfo &FTI in HandleMemberFunctionDeclDelays()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 2362 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo); 2366 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
|