/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 129 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow() 161 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange() 179 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()() 184 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()() 189 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()() 219 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), in findBeginLocalPreprocessedEntity() 251 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 260 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 288 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity()
|
D | PPConditionalDirectiveRecord.cpp | 35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective() 55 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in findConditionalDirectiveRegionLoc() 73 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), in addCondDirectiveLoc()
|
D | MacroInfo.cpp | 200 SM.isBeforeInTranslationUnit(Def.getLocation(), L)) in findDirectiveAtLoc() 202 SM.isBeforeInTranslationUnit(L, Def.getUndefLocation())) in findDirectiveAtLoc()
|
D | Preprocessor.cpp | 336 SourceMgr.isBeforeInTranslationUnit(BestLocation, Location))) { in getLastMacroWithSpelling()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 73 TEST_F(SourceManagerTest, isBeforeInTranslationUnit) { in TEST_F() argument 119 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); in TEST_F() 120 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc)); in TEST_F() 121 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(macroExpStartLoc, idLoc)); in TEST_F() 122 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, macroExpEndLoc)); in TEST_F() 353 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc)); in TEST_F() 357 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[7].Loc, Macros[8].Loc)); in TEST_F()
|
/external/clang/include/clang/Lex/ |
D | PPConditionalDirectiveRecord.h | 48 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); in operator() 51 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); in operator() 54 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); in operator()
|
/external/clang/lib/ARCMigrate/ |
D | TransProtectedScope.cpp | 193 return !SM.isBeforeInTranslationUnit(Loc, R.getBegin()) && in isInRange() 194 SM.isBeforeInTranslationUnit(Loc, R.getEnd()); in isInRange()
|
D | TransAutoreleasePool.cpp | 290 if (SM.isBeforeInTranslationUnit(loc, ScopeRange.getBegin())) in isInScope() 292 return SM.isBeforeInTranslationUnit(loc, ScopeRange.getEnd()); in isInScope()
|
D | TransformActions.cpp | 510 if (!SM.isBeforeInTranslationUnit(loc, I->End)) in addInsertion()
|
/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 123 return SrcMgr->isBeforeInTranslationUnit(*this, Loc); in isBeforeInTranslationUnitThan()
|
D | SourceManager.cpp | 2019 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit() function in SourceManager
|
/external/clang/include/clang/AST/ |
D | RawCommentList.h | 172 return SM.isBeforeInTranslationUnit(LHS.getLocStart(), RHS.getLocStart()); in operator()
|
/external/clang/lib/AST/ |
D | RawCommentList.cpp | 220 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getLocStart(), in addComment()
|
D | Decl.cpp | 2818 !SM.isBeforeInTranslationUnit(RTRange.getEnd(), Boundary)) in getReturnTypeSourceRange()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1431 bool isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const; 1660 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator() 1673 return SM.isBeforeInTranslationUnit(LHS.getBegin(), RHS.getBegin()); in operator()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 342 return SM.isBeforeInTranslationUnit(XR.getBegin(), YR.getBegin()); in comparePiece() 343 return SM.isBeforeInTranslationUnit(XR.getEnd(), YR.getEnd()); in comparePiece() 403 return SM.isBeforeInTranslationUnit(XDL, YDL); in compare()
|
D | BugReporter.cpp | 2272 if (SM.isBeforeInTranslationUnit(SecondLoc, FirstLoc)) in removePunyEdges()
|
/external/clang/lib/Format/ |
D | WhitespaceManager.cpp | 23 return SourceMgr.isBeforeInTranslationUnit( in operator ()()
|
D | Format.cpp | 1386 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), I->getBegin()) && in affectsCharSourceRange() 1387 !SourceMgr.isBeforeInTranslationUnit(I->getEnd(), Range.getBegin())) in affectsCharSourceRange()
|
/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 953 PP.getSourceManager().isBeforeInTranslationUnit(ExtraLocs[I], in Finish() 1095 if (PP.getSourceManager().isBeforeInTranslationUnit( in Finish()
|
D | Sema.cpp | 481 return SM.isBeforeInTranslationUnit(l.second, r.second); in getUndefinedButUsed() 482 return SM.isBeforeInTranslationUnit(l.first->getLocation(), in getUndefinedButUsed()
|
D | AnalysisBasedWarnings.cpp | 1244 return SM.isBeforeInTranslationUnit(LHS.first->getLocStart(), in diagnoseRepeatedUseOfWeak() 1431 return SM.isBeforeInTranslationUnit(left.first.first, right.first.first); in operator ()()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 112 SM.isBeforeInTranslationUnit(R1.getEnd(), R2.getBegin())) in RangeCompare() 115 SM.isBeforeInTranslationUnit(R2.getEnd(), R1.getBegin())) in RangeCompare() 128 if (SM.isBeforeInTranslationUnit(L, R.getBegin())) in LocationCompare() 130 if (SM.isBeforeInTranslationUnit(R.getEnd(), L)) in LocationCompare() 948 if (SM.isBeforeInTranslationUnit(L, EndLoc)) { in addRangedDeclsInContainer() 1001 return SM.isBeforeInTranslationUnit(L_A, L_B); in VisitObjCContainerDecl() 4817 SrcMgr.isBeforeInTranslationUnit(StartLoc, R.getBegin())) in getFullCursorExtent() 5913 if (!SM.isBeforeInTranslationUnit(getTokenLoc(CurIdx), in visit() 5923 if (!SM.isBeforeInTranslationUnit(tokLoc, macroRange.getEnd())) in visit() 7186 if (SM.isBeforeInTranslationUnit(Tok.getLocation(), DefRange.getBegin())) in checkForMacroInMacroDefinition() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5020 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 5025 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 5030 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 5075 if (SourceMgr.isBeforeInTranslationUnit(ReadSourceLocation(M, PPI->End), in findPreprocessedEntity() 5097 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findPreprocessedEntitiesInRange() 6519 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 6524 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 6529 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 2922 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), in ParseLexedObjCMethodDefs()
|