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.h512 SourceLocation SemiLoc; variable
522 : Stmt(NullStmtClass), SemiLoc(L), in Stmt()
529 SourceLocation getSemiLoc() const { return SemiLoc; } in getSemiLoc()
530 void setSemiLoc(SourceLocation L) { SemiLoc = L; } in setSemiLoc()
534 SourceLocation getLocStart() const LLVM_READONLY { return SemiLoc; } in getLocStart()
535 SourceLocation getLocEnd() const LLVM_READONLY { return SemiLoc; } in getLocEnd()
/external/clang/lib/Sema/
DSemaStmt.cpp67 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc, in ActOnNullStmt() argument
69 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
DSemaDeclCXX.cpp12172 SourceLocation SemiLoc) { in ActOnEmptyDeclaration() argument
12173 Decl *ED = EmptyDecl::Create(Context, CurContext, SemiLoc); in ActOnEmptyDeclaration()
/external/clang/include/clang/Sema/
DSema.h1847 SourceLocation SemiLoc);
3343 StmtResult ActOnNullStmt(SourceLocation SemiLoc,