Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp37 SourceLocation SemiLoc = S->getSemiLoc(); in isEmptyARCMTMacroStatement() local
38 if (SemiLoc.isInvalid() || SemiLoc.isMacroID()) in isEmptyARCMTMacroStatement()
46 MacroLocs, SemiLoc, BeforeThanCompare<SourceLocation>(SM)); in isEmptyARCMTMacroStatement()
52 if (AfterMacroLoc == SemiLoc) in isEmptyARCMTMacroStatement()
56 if (!SM.isInSameSLocAddrSpace(AfterMacroLoc, SemiLoc, &RelOffs)) in isEmptyARCMTMacroStatement()
69 return AfterMacroSemiLoc == SemiLoc; in isEmptyARCMTMacroStatement()
H A DTransforms.cpp118 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); in findLocationAfterSemi() local
119 if (SemiLoc.isInvalid()) in findLocationAfterSemi()
121 return SemiLoc.getLocWithOffset(1); in findLocationAfterSemi()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h486 SourceLocation SemiLoc = P.ConsumeToken(); in consumeClose() local
487 P.Diag(SemiLoc, diag::err_unexpected_semi) in consumeClose()
488 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp1191 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() local
1192 if (SemiLoc.isMacroID()) in LexAfterModuleImport()
1193 Diag(SemiLoc, diag::err_header_import_semi_in_macro); in LexAfterModuleImport()
1204 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport()
1214 Suffix.back().setLocation(SemiLoc); in LexAfterModuleImport()
1215 Suffix.back().setAnnotationEndLoc(SemiLoc); in LexAfterModuleImport()
1273 SourceLocation SemiLoc = Result.getLocation(); in LexAfterModuleImport() local
1282 SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport()
1311 makeModuleVisible(Imported, SemiLoc); in LexAfterModuleImport()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp2080 SourceLocation SemiLoc = Tok.getLocation(); in ParseCXXCondition() local
2081 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) { in ParseCXXCondition()
2082 Diag(SemiLoc, diag::warn_empty_init_statement) in ParseCXXCondition()
2084 << FixItHint::CreateRemoval(SemiLoc); in ParseCXXCondition()
2087 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
H A DParseStmt.cpp2056 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local
2057 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement()
2058 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
H A DParser.cpp2458 SourceLocation SemiLoc = ConsumeToken(); in ParseModuleDecl() local
2461 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h140 SourceLocation SemiLoc; in alignas() local
1578 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } in getSemiLoc()
1579 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; } in setSemiLoc()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3509 SMLoc SemiLoc = Lex.getLoc(); in ParseBody() local
3511 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody()
4138 SMLoc SemiLoc = Lex.getLoc(); in ParseMultiClass() local
4140 PrintError(SemiLoc, "A multiclass body should not end with a semicolon"); in ParseMultiClass()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp69 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument
71 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
H A DSemaDeclCXX.cpp16873 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument
16874 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3200 SourceLocation SemiLoc);
5144 StmtResult ActOnNullStmt(SourceLocation SemiLoc,