| /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 | 1231 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() local 1232 if (SemiLoc.isMacroID()) in LexAfterModuleImport() 1233 Diag(SemiLoc, diag::err_header_import_semi_in_macro); in LexAfterModuleImport() 1244 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport() 1254 Suffix.back().setLocation(SemiLoc); in LexAfterModuleImport() 1255 Suffix.back().setAnnotationEndLoc(SemiLoc); in LexAfterModuleImport() 1313 SourceLocation SemiLoc = Result.getLocation(); in LexAfterModuleImport() local 1322 SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() 1351 makeModuleVisible(Imported, SemiLoc); in LexAfterModuleImport()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1923 SourceLocation SemiLoc = Tok.getLocation(); in ParseCXXCondition() local 1924 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) { in ParseCXXCondition() 1925 Diag(SemiLoc, diag::warn_empty_init_statement) in ParseCXXCondition() 1927 << FixItHint::CreateRemoval(SemiLoc); in ParseCXXCondition() 1930 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
|
| H A D | ParseStmt.cpp | 1945 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local 1946 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement() 1947 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
|
| H A D | Parser.cpp | 2363 SourceLocation SemiLoc = ConsumeToken(); in ParseModuleDecl() local 2367 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 3602 SMLoc SemiLoc = Lex.getLoc(); in ParseBody() local 3604 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody() 4271 SMLoc SemiLoc = Lex.getLoc(); in ParseMultiClass() local 4273 PrintError(SemiLoc, "A multiclass body should not end with a semicolon"); in ParseMultiClass()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 142 SourceLocation SemiLoc; 1705 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } 1706 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; }
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 1978 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt() local 1979 ReplaceText(semiLoc, 1, ");"); in RewriteObjCThrowStmt() 4296 SourceLocation semiLoc = in RewriteByRefVar() local 4299 InsertText(semiLoc, "}"); in RewriteByRefVar()
|
| H A D | RewriteModernObjC.cpp | 2061 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt() local 2063 ReplaceText(semiLoc, 1, ");"); in RewriteObjCThrowStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 70 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument 72 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
|
| H A D | SemaDeclCXX.cpp | 17211 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument 17212 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 6365 SourceLocation SemiLoc); 10884 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
|