/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( in addPreprocessedEntity() 261 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 289 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 | 204 SM.isBeforeInTranslationUnit(Def.getLocation(), L)) in findDirectiveAtLoc() 206 SM.isBeforeInTranslationUnit(L, Def.getUndefLocation())) in findDirectiveAtLoc()
|
D | Preprocessor.cpp | 353 SourceMgr.isBeforeInTranslationUnit(BestLocation, Location))) { in getLastMacroWithSpelling()
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 71 TEST_F(SourceManagerTest, isBeforeInTranslationUnit) { in TEST_F() argument 118 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); in TEST_F() 119 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc)); in TEST_F() 120 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(macroExpStartLoc, idLoc)); in TEST_F() 121 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, macroExpEndLoc)); in TEST_F() 357 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc)); in TEST_F() 361 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/Format/ |
D | AffectedRangeManager.cpp | 65 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), I->getBegin()) && in affectsCharSourceRange() 66 !SourceMgr.isBeforeInTranslationUnit(I->getEnd(), Range.getBegin())) in affectsCharSourceRange()
|
D | WhitespaceManager.cpp | 23 return SourceMgr.isBeforeInTranslationUnit( in operator ()()
|
D | Format.cpp | 1181 return SM.isBeforeInTranslationUnit(LHS->Tok.getLocation(), 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 | 509 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 | 2034 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/include/clang/Basic/ |
D | SourceManager.h | 1468 bool isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const; 1699 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator() 1712 return SM.isBeforeInTranslationUnit(LHS.getBegin(), RHS.getBegin()); in operator()
|
/external/clang/lib/AST/ |
D | RawCommentList.cpp | 279 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getLocStart(), in addComment()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 339 return SM.isBeforeInTranslationUnit(XR.getBegin(), YR.getBegin()); in comparePiece() 340 return SM.isBeforeInTranslationUnit(XR.getEnd(), YR.getEnd()); in comparePiece() 400 return SM.isBeforeInTranslationUnit(XDL, YDL); in compare()
|
D | BugReporter.cpp | 2270 if (SM.isBeforeInTranslationUnit(SecondLoc, FirstLoc)) in removePunyEdges()
|
/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 976 S.getSourceManager().isBeforeInTranslationUnit(ExtraLocs[I], in Finish() 1126 if (S.getSourceManager().isBeforeInTranslationUnit( in Finish()
|
D | AnalysisBasedWarnings.cpp | 1273 return SM.isBeforeInTranslationUnit(LHS.first->getLocStart(), in diagnoseRepeatedUseOfWeak() 1460 return SM.isBeforeInTranslationUnit(left.first.first, right.first.first); in operator ()()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 110 SM.isBeforeInTranslationUnit(R1.getEnd(), R2.getBegin())) in RangeCompare() 113 SM.isBeforeInTranslationUnit(R2.getEnd(), R1.getBegin())) in RangeCompare() 126 if (SM.isBeforeInTranslationUnit(L, R.getBegin())) in LocationCompare() 128 if (SM.isBeforeInTranslationUnit(R.getEnd(), L)) in LocationCompare() 969 if (SM.isBeforeInTranslationUnit(L, EndLoc)) { in addRangedDeclsInContainer() 1022 return SM.isBeforeInTranslationUnit(L_A, L_B); in VisitObjCContainerDecl() 5434 SrcMgr.isBeforeInTranslationUnit(StartLoc, R.getBegin())) in getFullCursorExtent() 6541 if (!SM.isBeforeInTranslationUnit(getTokenLoc(CurIdx), in visit() 6551 if (!SM.isBeforeInTranslationUnit(tokLoc, macroRange.getEnd())) in visit() 7882 if (SM.isBeforeInTranslationUnit(Tok.getLocation(), DefRange.getBegin())) in checkForMacroInMacroDefinition() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 4991 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 4996 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 5001 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 5046 if (SourceMgr.isBeforeInTranslationUnit( in findPreprocessedEntity() 5068 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findPreprocessedEntitiesInRange() 6575 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 6580 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 6585 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 468 if (SM.isBeforeInTranslationUnit(getStart(S), S->getLocStart())) in propagateCounts()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 3670 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), in ParseLexedObjCMethodDefs()
|