Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/include/clang/APINotes/
H A DTypes.h415 class ParamInfo : public VariableInfo {
428 ParamInfo() in ParamInfo() function
452 ParamInfo &operator|=(const ParamInfo &RHS) {
466 friend bool operator==(const ParamInfo &, const ParamInfo &);
471 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
478 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
515 std::vector<ParamInfo> Params;
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaLambda.cpp901 Declarator &ParamInfo, in ActOnStartOfLambdaDefinition() argument
931 (ParamInfo.getDeclSpec().getStorageClassSpec() == in ActOnStartOfLambdaDefinition()
936 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in ActOnStartOfLambdaDefinition()
938 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
966 assert(ParamInfo.isFunctionDeclarator() && in ActOnStartOfLambdaDefinition()
968 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
979 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
981 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
1013 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
1015 ParamInfo.getTrailingRequiresClause()); in ActOnStartOfLambdaDefinition()
[all …]
H A DDeclSpec.cpp164 ParamInfo *Params, in getFunction()
244 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction()
248 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction()
H A DSemaExpr.cpp16459 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
16461 assert(ParamInfo.getIdentifier() == nullptr && in ActOnBlockArguments()
16463 assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteral); in ActOnBlockArguments()
16466 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
16547 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
16560 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
H A DSemaDeclObjC.cpp4727 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo, in ActOnMethodDeclaration()
H A DSemaDeclCXX.cpp4033 for (auto &Param : ArrayRef<DeclaratorChunk::ParamInfo>(FTI.Params, in ActOnStartTrailingRequiresClause()
/openbsd/gnu/llvm/clang/lib/APINotes/
H A DAPINotesTypes.cpp64 LLVM_DUMP_METHOD void ParamInfo::dump(llvm::raw_ostream &OS) const { in dump()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp3575 Declarator ParamInfo(DS, ParsedAttributesView::none(), in ParseBlockLiteralExpression() local
3585 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3589 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3590 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3591 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3592 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3600 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3603 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3609 ParamInfo.AddTypeInfo( in ParseBlockLiteralExpression()
3627 CaretLoc, CaretLoc, ParamInfo), in ParseBlockLiteralExpression()
[all …]
H A DParseExprCXX.cpp1373 MutableArrayRef<DeclaratorChunk::ParamInfo> ParamInfo, in ParseLambdaExpressionAfterIntroducer()
1438 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer()
1439 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
1461 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1468 ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1482 ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1503 std::vector<DeclaratorChunk::ParamInfo> EmptyParamInfo; in ParseLambdaExpressionAfterIntroducer()
3487 llvm::SmallVector<DeclaratorChunk::ParamInfo, 2> LocalParameters; in ParseRequiresExpression()
3493 for (auto &ParamInfo : LocalParameters) in ParseRequiresExpression() local
3494 LocalParameterDecls.push_back(cast<ParmVarDecl>(ParamInfo.Param)); in ParseRequiresExpression()
H A DParseDecl.cpp6842 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
6871 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
6884 ParseParameterDeclarationClause(D, FirstArgAttrs, ParamInfo, EllipsisLoc); in ParseFunctionDeclarator()
6891 HasProto = ParamInfo.size() || getLangOpts().requiresStrictPrototypes() || in ParseFunctionDeclarator()
6994 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(), in ParseFunctionDeclarator()
6995 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseFunctionDeclarator()
7062 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
7083 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
7098 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
7142 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
[all …]
H A DParseObjc.cpp1420 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1533 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/openbsd/gnu/llvm/llvm/include/llvm/AsmParser/
H A DLLParser.h516 struct ParamInfo { struct
520 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() function
523 bool parseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
535 const SmallVector<ParamInfo, 16> &ArgList,
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDecl.h1965 ParmVarDecl **ParamInfo = nullptr;
2585 return {ParamInfo, getNumParams()}; in parameters()
2588 return {ParamInfo, getNumParams()}; in parameters()
2609 return ParamInfo[i]; in getParamDecl()
2613 return ParamInfo[i]; in getParamDecl()
4386 ParmVarDecl **ParamInfo = nullptr;
4419 return {ParamInfo, getNumParams()}; in parameters()
4422 return {ParamInfo, getNumParams()}; in parameters()
4440 return ParamInfo[i]; in getParamDecl()
4444 return ParamInfo[i]; in getParamDecl()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h1274 struct ParamInfo { struct
1286 ParamInfo() = default;
1287 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1363 ParamInfo *Params;
1650 ParamInfo *Params, unsigned NumParams,
1912 DeclaratorChunk::ParamInfo InlineParams[16];
H A DSema.h6043 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
7171 Declarator &ParamInfo, Scope *CurScope);
10403 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo,
/openbsd/gnu/llvm/clang/include/clang/Parse/
H A DParser.h3089 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
3092 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
3095 D.getContext(), attrs, ParamInfo, EllipsisLoc, in ParseParameterDeclarationClause()
3101 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/openbsd/gnu/llvm/clang/lib/AST/
H A DDecl.cpp3488 assert(!ParamInfo && "Already has param info!"); in setParams()
3493 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3494 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
3672 NP > 0 ? ParamInfo[0]->getSourceRange().getBegin() : EllipsisLoc; in getParametersSourceRange()
3675 : ParamInfo[NP - 1]->getSourceRange().getEnd(); in getParametersSourceRange()
4917 assert(!ParamInfo && "Already has param info!"); in setParams()
4922 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
4923 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
/openbsd/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp2703 bool LLParser::parseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in parseParameterList()
2743 ArgList.push_back(ParamInfo( in parseParameterList()
6650 const SmallVector<ParamInfo, 16> &ArgList, in resolveFunctionType() argument
6680 SmallVector<ParamInfo, 16> ArgList; in parseInvoke()
6977 SmallVector<ParamInfo, 16> ArgList; in parseCallBr()
7383 SmallVector<ParamInfo, 16> ArgList; in parseCall()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp135 for (const auto &ParamInfo : proto->getExtParameterInfos()) { in addExtParameterInfosForCall() local
136 paramInfos.push_back(ParamInfo); in addExtParameterInfosForCall()
138 if (ParamInfo.hasPassObjectSize()) in addExtParameterInfosForCall()