Home
last modified time | relevance | path

Searched refs:SemiLoc (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp38 SourceLocation SemiLoc = S->getSemiLoc(); in isEmptyARCMTMacroStatement() local
39 if (SemiLoc.isInvalid() || SemiLoc.isMacroID()) in isEmptyARCMTMacroStatement()
47 I = std::upper_bound(MacroLocs.begin(), MacroLocs.end(), SemiLoc, in isEmptyARCMTMacroStatement()
54 if (AfterMacroLoc == SemiLoc) in isEmptyARCMTMacroStatement()
58 if (!SM.isInSameSLocAddrSpace(AfterMacroLoc, SemiLoc, &RelOffs)) in isEmptyARCMTMacroStatement()
71 return AfterMacroSemiLoc == SemiLoc; in isEmptyARCMTMacroStatement()
DTransforms.cpp125 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); in findLocationAfterSemi() local
126 if (SemiLoc.isInvalid()) in findLocationAfterSemi()
128 return SemiLoc.getLocWithOffset(1); in findLocationAfterSemi()
/external/clang/lib/Parse/
DRAIIObjectsForParser.h433 SourceLocation SemiLoc = P.ConsumeToken(); in consumeClose() local
434 P.Diag(SemiLoc, diag::err_unexpected_semi) in consumeClose()
435 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
/external/clang/include/clang/AST/
DStmt.h500 SourceLocation SemiLoc; variable
510 : Stmt(NullStmtClass), SemiLoc(L), in Stmt()
517 SourceLocation getSemiLoc() const { return SemiLoc; } in getSemiLoc()
518 void setSemiLoc(SourceLocation L) { SemiLoc = L; } in setSemiLoc()
522 SourceLocation getLocStart() const LLVM_READONLY { return SemiLoc; } in getLocStart()
523 SourceLocation getLocEnd() const LLVM_READONLY { return SemiLoc; } in getLocEnd()
/external/clang/lib/Sema/
DSemaStmt.cpp66 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument
68 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
DSemaDeclCXX.cpp11936 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument
11937 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
/external/clang/include/clang/Sema/
DSema.h1800 SourceLocation SemiLoc);
3261 StmtResult ActOnNullStmt(SourceLocation SemiLoc,