Home
last modified time | relevance | path

Searched full:semiloc (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h486 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 DPreprocessor.cpp1231 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 DParseExprCXX.cpp1923 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 DParseStmt.cpp1945 SourceLocation SemiLoc = Tok.getLocation(); in ParseForStatement() local
1946 if (!Tok.hasLeadingEmptyMacro() && !SemiLoc.isMacroID()) in ParseForStatement()
1947 EmptyInitStmtSemiLoc = SemiLoc; in ParseForStatement()
H A DParser.cpp2363 SourceLocation SemiLoc = ConsumeToken(); in ParseModuleDecl() local
2367 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp3602 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 DStmt.h142 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 DRewriteObjC.cpp1978 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 DRewriteModernObjC.cpp2061 SourceLocation semiLoc = startLoc.getLocWithOffset(semiBuf-startBuf); in RewriteObjCThrowStmt() local
2063 ReplaceText(semiLoc, 1, ");"); in RewriteObjCThrowStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp70 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument
72 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
H A DSemaDeclCXX.cpp17211 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 DSema.h6365 SourceLocation SemiLoc);
10884 StmtResult ActOnNullStmt(SourceLocation SemiLoc,