Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseExpr.cpp2200 Declarator ParamInfo(DS, Declarator::BlockLiteralContext); in ParseBlockLiteralExpression() local
2203 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
2208 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
2212 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
2213 ParamInfo.SetIdentifier(0, CaretLoc); in ParseBlockLiteralExpression()
2214 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
2215 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
2223 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
2226 Actions.ActOnBlockArguments(ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
2232 ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(true, false, in ParseBlockLiteralExpression()
[all …]
DParseDecl.cpp3681 llvm::SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
3701 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
3711 ParseParameterDeclarationClause(D, attrs, ParamInfo, EllipsisLoc); in ParseFunctionDeclarator()
3715 HasProto = ParamInfo.size() || getLang().CPlusPlus; in ParseFunctionDeclarator()
3760 ParamInfo.data(), ParamInfo.size(), in ParseFunctionDeclarator()
3814 llvm::SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
3831 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
3846 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
3893 llvm::SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo, in ParseParameterDeclarationClause() argument
4006 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseParameterDeclarationClause()
DParseObjc.cpp879 llvm::SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
992 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/external/clang/include/clang/AST/
DDecl.h1377 ParmVarDecl **ParamInfo;
1473 ParamInfo(0), Body(), in FunctionDecl()
1710 param_iterator param_begin() { return ParamInfo; } in param_begin()
1711 param_iterator param_end() { return ParamInfo+param_size(); } in param_end()
1713 param_const_iterator param_begin() const { return ParamInfo; } in param_begin()
1714 param_const_iterator param_end() const { return ParamInfo+param_size(); } in param_end()
1723 return ParamInfo[i]; in getParamDecl()
1727 return ParamInfo[i]; in getParamDecl()
2920 ParmVarDecl **ParamInfo; variable
2933 ParamInfo(0), NumParams(0), Body(0), in BlockDecl()
[all …]
DDeclObjC.h152 ObjCList<ParmVarDecl> ParamInfo; variable
259 unsigned param_size() const { return ParamInfo.size(); } in param_size()
261 param_iterator param_begin() const { return ParamInfo.begin(); } in param_begin()
262 param_iterator param_end() const { return ParamInfo.end(); } in param_end()
266 return ParamInfo.begin() + NumSelectorArgs; in sel_param_end()
271 ParamInfo.set(List, Num, C); in setMethodParams()
/external/llvm/lib/AsmParser/
DLLParser.h301 struct ParamInfo { struct
305 ParamInfo(LocTy loc, Value *v, unsigned attrs) in ParamInfo() argument
308 bool ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
DLLParser.cpp1318 bool LLParser::ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in ParseParameterList()
1341 ArgList.push_back(ParamInfo(ArgLoc, V, ArgAttrs1|ArgAttrs2)); in ParseParameterList()
3147 SmallVector<ParamInfo, 16> ArgList; in ParseInvoke()
3486 SmallVector<ParamInfo, 16> ArgList; in ParseCall()
/external/clang/include/clang/Sema/
DDeclSpec.h1034 struct ParamInfo { struct
1046 ParamInfo() {} in ParamInfo() function
1047 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1111 ParamInfo *ArgInfo;
1297 ParamInfo *ArgInfo, unsigned NumArgs,
1415 DeclaratorChunk::ParamInfo InlineParams[16];
DSema.h2490 void ActOnBlockArguments(Declarator &ParamInfo, Scope *CurScope);
5063 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args
/external/clang/
DTODO.txt40 specifiers, and DeclaratorChunk::ParamInfo should also have a source
/external/clang/lib/AST/
DDecl.cpp1682 assert(ParamInfo == 0 && "Already has param info!"); in setParams()
1688 ParamInfo = new (Mem) ParmVarDecl*[NumParams]; in setParams()
1689 memcpy(ParamInfo, NewParamInfo, sizeof(ParmVarDecl*)*NumParams); in setParams()
2419 assert(ParamInfo == 0 && "Already has param info!"); in setParams()
2425 ParamInfo = new (Mem) ParmVarDecl*[NumParams]; in setParams()
2426 memcpy(ParamInfo, NewParamInfo, sizeof(ParmVarDecl*)*NumParams); in setParams()
/external/clang/include/clang/Parse/
DParser.h1741 llvm::SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo);
1745 llvm::SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo,
/external/clang/lib/Sema/
DDeclSpec.cpp147 ParamInfo *ArgInfo, in getFunction()
198 I.Fun.ArgInfo = new DeclaratorChunk::ParamInfo[NumArgs]; in getFunction()
DSemaExpr.cpp8292 void Sema::ActOnBlockArguments(Declarator &ParamInfo, Scope *CurScope) { in ActOnBlockArguments() argument
8293 assert(ParamInfo.getIdentifier()==0 && "block-id should have no identifier!"); in ActOnBlockArguments()
8294 assert(ParamInfo.getContext() == Declarator::BlockLiteralContext); in ActOnBlockArguments()
8297 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
8341 Diag(ParamInfo.getSourceRange().getBegin(), in ActOnBlockArguments()
8373 ParamInfo.getSourceRange().getBegin(), in ActOnBlockArguments()
8388 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
8391 Diag(ParamInfo.getAttributes()->getLoc(), in ActOnBlockArguments()
DSemaDeclObjC.cpp2280 DeclaratorChunk::ParamInfo *CParamInfo, unsigned CNumArgs, // c-style args in ActOnMethodDeclaration()