Home
last modified time | relevance | path

Searched refs:ParamInfo (Results 1 – 15 of 15) sorted by relevance

/external/clang/lib/Sema/
DSemaLambda.cpp363 Declarator &ParamInfo, in ActOnStartOfLambdaDefinition() argument
381 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
395 assert(ParamInfo.isFunctionDeclarator() && in ActOnStartOfLambdaDefinition()
397 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
406 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
408 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
430 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
DDeclSpec.cpp150 ParamInfo *ArgInfo, in getFunction()
209 I.Fun.ArgInfo = new DeclaratorChunk::ParamInfo[NumArgs]; in getFunction()
DSemaExpr.cpp9245 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
9247 assert(ParamInfo.getIdentifier()==0 && "block-id should have no identifier!"); in ActOnBlockArguments()
9248 assert(ParamInfo.getContext() == Declarator::BlockLiteralContext); in ActOnBlockArguments()
9251 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
9307 Diag(ParamInfo.getLocStart(), in ActOnBlockArguments()
9342 ParamInfo.getLocStart(), in ActOnBlockArguments()
9357 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
DSemaDeclObjC.cpp2790 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args in ActOnMethodDeclaration()
/external/clang/include/clang/AST/
DDecl.h1455 ParmVarDecl **ParamInfo;
1558 ParamInfo(0), Body(), in FunctionDecl()
1804 param_iterator param_begin() { return ParamInfo; } in param_begin()
1805 param_iterator param_end() { return ParamInfo+param_size(); } in param_end()
1807 param_const_iterator param_begin() const { return ParamInfo; } in param_begin()
1808 param_const_iterator param_end() const { return ParamInfo+param_size(); } in param_end()
1817 return ParamInfo[i]; in getParamDecl()
1821 return ParamInfo[i]; in getParamDecl()
3123 ParmVarDecl **ParamInfo; variable
3137 ParamInfo(0), NumParams(0), Body(0), in BlockDecl()
[all …]
/external/clang/lib/Parse/
DParseExpr.cpp2435 Declarator ParamInfo(DS, Declarator::BlockLiteralContext); in ParseBlockLiteralExpression() local
2438 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
2443 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
2447 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
2448 ParamInfo.SetIdentifier(0, CaretLoc); in ParseBlockLiteralExpression()
2449 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
2450 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
2458 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
2461 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
2467 ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(true, false, false, in ParseBlockLiteralExpression()
[all …]
DParseDecl.cpp4555 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
4579 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
4585 ParseParameterDeclarationClause(D, FirstArgAttrs, ParamInfo, EllipsisLoc); in ParseFunctionDeclarator()
4589 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus; in ParseFunctionDeclarator()
4663 ParamInfo.data(), ParamInfo.size(), in ParseFunctionDeclarator()
4721 SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
4738 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
4753 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
4802 SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo, in ParseParameterDeclarationClause() argument
4923 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseParameterDeclarationClause()
DParseExprCXX.cpp766 llvm::SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
770 ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
813 ParamInfo.data(), ParamInfo.size(), in ParseLambdaExpressionAfterIntroducer()
DParseObjc.cpp1009 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1129 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/external/llvm/lib/AsmParser/
DLLParser.h308 struct ParamInfo { struct
312 ParamInfo(LocTy loc, Value *v, Attributes attrs) in ParamInfo() argument
315 bool ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
DLLParser.cpp1384 bool LLParser::ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in ParseParameterList()
1407 ArgList.push_back(ParamInfo(ArgLoc, V, ArgAttrs1|ArgAttrs2)); in ParseParameterList()
3216 SmallVector<ParamInfo, 16> ArgList; in ParseInvoke()
3615 SmallVector<ParamInfo, 16> ArgList; in ParseCall()
/external/clang/include/clang/Sema/
DDeclSpec.h1073 struct ParamInfo { struct
1085 ParamInfo() {} in ParamInfo() argument
1086 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1166 ParamInfo *ArgInfo;
1366 ParamInfo *ArgInfo, unsigned NumArgs,
1506 DeclaratorChunk::ParamInfo InlineParams[16];
DSema.h3166 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
4062 Declarator &ParamInfo, Scope *CurScope);
6138 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args
/external/clang/include/clang/Parse/
DParser.h1964 SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo);
1968 SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo,
/external/clang/lib/AST/
DDecl.cpp1871 assert(ParamInfo == 0 && "Already has param info!"); in setParams()
1876 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
1877 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
2806 assert(ParamInfo == 0 && "Already has param info!"); in setParams()
2811 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
2812 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()