/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 37 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 D | Transforms.cpp | 118 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 D | RAIIObjectsForParser.h | 486 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 D | Preprocessor.cpp | 1191 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 D | ParseExprCXX.cpp | 2080 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 D | ParseStmt.cpp | 2056 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local 2057 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement() 2058 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
|
H A D | Parser.cpp | 2458 SourceLocation SemiLoc = ConsumeToken(); in ParseModuleDecl() local 2461 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 140 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 D | TGParser.cpp | 3509 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 D | SemaStmt.cpp | 69 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument 71 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
|
H A D | SemaDeclCXX.cpp | 16873 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 D | Sema.h | 3200 SourceLocation SemiLoc); 5144 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
|