/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 | 119 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); in findLocationAfterSemi() local 120 if (SemiLoc.isInvalid()) in findLocationAfterSemi() 122 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 | 1200 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() local 1201 if (SemiLoc.isMacroID()) in LexAfterModuleImport() 1202 Diag(SemiLoc, diag::err_header_import_semi_in_macro); in LexAfterModuleImport() 1213 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport() 1223 Suffix.back().setLocation(SemiLoc); in LexAfterModuleImport() 1224 Suffix.back().setAnnotationEndLoc(SemiLoc); in LexAfterModuleImport() 1282 SourceLocation SemiLoc = Result.getLocation(); in LexAfterModuleImport() local 1291 SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() 1320 makeModuleVisible(Imported, SemiLoc); in LexAfterModuleImport()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 2179 SourceLocation SemiLoc = Tok.getLocation(); in ParseCXXCondition() local 2180 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) { in ParseCXXCondition() 2181 Diag(SemiLoc, diag::warn_empty_init_statement) in ParseCXXCondition() 2183 << FixItHint::CreateRemoval(SemiLoc); in ParseCXXCondition() 2186 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
|
H A D | ParseStmt.cpp | 2071 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local 2072 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement() 2073 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
|
H A D | Parser.cpp | 2482 SourceLocation SemiLoc = ConsumeToken(); in ParseModuleDecl() local 2485 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 3515 SMLoc SemiLoc = Lex.getLoc(); in ParseBody() local 3517 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody() 4185 SMLoc SemiLoc = Lex.getLoc(); in ParseMultiClass() local 4187 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 | 140 SourceLocation SemiLoc; 1580 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } 1581 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; }
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 74 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument 76 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
|
H A D | SemaDeclCXX.cpp | 16735 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument 16736 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 5943 SourceLocation SemiLoc); 10669 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
|