Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DTypes.h410 class ParamInfo : public VariableInfo {
423 ParamInfo() in ParamInfo() function
447 ParamInfo &operator|=(const ParamInfo &RHS) {
461 friend bool operator==(const ParamInfo &, const ParamInfo &);
466 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
473 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
510 std::vector<ParamInfo> Params;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp891 if (ParamInfo.getNumTypeObjects() == 0) { in getLambdaType()
895 S.CheckExplicitObjectLambda(ParamInfo); in getLambdaType()
900 ParamInfo.isExplicitObjectMemberFunction(); in getLambdaType()
919 MethodTyInfo = S.GetTypeForDeclarator(ParamInfo); in getLambdaType()
1309 for (const DeclaratorChunk::ParamInfo &P : Params) { in ActOnLambdaClosureParameters()
1341 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
1345 ParamInfo.isFunctionDeclarator(Index); in ActOnStartOfLambdaDefinition()
1360 if (ParamInfo.isFunctionDeclarator() != 0 && in ActOnStartOfLambdaDefinition()
1362 const auto &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
1377 ParamInfo.getDeclSpec().getConstexprSpecifier(), 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.cpp16968 void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, in ActOnBlockArguments() argument
16970 assert(ParamInfo.getIdentifier() == nullptr && in ActOnBlockArguments()
16972 assert(ParamInfo.getContext() == DeclaratorContext::BlockLiteral); in ActOnBlockArguments()
16975 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo); in ActOnBlockArguments()
17056 CurBlock->TheDecl, ParamInfo.getBeginLoc(), I); in ActOnBlockArguments()
17069 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
H A DSemaDeclCXX.cpp4183 for (auto &Param : ArrayRef<DeclaratorChunk::ParamInfo>(FTI.Params, in ActOnStartTrailingRequiresClause()
11362 const auto &ParamInfo = FTI.Params[Idx]; in CheckExplicitObjectMemberFunction() local
11363 if (!ParamInfo.Param) in CheckExplicitObjectMemberFunction()
11365 ParmVarDecl *Param = cast<ParmVarDecl>(ParamInfo.Param); in CheckExplicitObjectMemberFunction()
H A DSemaDeclObjC.cpp4726 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo, in ActOnMethodDeclaration()
/freebsd-14.2/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.cpp924 unsigned getParamInfoSize(const ParamInfo &PI) { in getParamInfoSize()
928 void emitParamInfo(raw_ostream &OS, const ParamInfo &PI) { in emitParamInfo()
H A DAPINotesReader.cpp308 void ReadParamInfo(const uint8_t *&Data, ParamInfo &Info) { in ReadParamInfo()
347 ParamInfo pi; in ReadFunctionInfo()
H A DAPINotesYAMLCompiler.cpp687 ParamInfo PI; in convertParams()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3695 Declarator ParamInfo(DS, ParsedAttributesView::none(), in ParseBlockLiteralExpression() local
3705 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3709 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3710 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3711 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3712 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3720 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3723 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
3729 ParamInfo.AddTypeInfo( in ParseBlockLiteralExpression()
3747 CaretLoc, CaretLoc, ParamInfo), in ParseBlockLiteralExpression()
[all …]
H A DParseExprCXX.cpp1373 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1385 ParseParameterDeclarationClause(D, Attributes, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1438 Actions.ActOnLambdaClosureParameters(getCurScope(), ParamInfo); in ParseLambdaExpressionAfterIntroducer()
1486 /*IsAmbiguous=*/false, LParenLoc, ParamInfo.data(), in ParseLambdaExpressionAfterIntroducer()
1487 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseLambdaExpressionAfterIntroducer()
3502 llvm::SmallVector<DeclaratorChunk::ParamInfo, 2> LocalParameters; in ParseRequiresExpression()
3508 for (auto &ParamInfo : LocalParameters) in ParseRequiresExpression() local
3509 LocalParameterDecls.push_back(cast<ParmVarDecl>(ParamInfo.Param)); in ParseRequiresExpression()
H A DParseDecl.cpp7074 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
7103 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
7116 ParseParameterDeclarationClause(D, FirstArgAttrs, ParamInfo, EllipsisLoc); in ParseFunctionDeclarator()
7123 HasProto = ParamInfo.size() || getLangOpts().requiresStrictPrototypes() || in ParseFunctionDeclarator()
7235 HasProto, IsAmbiguous, LParenLoc, ParamInfo.data(), in ParseFunctionDeclarator()
7236 ParamInfo.size(), EllipsisLoc, RParenLoc, in ParseFunctionDeclarator()
7303 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
7324 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
7339 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
7384 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
[all …]
H A DParseObjc.cpp1433 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1546 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h547 struct ParamInfo { struct
551 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() argument
554 bool parseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
566 const SmallVector<ParamInfo, 16> &ArgList,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h2005 ParmVarDecl **ParamInfo = nullptr;
2644 return {ParamInfo, getNumParams()}; in parameters()
2647 return {ParamInfo, getNumParams()}; in parameters()
2668 return ParamInfo[i]; in getParamDecl()
2672 return ParamInfo[i]; in getParamDecl()
4501 ParmVarDecl **ParamInfo = nullptr;
4534 return {ParamInfo, getNumParams()}; in parameters()
4537 return {ParamInfo, getNumParams()}; in parameters()
4555 return ParamInfo[i]; in getParamDecl()
4559 return ParamInfo[i]; in getParamDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1290 struct ParamInfo { struct
1302 ParamInfo() = default;
1303 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1379 ParamInfo *Params;
1666 ParamInfo *Params, unsigned NumParams,
1928 DeclaratorChunk::ParamInfo InlineParams[16];
H A DSema.h6196 void ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
7326 MutableArrayRef<DeclaratorChunk::ParamInfo> ParamInfo);
7333 Declarator &ParamInfo, const DeclSpec &DS);
10721 ObjCArgInfo *ArgInfo, DeclaratorChunk::ParamInfo *CParamInfo,
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h3153 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
3156 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
3159 D.getContext(), attrs, ParamInfo, EllipsisLoc, in ParseParameterDeclarationClause()
3165 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp3641 assert(!ParamInfo && "Already has param info!"); in setParams()
3646 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3647 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
3839 NP > 0 ? ParamInfo[0]->getSourceRange().getBegin() : EllipsisLoc; in getParametersSourceRange()
3842 : ParamInfo[NP - 1]->getSourceRange().getEnd(); in getParametersSourceRange()
5167 assert(!ParamInfo && "Already has param info!"); in setParams()
5172 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
5173 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2899 bool LLParser::parseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in parseParameterList()
2939 ArgList.push_back(ParamInfo( in parseParameterList()
6829 const SmallVector<ParamInfo, 16> &ArgList, in resolveFunctionType() argument
6859 SmallVector<ParamInfo, 16> ArgList; in parseInvoke()
7156 SmallVector<ParamInfo, 16> ArgList; in parseCallBr()
7562 SmallVector<ParamInfo, 16> ArgList; in parseCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp136 for (const auto &ParamInfo : proto->getExtParameterInfos()) { in addExtParameterInfosForCall() local
137 paramInfos.push_back(ParamInfo); in addExtParameterInfosForCall()
139 if (ParamInfo.hasPassObjectSize()) in addExtParameterInfosForCall()