Home
last modified time | relevance | path

Searched refs:getSemiLoc (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp37 SourceLocation SemiLoc = S->getSemiLoc(); in isEmptyARCMTMacroStatement()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h1382 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } in getSemiLoc() function
1389 SourceLocation getBeginLoc() const { return getSemiLoc(); } in getBeginLoc()
1390 SourceLocation getEndLoc() const { return getSemiLoc(); } in getEndLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp16761 unsigned BodyLine = SourceMgr.getSpellingLineNumber(Body->getSemiLoc(), in ShouldDiagnoseEmptyStmtBody()
16790 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()
16791 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()
16818 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()
16855 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()
16856 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyLoopBody()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp76 Record.AddSourceLocation(S->getSemiLoc()); in VisitNullStmt()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp6350 ExpectedSLoc ToSemiLocOrErr = import(S->getSemiLoc()); in VisitNullStmt()