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

/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp37 SourceLocation SemiLoc = S->getSemiLoc();
38 if (SemiLoc.isInvalid() || SemiLoc.isMacroID())
46 MacroLocs, SemiLoc, BeforeThanCompare<SourceLocation>(SM));
52 if (AfterMacroLoc == SemiLoc)
56 if (!SM.isInSameSLocAddrSpace(AfterMacroLoc, SemiLoc, &RelOffs))
69 return AfterMacroSemiLoc == SemiLoc;
H A DTransforms.cpp120 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); local
121 if (SemiLoc.isInvalid())
123 return SemiLoc.getLocWithOffset(1);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h451 SourceLocation SemiLoc = P.ConsumeToken(); local
452 P.Diag(SemiLoc, diag::err_unexpected_semi)
453 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc));
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DPreprocessor.cpp1175 SourceLocation SemiLoc = Suffix.back().getLocation(); local
1176 if (SemiLoc.isMacroID())
1177 Diag(SemiLoc, diag::err_header_import_semi_in_macro);
1188 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc);
1198 Suffix.back().setLocation(SemiLoc);
1199 Suffix.back().setAnnotationEndLoc(SemiLoc);
1256 SourceLocation SemiLoc = Result.getLocation();
1265 SemiLoc = Suffix.back().getLocation();
1292 makeModuleVisible(Imported, SemiLoc);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp1992 SourceLocation SemiLoc = Tok.getLocation();
1993 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) {
1994 Diag(SemiLoc, diag::warn_empty_init_statement)
1996 << FixItHint::CreateRemoval(SemiLoc);
1999 *InitStmt = Actions.ActOnNullStmt(SemiLoc);
H A DParseStmt.cpp1838 SourceLocation SemiLoc = Tok.getLocation(); local
1839 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID())
1840 EmptyInitStmtSemiLoc = SemiLoc;
H A DParser.cpp2309 SourceLocation SemiLoc = ConsumeToken(); local
2312 << SourceRange(StartLoc, SemiLoc);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp2944 SMLoc SemiLoc = Lex.getLoc(); local
2946 PrintError(SemiLoc, "A class or def body should not end with a semicolon");
3538 SMLoc SemiLoc = Lex.getLoc(); local
3540 PrintError(SemiLoc, "A multiclass body should not end with a semicolon");
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h121 SourceLocation SemiLoc; member in class:clang::NullStmtBitfields
1374 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; }
1375 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; }
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp68 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, argument
70 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro);
H A DSemaDeclCXX.cpp15896 SourceLocation SemiLoc) {
15897 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h2851 SourceLocation SemiLoc);
4603 StmtResult ActOnNullStmt(SourceLocation SemiLoc,

Completed in 479 milliseconds