| /netbsd-src/external/apache2/llvm/dist/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 | 120 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); in findLocationAfterSemi() local 121 if (SemiLoc.isInvalid()) in findLocationAfterSemi() 123 return SemiLoc.getLocWithOffset(1); in findLocationAfterSemi()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 451 SourceLocation SemiLoc = P.ConsumeToken(); in consumeClose() local 452 P.Diag(SemiLoc, diag::err_unexpected_semi) in consumeClose() 453 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | Preprocessor.cpp | 1175 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() local 1176 if (SemiLoc.isMacroID()) in LexAfterModuleImport() 1177 Diag(SemiLoc, diag::err_header_import_semi_in_macro); in LexAfterModuleImport() 1188 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport() 1198 Suffix.back().setLocation(SemiLoc); in LexAfterModuleImport() 1199 Suffix.back().setAnnotationEndLoc(SemiLoc); in LexAfterModuleImport() 1256 SourceLocation SemiLoc = Result.getLocation(); in LexAfterModuleImport() local 1265 SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() 1292 makeModuleVisible(Imported, SemiLoc); in LexAfterModuleImport()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1992 SourceLocation SemiLoc = Tok.getLocation(); in ParseCXXCondition() local 1993 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) { in ParseCXXCondition() 1994 Diag(SemiLoc, diag::warn_empty_init_statement) in ParseCXXCondition() 1996 << FixItHint::CreateRemoval(SemiLoc); in ParseCXXCondition() 1999 *InitStmt = Actions.ActOnNullStmt(SemiLoc); in ParseCXXCondition()
|
| H A D | ParseStmt.cpp | 1838 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local 1839 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement() 1840 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
|
| H A D | Parser.cpp | 2309 SourceLocation SemiLoc = ConsumeToken(); in ParseModuleDecl() local 2312 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 2944 SMLoc SemiLoc = Lex.getLoc(); in ParseBody() local 2946 PrintError(SemiLoc, "A class or def body should not end with a semicolon"); in ParseBody() 3538 SMLoc SemiLoc = Lex.getLoc(); in ParseMultiClass() local 3540 PrintError(SemiLoc, "A multiclass body should not end with a semicolon"); in ParseMultiClass()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | Stmt.h | 121 SourceLocation SemiLoc; variable 1374 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } in getSemiLoc() 1375 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; } in setSemiLoc()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 68 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument 70 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
|
| H A D | SemaDeclCXX.cpp | 15896 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument 15897 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 2851 SourceLocation SemiLoc); 4603 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
|