Home
last modified time | relevance | path

Searched refs:LBraceLoc (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp476 SourceLocation LBraceLoc = T.getOpenLocation(); in ParseBraceInitializer() local
485 Diag(LBraceLoc, getLangOpts().C23 in ParseBraceInitializer()
490 return Actions.ActOnInitList(LBraceLoc, std::nullopt, ConsumeBrace()); in ParseBraceInitializer()
575 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
H A DParseStmt.cpp2515 SourceLocation LBraceLoc = Tok.getLocation(); in ParseFunctionStatementBody() local
2517 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, Decl, LBraceLoc, in ParseFunctionStatementBody()
2535 Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, std::nullopt, false); in ParseFunctionStatementBody()
2566 SourceLocation LBraceLoc = Tok.getLocation(); in ParseFunctionTryBlock() local
2573 Actions.ActOnCompoundStmt(LBraceLoc, LBraceLoc, std::nullopt, false); in ParseFunctionTryBlock()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h654 SourceLocation LBraceLoc, in CreateDirectList() argument
656 return InitializationKind(IK_DirectList, IC_Normal, InitLoc, LBraceLoc, in CreateDirectList()
H A DSema.h3958 SourceLocation LBraceLoc);
5257 Expr *LangStr, SourceLocation LBraceLoc);
7028 ExprResult ActOnInitList(SourceLocation LBraceLoc, MultiExprArg InitArgList,
7031 ExprResult BuildInitList(SourceLocation LBraceLoc, MultiExprArg InitArgList,
9694 SourceLocation LBraceLoc);
10973 StmtResult ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h1611 SourceLocation LBraceLoc;
1641 : Stmt(CompoundStmtClass), LBraceLoc(Loc), RBraceLoc(EndLoc) {
1740 SourceLocation getBeginLoc() const { return LBraceLoc; }
1743 SourceLocation getLBracLoc() const { return LBraceLoc; }
3490 SourceLocation LBraceLoc, EndLoc;
3510 SourceLocation getLBraceLoc() const { return LBraceLoc; }
3511 void setLBraceLoc(SourceLocation L) { LBraceLoc = L; }
3515 bool hasBraces() const { return LBraceLoc.isValid(); }
H A DExpr.h5033 SourceLocation LBraceLoc, RBraceLoc; variable
5167 return LBraceLoc.isValid() && RBraceLoc.isValid(); in isExplicit()
5183 SourceLocation getLBraceLoc() const { return LBraceLoc; } in getLBraceLoc()
5184 void setLBraceLoc(SourceLocation Loc) { LBraceLoc = Loc; } in setLBraceLoc()
H A DDecl.h4922 SourceLocation LBraceLoc; variable
4945 SourceLocation getLBraceLoc() const { return LBraceLoc; } in getLBraceLoc()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp2043 SourceLocation LBraceLoc = consumeToken(); in parseModuleDecl() local
2086 Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match); in parseModuleDecl()
2228 Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match); in parseModuleDecl()
2455 SourceLocation LBraceLoc = consumeToken(); in parseHeaderDecl() local
2502 Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match); in parseHeaderDecl()
2926 SourceLocation LBraceLoc = consumeToken(); in parseInferredModuleDecl() local
2991 Diags.Report(LBraceLoc, diag::note_mmap_lbrace_match); in parseInferredModuleDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp845 SourceLocation LBraceLoc) { in ActOnStartExportDecl() argument
849 D->setRBraceLoc(LBraceLoc); in ActOnStartExportDecl()
H A DSemaStmtAsm.cpp932 StmtResult Sema::ActOnMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in ActOnMSAsmStmt() argument
963 new (Context) MSAsmStmt(Context, AsmLoc, LBraceLoc, IsSimple, in ActOnMSAsmStmt()
H A DTreeTransform.h1349 StmtResult RebuildCompoundStmt(SourceLocation LBraceLoc, in RebuildCompoundStmt() argument
1353 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements, in RebuildCompoundStmt()
1534 StmtResult RebuildMSAsmStmt(SourceLocation AsmLoc, SourceLocation LBraceLoc, in RebuildMSAsmStmt() argument
1542 return getSema().ActOnMSAsmStmt(AsmLoc, LBraceLoc, AsmToks, AsmString, in RebuildMSAsmStmt()
3015 ExprResult RebuildInitList(SourceLocation LBraceLoc, in RebuildInitList() argument
3018 return SemaRef.BuildInitList(LBraceLoc, Inits, RBraceLoc); in RebuildInitList()
H A DSemaInit.cpp7158 SourceLocation LBraceLoc, in PerformConstructorInitialization() argument
7219 ? SourceRange(LBraceLoc, RBraceLoc) in PerformConstructorInitialization()
7252 ParenOrBraceRange = SourceRange(LBraceLoc, RBraceLoc); in PerformConstructorInitialization()
H A DSemaExpr.cpp7112 Sema::ActOnInitList(SourceLocation LBraceLoc, MultiExprArg InitArgList, in ActOnInitList() argument
7176 return BuildInitList(LBraceLoc, InitArgList, RBraceLoc); in ActOnInitList()
7180 Sema::BuildInitList(SourceLocation LBraceLoc, MultiExprArg InitArgList, in BuildInitList() argument
7200 new (Context) InitListExpr(Context, LBraceLoc, InitArgList, RBraceLoc); in BuildInitList()
H A DSemaDeclCXX.cpp16672 SourceLocation LBraceLoc) { in ActOnStartLinkageSpecification() argument
16692 LBraceLoc.isValid()); in ActOnStartLinkageSpecification()
H A DSemaDecl.cpp18011 SourceLocation LBraceLoc) { in ActOnStartCXXMemberDeclarations() argument
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp368 : Stmt(CompoundStmtClass), LBraceLoc(LB), RBraceLoc(RB) { in CompoundStmt()
882 numinputs, clobbers.size()), LBraceLoc(lbraceloc), in MSAsmStmt()
H A DExpr.cpp2390 InitExprs(C, initExprs.size()), LBraceLoc(lbraceloc), in InitListExpr()
2480 SourceLocation Beg = LBraceLoc; in getBeginLoc()
H A DDecl.cpp5629 DeclContext(Decl::Kind::HLSLBuffer), LBraceLoc(LBrace), KwLoc(KwLoc), in HLSLBufferDecl()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp165 S->LBraceLoc = readSourceLocation(); in VisitCompoundStmt()
420 S->LBraceLoc = readSourceLocation(); in VisitMSAsmStmt()
H A DASTReaderDecl.cpp1861 D->LBraceLoc = readSourceLocation(); in VisitHLSLBufferDecl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp6294 SMLoc LBraceLoc = getLoc(); in parseOperand() local
6317 AMDGPUOperand::CreateToken(this, "[", LBraceLoc)); in parseOperand()