/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 132 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in getPreprocessedEntitiesInRangeSlow() 164 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findLocalPreprocessedEntitiesInRange() 182 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()() 187 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()() 192 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator ()() 222 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), in findBeginLocalPreprocessedEntity() 254 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 263 !SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 283 if (!SourceMgr.isBeforeInTranslationUnit(BeginLoc, in addPreprocessedEntity() 436 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) in rangeIntersectsConditionalDirective() [all …]
|
/external/clang/unittests/Basic/ |
D | SourceManagerTest.cpp | 59 TEST_F(SourceManagerTest, isBeforeInTranslationUnit) { in TEST_F() argument 104 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); in TEST_F() 105 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc)); in TEST_F() 106 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(macroExpStartLoc, idLoc)); in TEST_F() 107 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, macroExpEndLoc)); in TEST_F() 335 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc)); in TEST_F() 339 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[7].Loc, Macros[8].Loc)); in TEST_F()
|
/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 324 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); in operator() 327 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); in operator() 330 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc()); in operator()
|
/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 115 return SrcMgr->isBeforeInTranslationUnit(*this, Loc); in isBeforeInTranslationUnitThan()
|
D | SourceManager.cpp | 1798 bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, in isBeforeInTranslationUnit() function in SourceManager
|
/external/clang/include/clang/AST/ |
D | RawCommentList.h | 166 return SM.isBeforeInTranslationUnit(LHS.getSourceRange().getBegin(), in operator()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 341 assert(!PP.getSourceManager().isBeforeInTranslationUnit(origLoc, in ParseLexedMethodDeclaration() 405 assert(!PP.getSourceManager().isBeforeInTranslationUnit(origLoc, in ParseLexedMethodDef() 436 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), in ParseLexedMethodDef()
|
D | ParseObjc.cpp | 2910 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), in ParseLexedObjCMethodDefs()
|
D | ParseDecl.cpp | 953 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), in ParseLexedAttribute()
|
/external/clang/lib/ARCMigrate/ |
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/include/clang/Basic/ |
D | SourceManager.h | 1320 bool isBeforeInTranslationUnit(SourceLocation LHS, SourceLocation RHS) const; 1578 return SM.isBeforeInTranslationUnit(LHS, RHS); in operator() 1591 return SM.isBeforeInTranslationUnit(LHS.getBegin(), RHS.getBegin()); in operator()
|
/external/clang/lib/AST/ |
D | RawCommentList.cpp | 211 !SourceMgr.isBeforeInTranslationUnit( in addComment()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 273 return SM.isBeforeInTranslationUnit(XR.getBegin(), YR.getBegin()); in comparePiece() 274 return SM.isBeforeInTranslationUnit(XR.getEnd(), YR.getEnd()); in comparePiece() 330 return SM.isBeforeInTranslationUnit(XDL, YDL); in compare()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 82 SM.isBeforeInTranslationUnit(R1.getEnd(), R2.getBegin())) in RangeCompare() 85 SM.isBeforeInTranslationUnit(R2.getEnd(), R1.getBegin())) in RangeCompare() 98 if (SM.isBeforeInTranslationUnit(L, R.getBegin())) in LocationCompare() 100 if (SM.isBeforeInTranslationUnit(R.getEnd(), L)) in LocationCompare() 891 if (SM.isBeforeInTranslationUnit(L, EndLoc)) { in addRangedDeclsInContainer() 908 return SM.isBeforeInTranslationUnit(L_A, L_B); in operator ()() 4160 SrcMgr.isBeforeInTranslationUnit(StartLoc, R.getBegin())) in getFullCursorExtent() 5118 SrcMgr.isBeforeInTranslationUnit(StartLoc, L)) in Visit() 5244 if (!SM.isBeforeInTranslationUnit(getTokenLoc(CurIdx), in visit() 5254 if (!SM.isBeforeInTranslationUnit(tokLoc, macroRange.getEnd())) in visit()
|
D | CXCursor.cpp | 922 if (SM.isBeforeInTranslationUnit(Loc, Category->getLocation())) in collectOnCategoriesAfterLocation()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 3496 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 3501 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 3506 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 3549 if (SourceMgr.isBeforeInTranslationUnit(ReadSourceLocation(M, PPI->End), in findBeginPreprocessedEntity() 3601 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); in findPreprocessedEntitiesInRange() 4820 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 4825 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()() 4830 return Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS); in operator ()()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 991 return SM.isBeforeInTranslationUnit(left.first.first, right.first.first); in operator ()()
|
D | SemaType.cpp | 1761 if (!Loc.isValid() || SM.isBeforeInTranslationUnit(ConstQualLoc, Loc)) in DiagnoseIgnoredQualifiers() 1768 if (!Loc.isValid() || SM.isBeforeInTranslationUnit(VolatileQualLoc, Loc)) in DiagnoseIgnoredQualifiers() 1775 if (!Loc.isValid() || SM.isBeforeInTranslationUnit(RestrictQualLoc, Loc)) in DiagnoseIgnoredQualifiers()
|
D | SemaOverload.cpp | 8690 return S.SourceMgr.isBeforeInTranslationUnit(LLoc, RLoc); in operator ()()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 3683 return Context->getSourceManager().isBeforeInTranslationUnit( in IsTagDefinedInsideClass() 3691 return Context->getSourceManager().isBeforeInTranslationUnit( in IsTagDefinedInsideClass()
|