Searched refs:SemiLoc (Results 1 - 11 of 11) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransEmptyStatementsAndDealloc.cpp | 37 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 D | Transforms.cpp | 120 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); local 121 if (SemiLoc.isInvalid()) 123 return SemiLoc.getLocWithOffset(1);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | RAIIObjectsForParser.h | 451 SourceLocation SemiLoc = P.ConsumeToken(); local 452 P.Diag(SemiLoc, diag::err_unexpected_semi) 453 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc));
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 1179 SourceLocation SemiLoc = Suffix.back().getLocation(); local 1180 if (SemiLoc.isMacroID()) 1181 Diag(SemiLoc, diag::err_header_import_semi_in_macro); 1192 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); 1202 Suffix.back().setLocation(SemiLoc); 1203 Suffix.back().setAnnotationEndLoc(SemiLoc); 1260 SourceLocation SemiLoc = Result.getLocation(); 1269 SemiLoc = Suffix.back().getLocation(); 1296 makeModuleVisible(Imported, SemiLoc);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 1994 SourceLocation SemiLoc = Tok.getLocation(); 1995 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) { 1996 Diag(SemiLoc, diag::warn_empty_init_statement) 1998 << FixItHint::CreateRemoval(SemiLoc); 2001 *InitStmt = Actions.ActOnNullStmt(SemiLoc);
|
H A D | ParseStmt.cpp | 1812 SourceLocation SemiLoc = Tok.getLocation(); local 1813 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) 1814 EmptyInitStmtSemiLoc = SemiLoc;
|
H A D | Parser.cpp | 2265 SourceLocation SemiLoc = ConsumeToken(); local 2268 << SourceRange(StartLoc, SemiLoc);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 121 SourceLocation SemiLoc; member in class:clang::NullStmtBitfields 1340 SourceLocation getSemiLoc() const { return NullStmtBits.SemiLoc; } 1341 void setSemiLoc(SourceLocation L) { NullStmtBits.SemiLoc = L; }
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, argument 69 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro);
|
H A D | SemaDeclCXX.cpp | 15757 SourceLocation SemiLoc) { 15758 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 2574 SourceLocation SemiLoc); 4312 StmtResult ActOnNullStmt(SourceLocation SemiLoc,
|
Completed in 246 milliseconds