Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/APINotes/
H A DTypes.h412 class ParamInfo : public VariableInfo {
425 ParamInfo() in ParamInfo() function
451 ParamInfo &operator|=(const ParamInfo &RHS) {
465 friend bool operator==(const ParamInfo &, const ParamInfo &);
470 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
477 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
514 std::vector<ParamInfo> Params;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo() local
177 if (ParamInfo.hasValue()) in FunctionInfo()
178 AddToRetParamRelations(I + 1, ParamInfo->Index); in FunctionInfo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExpr.cpp3464 Declarator ParamInfo(DS, DeclaratorContext::BlockLiteral); in ParseBlockLiteralExpression() local
3465 ParamInfo.setFunctionDefinitionKind(FunctionDefinitionKind::Definition); in ParseBlockLiteralExpression()
3468 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
3473 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3477 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3478 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3479 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3480 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3488 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3491 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
[all …]
H A DParseExprCXX.cpp1324 MutableArrayRef<DeclaratorChunk::ParamInfo> ParamInfo, in ParseLambdaExpressionAfterIntroducer()
1384 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer()
1385 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
1407 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1414 ParseParameterDeclarationClause(D.getContext(), Attr, ParamInfo, in ParseLambdaExpressionAfterIntroducer()
1429 ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1449 std::vector<DeclaratorChunk::ParamInfo> EmptyParamInfo; in ParseLambdaExpressionAfterIntroducer()
3378 llvm::SmallVector<DeclaratorChunk::ParamInfo, 2> LocalParameters; in ParseRequiresExpression()
3384 for (auto &ParamInfo : LocalParameters) in ParseRequiresExpression() local
3385 LocalParameterDecls.push_back(cast<ParmVarDecl>(ParamInfo.Param)); in ParseRequiresExpression()
H A DParseDecl.cpp6499 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
6528 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
6541 ParseParameterDeclarationClause(D.getContext(), FirstArgAttrs, ParamInfo, in ParseFunctionDeclarator()
6546 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus in ParseFunctionDeclarator()
6650 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(), in ParseFunctionDeclarator()
6651 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseFunctionDeclarator()
6718 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
6735 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
6750 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
6795 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
[all …]
H A DParseObjc.cpp1382 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1494 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLambda.cpp890 Declarator &ParamInfo, in ActOnStartOfLambdaDefinition() argument
917 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
945 assert(ParamInfo.isFunctionDeclarator() && in ActOnStartOfLambdaDefinition()
947 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
958 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
960 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
980 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
981 ParamInfo.getTrailingRequiresClause()); in ActOnStartOfLambdaDefinition()
994 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
H A DDeclSpec.cpp163 ParamInfo *Params, in getFunction()
243 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction()
247 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction()
H A DSemaExpr.cpp15302 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
15304 assert(ParamInfo.getIdentifier() == nullptr && in ActOnBlockArguments()
15306 assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteral); in ActOnBlockArguments()
15309 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
15390 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
15403 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
H A DSemaDeclObjC.cpp4707 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo, in ActOnMethodDeclaration()
H A DSemaDeclCXX.cpp3951 for (auto &Param : ArrayRef<DeclaratorChunk::ParamInfo>(FTI.Params, in ActOnStartTrailingRequiresClause()
/netbsd-src/external/apache2/llvm/dist/clang/lib/APINotes/
H A DAPINotesTypes.cpp64 LLVM_DUMP_METHOD void ParamInfo::dump(llvm::raw_ostream &OS) const { in dump()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDecl.h1870 ParmVarDecl **ParamInfo = nullptr;
2453 return {ParamInfo, getNumParams()}; in parameters()
2456 return {ParamInfo, getNumParams()}; in parameters()
2477 return ParamInfo[i]; in getParamDecl()
2481 return ParamInfo[i]; in getParamDecl()
4168 ParmVarDecl **ParamInfo = nullptr;
4201 return {ParamInfo, getNumParams()}; in parameters()
4204 return {ParamInfo, getNumParams()}; in parameters()
4222 return ParamInfo[i]; in getParamDecl()
4226 return ParamInfo[i]; in getParamDecl()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
H A DLLParser.h492 struct ParamInfo { struct
496 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() function
499 bool parseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDeclSpec.h1251 struct ParamInfo { struct
1263 ParamInfo() = default;
1264 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1340 ParamInfo *Params;
1627 ParamInfo *Params, unsigned NumParams,
1877 DeclaratorChunk::ParamInfo InlineParams[16];
H A DSema.h5567 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
6661 Declarator &ParamInfo, Scope *CurScope);
9685 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo,
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDecl.cpp3353 assert(!ParamInfo && "Already has param info!"); in setParams()
3358 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3359 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
3537 NP > 0 ? ParamInfo[0]->getSourceRange().getBegin() : EllipsisLoc; in getParametersSourceRange()
3540 : ParamInfo[NP - 1]->getSourceRange().getEnd(); in getParametersSourceRange()
4692 assert(!ParamInfo && "Already has param info!"); in setParams()
4697 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
4698 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h2989 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
2993 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp2663 bool LLParser::parseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in parseParameterList()
2702 ArgList.push_back(ParamInfo( in parseParameterList()
6551 SmallVector<ParamInfo, 16> ArgList; in parseInvoke()
6860 SmallVector<ParamInfo, 16> ArgList; in parseCallBr()
7279 SmallVector<ParamInfo, 16> ArgList; in parseCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCall.cpp130 for (const auto &ParamInfo : proto->getExtParameterInfos()) { in addExtParameterInfosForCall() local
131 paramInfos.push_back(ParamInfo); in addExtParameterInfosForCall()
133 if (ParamInfo.hasPassObjectSize()) in addExtParameterInfosForCall()