Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h419 class ParamInfo : public VariableInfo {
434 ParamInfo() in ParamInfo() function
458 ParamInfo &operator|=(const ParamInfo &RHS) {
472 friend bool operator==(const ParamInfo &, const ParamInfo &);
477 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
484 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
522 std::vector<ParamInfo> Params;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp917 Declarator &ParamInfo, Scope *CurScope, in getLambdaType() argument
924 (ParamInfo.getDeclSpec().getStorageClassSpec() == in getLambdaType()
926 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static) && in getLambdaType()
929 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in getLambdaType()
933 if (ParamInfo.getNumTypeObjects() == 0) { in getLambdaType()
937 S.CheckExplicitObjectLambda(ParamInfo); in getLambdaType()
939 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in getLambdaType()
942 ParamInfo.isExplicitObjectMemberFunction(); in getLambdaType()
961 MethodTyInfo = S.GetTypeForDeclarator(ParamInfo); in getLambdaType()
1361 Scope *LambdaScope, MutableArrayRef<DeclaratorChunk::ParamInfo> Params) { in ActOnLambdaClosureParameters()
[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 DSemaAPINotes.cpp410 const api_notes::ParamInfo &Info, in ProcessAPINotes()
H A DSemaExpr.cpp15961 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
15963 assert(ParamInfo.getIdentifier() == nullptr && in ActOnBlockArguments()
15965 assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteral); in ActOnBlockArguments()
15968 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo); in ActOnBlockArguments()
16049 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
16062 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3796 Declarator ParamInfo(DS, ParsedAttributesView::none(), in ParseBlockLiteralExpression() local
3798 ParamInfo.setFunctionDefinitionKind(FunctionDefinitionKind::Definition); in ParseBlockLiteralExpression()
3801 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
3806 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3810 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3811 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3812 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3813 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3821 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3824 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
[all …]
H A DParseExprCXX.cpp1458 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1470 ParseParameterDeclarationClause(D, Attributes, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1523 Actions.ActOnLambdaClosureParameters(getCurScope(), ParamInfo); in ParseLambdaExpressionAfterIntroducer()
1571 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer()
1572 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
3616 llvm::SmallVector<DeclaratorChunk::ParamInfo, 2> LocalParameters; in ParseRequiresExpression()
3622 for (auto &ParamInfo : LocalParameters) in ParseRequiresExpression() local
3623 LocalParameterDecls.push_back(cast<ParmVarDecl>(ParamInfo.Param)); in ParseRequiresExpression()
H A DParseDecl.cpp7504 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
7533 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
7546 ParseParameterDeclarationClause(D, FirstArgAttrs, ParamInfo, EllipsisLoc); in ParseFunctionDeclarator()
7553 HasProto = ParamInfo.size() || getLangOpts().requiresStrictPrototypes() || in ParseFunctionDeclarator()
7673 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(), in ParseFunctionDeclarator()
7674 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseFunctionDeclarator()
7741 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
7762 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
7777 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
7822 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
[all …]
H A DParseObjc.cpp1439 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1551 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesTypes.cpp64 LLVM_DUMP_METHOD void ParamInfo::dump(llvm::raw_ostream &OS) const { in dump()
H A DAPINotesWriter.cpp987 unsigned getParamInfoSize(const ParamInfo &PI) { in getParamInfoSize()
991 void emitParamInfo(raw_ostream &OS, const ParamInfo &PI) { in emitParamInfo()
H A DAPINotesReader.cpp303 void ReadParamInfo(const uint8_t *&Data, ParamInfo &Info) { in ReadParamInfo()
340 ParamInfo pi; in ReadFunctionInfo()
H A DAPINotesYAMLCompiler.cpp691 ParamInfo PI; in convertParams()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h545 struct ParamInfo { struct
549 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() argument
552 bool parseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
564 const SmallVector<ParamInfo, 16> &ArgList,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1992 ParmVarDecl **ParamInfo = nullptr;
2647 return {ParamInfo, getNumParams()}; in parameters()
2650 return {ParamInfo, getNumParams()}; in parameters()
2671 return ParamInfo[i]; in getParamDecl()
2675 return ParamInfo[i]; in getParamDecl()
4521 ParmVarDecl **ParamInfo = nullptr;
4554 return {ParamInfo, getNumParams()}; in parameters()
4557 return {ParamInfo, getNumParams()}; in parameters()
4575 return ParamInfo[i]; in getParamDecl()
4579 return ParamInfo[i]; in getParamDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1330 struct ParamInfo { struct
1342 ParamInfo() = default;
1343 ParamInfo(const IdentifierInfo *ident, SourceLocation iloc, Decl *param,
1425 ParamInfo *Params;
1714 ParamInfo *Params, unsigned NumParams,
1987 DeclaratorChunk::ParamInfo InlineParams[16];
H A DSemaObjC.h374 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo,
H A DSema.h7132 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
8827 MutableArrayRef<DeclaratorChunk::ParamInfo> ParamInfo);
8834 Declarator &ParamInfo, const DeclSpec &DS);
/freebsd/sys/dev/mwl/
H A Dmwlhal.c1372 uint8_t Tid, uint8_t ParamInfo) in bastream_check_available() argument
1389 pCmd->BaInfo.CreateParams.ParamInfo = (uint8_t) ParamInfo; in bastream_check_available()
1415 uint8_t Tid, uint8_t ParamInfo, void *a1, void *a2) in mwl_hal_bastream_alloc() argument
1429 if (bastream_check_available(vap, s, Macaddr, Tid, ParamInfo)) { in mwl_hal_bastream_alloc()
1439 sp->paraminfo = ParamInfo; in mwl_hal_bastream_alloc()
1488 pCmd->BaInfo.CreateParams.ParamInfo = sp->paraminfo; in mwl_hal_bastream_create()
H A Dmwlhal.h511 uint8_t ParamInfo, void *, void *);
H A Dmwlreg.h1212 uint8_t ParamInfo; member
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3235 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
3238 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
3241 D.getContext(), attrs, ParamInfo, EllipsisLoc, in ParseParameterDeclarationClause()
3247 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp3691 assert(!ParamInfo && "Already has param info!"); in setParams()
3696 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3697 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
3889 NP > 0 ? ParamInfo[0]->getSourceRange().getBegin() : EllipsisLoc; in getParametersSourceRange()
3892 : ParamInfo[NP - 1]->getSourceRange().getEnd(); in getParametersSourceRange()
5222 assert(!ParamInfo && "Already has param info!"); in setParams()
5227 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
5228 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3011 bool LLParser::parseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in parseParameterList()
3051 ArgList.push_back(ParamInfo( in parseParameterList()
7264 const SmallVector<ParamInfo, 16> &ArgList, in resolveFunctionType() argument
7270 for (const ParamInfo &Arg : ArgList) in resolveFunctionType()
7294 SmallVector<ParamInfo, 16> ArgList; in parseInvoke()
7334 for (const ParamInfo &Arg : ArgList) { in parseInvoke()
7591 SmallVector<ParamInfo, 16> ArgList; in parseCallBr()
7647 for (const ParamInfo &Arg : ArgList) { in parseCallBr()
7997 SmallVector<ParamInfo, 16> ArgList; in parseCall()
8042 for (const ParamInfo &Arg : ArgList) { in parseCall()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp140 for (const auto &ParamInfo : proto->getExtParameterInfos()) { in addExtParameterInfosForCall() local
141 paramInfos.push_back(ParamInfo); in addExtParameterInfosForCall()
143 if (ParamInfo.hasPassObjectSize()) in addExtParameterInfosForCall()

12