Home
last modified time | relevance | path

Searched refs:LabelLoc (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp481 SMLoc LabelLoc = getTok().getLoc(); in ParseDirectiveEndProc() local
483 return Error(LabelLoc, "expected identifier for procedure end"); in ParseDirectiveEndProc()
488 return Error(LabelLoc, "endp does not match current procedure '" + in ParseDirectiveEndProc()
H A DAsmParser.cpp6259 SMLoc LabelLoc = LabelTok.getLoc(); in parseAsHLASMLabel() local
6263 return Error(LabelLoc, "The HLASM Label has to be an Identifier"); in parseAsHLASMLabel()
6277 return Error(LabelLoc, in parseAsHLASMLabel()
6285 getTargetParser().doBeforeLabelEmit(Sym, LabelLoc); in parseAsHLASMLabel()
6288 Out.emitLabel(Sym, LabelLoc); in parseAsHLASMLabel()
6294 LabelLoc); in parseAsHLASMLabel()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1205 SourceLocation LabelLoc = ConsumeToken(); in ParseCompoundStatementBody() local
1216 DeclsInGroup.push_back(Actions.LookupOrCreateLabel(II, IdLoc, LabelLoc)); in ParseCompoundStatementBody()
1225 StmtResult R = Actions.ActOnDeclStmt(Res, LabelLoc, Tok.getLocation()); in ParseCompoundStatementBody()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h2869 SourceLocation LabelLoc;
2873 : Stmt(GotoStmtClass), Label(label), LabelLoc(LL) {
2885 SourceLocation getLabelLoc() const { return LabelLoc; }
2886 void setLabelLoc(SourceLocation L) { LabelLoc = L; }
H A DExpr.h4363 SourceLocation AmpAmpLoc, LabelLoc; variable
4369 LabelLoc(LLoc), Label(L) { in AddrLabelExpr()
4379 SourceLocation getLabelLoc() const { return LabelLoc; } in getLabelLoc()
4380 void setLabelLoc(SourceLocation L) { LabelLoc = L; } in setLabelLoc()
4383 SourceLocation getEndLoc() const LLVM_READONLY { return LabelLoc; } in getEndLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3127 SourceLocation LabelLoc, in ActOnGotoStmt() argument
3137 return new (Context) GotoStmt(TheDecl, GotoLoc, LabelLoc); in ActOnGotoStmt()
H A DTreeTransform.h1481 StmtResult RebuildGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc, in RebuildGotoStmt() argument
1483 return getSema().ActOnGotoStmt(GotoLoc, LabelLoc, Label); in RebuildGotoStmt()
3076 SourceLocation LabelLoc, LabelDecl *Label) { in RebuildAddrLabelExpr() argument
3077 return getSema().ActOnAddrLabel(AmpAmpLoc, LabelLoc, Label); in RebuildAddrLabelExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10803 StmtResult ActOnGotoStmt(SourceLocation GotoLoc, SourceLocation LabelLoc,