Home
last modified time | relevance | path

Searched refs:SemiLoc (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp38 SourceLocation SemiLoc = S->getSemiLoc(); in isEmptyARCMTMacroStatement() local
39 if (SemiLoc.isInvalid() || SemiLoc.isMacroID()) in isEmptyARCMTMacroStatement()
47 I = std::upper_bound(MacroLocs.begin(), MacroLocs.end(), SemiLoc, in isEmptyARCMTMacroStatement()
54 if (AfterMacroLoc == SemiLoc) in isEmptyARCMTMacroStatement()
58 if (!SM.isInSameSLocAddrSpace(AfterMacroLoc, SemiLoc, &RelOffs)) in isEmptyARCMTMacroStatement()
71 return AfterMacroSemiLoc == SemiLoc; in isEmptyARCMTMacroStatement()
H A DTransforms.cpp120 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); in findLocationAfterSemi() local
121 if (SemiLoc.isInvalid()) in findLocationAfterSemi()
123 return SemiLoc.getLocWithOffset(1); in findLocationAfterSemi()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h433 SourceLocation SemiLoc = P.ConsumeToken(); in consumeClose() local
434 P.Diag(SemiLoc, diag::err_unexpected_semi) in consumeClose()
435 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseExprCXX.cpp1769 SourceLocation SemiLoc = Tok.getLocation(); in ParseCXXCondition() local
1770 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) { in ParseCXXCondition()
1771 Diag(SemiLoc, diag::warn_empty_init_statement) in ParseCXXCondition()
1773 << FixItHint::CreateRemoval(SemiLoc); in ParseCXXCondition()
1776 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
H A DParseStmt.cpp1628 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local
1629 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement()
1630 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h117 SourceLocation SemiLoc; in alignas() local
1221 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } in getSemiLoc()
1222 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; } in setSemiLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp68 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument
70 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
H A DSemaDeclCXX.cpp13694 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument
13695 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h2099 SourceLocation SemiLoc);
3704 StmtResult ActOnNullStmt(SourceLocation SemiLoc,