/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 59 TEST_F(SourceManagerTest, isBeforeInTranslationUnit) { 104 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); 105 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc)); 106 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(macroExpStartLoc, idLoc)); 107 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, macroExpEndLoc)); 287 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc)); 291 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[7].Loc, Macros[8].Loc));
|
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 132 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 164 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 182 return SM.isBeforeInTranslationUnit(LHS, RHS); 187 return SM.isBeforeInTranslationUnit(LHS, RHS); 192 return SM.isBeforeInTranslationUnit(LHS, RHS); 222 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), 254 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, 263 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, 283 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, 436 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc()) [all...] |
/external/clang/lib/Basic/ |
SourceLocation.cpp | 115 return SrcMgr->isBeforeInTranslationUnit(*this, Loc);
|
SourceManager.cpp | [all...] |
/external/clang/include/clang/Lex/ |
PreprocessingRecord.h | 324 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); 327 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); 330 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
|
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 339 assert(!PP.getSourceManager().isBeforeInTranslationUnit(origLoc, 409 assert(!PP.getSourceManager().isBeforeInTranslationUnit(origLoc, 473 assert(!PP.getSourceManager().isBeforeInTranslationUnit(origLoc, 503 // expensive isBeforeInTranslationUnit call. 504 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(),
|
ParseObjc.cpp | [all...] |
ParseDecl.cpp | 835 // expensive isBeforeInTranslationUnit call. 836 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), [all...] |
/external/clang/lib/ARCMigrate/ |
TransAutoreleasePool.cpp | 289 if (SM.isBeforeInTranslationUnit(loc, ScopeRange.getBegin())) 291 return SM.isBeforeInTranslationUnit(loc, ScopeRange.getEnd());
|
TransformActions.cpp | 509 if (!SM.isBeforeInTranslationUnit(loc, I->End))
|
/external/clang/include/clang/Basic/ |
SourceManager.h | 405 /// isBeforeInTranslationUnit. The cache structure is complex enough to be 573 // Cache results for the isBeforeInTranslationUnit method. [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | 80 SM.isBeforeInTranslationUnit(R1.getEnd(), R2.getBegin())) 83 SM.isBeforeInTranslationUnit(R2.getEnd(), R1.getBegin())) 96 if (SM.isBeforeInTranslationUnit(L, R.getBegin())) 98 if (SM.isBeforeInTranslationUnit(R.getEnd(), L)) 874 if (SM.isBeforeInTranslationUnit(L, EndLoc)) { 891 return SM.isBeforeInTranslationUnit(L_A, L_B); [all...] |
/external/clang/lib/Serialization/ |
ASTReader.cpp | [all...] |
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 633 return SM.isBeforeInTranslationUnit(left.first.first, right.first.first); [all...] |
SemaType.cpp | [all...] |
SemaOverload.cpp | [all...] |
/frameworks/compile/slang/ |
slang_rs_object_ref_count.cpp | 235 if (SM.isBeforeInTranslationUnit(S->getLocStart(), mVarLoc)) { [all...] |