/external/clang/lib/Basic/ |
SourceLocation.cpp | 10 // This file defines accessor methods for the FullSourceLoc class. 76 // FullSourceLoc 79 FileID FullSourceLoc::getFileID() const { 85 FullSourceLoc FullSourceLoc::getExpansionLoc() const { 87 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); 90 FullSourceLoc FullSourceLoc::getSpellingLoc() const { 92 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); 95 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const [all...] |
Diagnostic.cpp | 122 DiagStatePoints.push_back(DiagStatePoint(&DiagStates.back(), FullSourceLoc())); 151 FullSourceLoc Loc(L, *SourceMgr); 156 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 175 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc(); 176 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 230 FullSourceLoc(Loc, *SourceMgr))); [all...] |
/external/clang/include/clang/Basic/ |
SourceLocation.h | 267 class FullSourceLoc : public SourceLocation { 270 /// \brief Creates a FullSourceLoc where isValid() returns \c false. 271 explicit FullSourceLoc() : SrcMgr(0) {} 273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) 276 /// \pre This FullSourceLoc has an associated SourceManager. 284 FullSourceLoc getExpansionLoc() const; 285 FullSourceLoc getSpellingLoc() const; 317 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { 324 struct BeforeThanCompare : public std::binary_function<FullSourceLoc, 325 FullSourceLoc, bool> [all...] |
Diagnostic.h | 232 FullSourceLoc Loc; 233 DiagStatePoint(DiagState *State, FullSourceLoc Loc) 265 FullSourceLoc Loc(L, getSourceManager()); [all...] |
/external/clang/unittests/Tooling/ |
TestVisitor.h | 133 const FullSourceLoc FullLocation = this->Context->getFullLoc(Location); 160 bool Matches(StringRef Name, FullSourceLoc const &Location) const { 164 bool PartiallyMatches(StringRef Name, FullSourceLoc const &Location) const { 172 bool MatchesLocation(FullSourceLoc const &Location) const { 189 void UpdateFor(StringRef Name, FullSourceLoc Location, SourceManager &SM) {
|
/frameworks/compile/slang/ |
slang_rs_export_foreach.cpp | 43 clang::FullSourceLoc(PVD->getLocation(), SM), 68 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 93 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 125 clang::FullSourceLoc(FD->getLocation(), 149 clang::FullSourceLoc(PVD->getLocation(), 183 clang::FullSourceLoc(PVD->getLocation(), 216 clang::FullSourceLoc(FD->getLocation(), 240 clang::FullSourceLoc(FD->getLocation(), 260 clang::FullSourceLoc(FD->getTypeSpecStartLoc(), 282 clang::FullSourceLoc(PVD->getLocation() [all...] |
slang_rs_check_ast.cpp | 126 clang::FullSourceLoc(E->getLocStart(), mSM), 208 clang::FullSourceLoc(VD->getLocation(), mSM), 251 clang::FullSourceLoc(CE->getExprLoc(), 257 clang::FullSourceLoc(CE->getExprLoc(),
|
slang_rs_export_var.cpp | 36 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM),
|
slang_rs_export_type.cpp | 105 clang::FullSourceLoc(TopLevelRecord->getLocation(), SM), 110 clang::FullSourceLoc(ND->getLocation(), SM), 246 clang::FullSourceLoc(FD->getLocation(), 463 clang::FullSourceLoc(Loc, C.getSourceManager()), 470 clang::FullSourceLoc(Loc, C.getSourceManager()), 487 clang::FullSourceLoc(Loc, C.getSourceManager()), 558 clang::FullSourceLoc(VD->getLocation(), [all...] |
slang_rs_export_func.cpp | 41 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
|
slang_rs_backend.cpp | 99 clang::FullSourceLoc(FD->getLocation(), mSourceMgr), 119 clang::FullSourceLoc(PVD->getTypeSpecStartLoc(), mSourceMgr),
|
/external/clang/include/clang/Frontend/ |
LogDiagnosticPrinter.h | 48 FullSourceLoc LastLoc;
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 225 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); 286 FullSourceLoc XSL = X.getStartLocation().asLocation(); 287 FullSourceLoc YSL = Y.getStartLocation().asLocation(); 290 FullSourceLoc XEL = X.getEndLocation().asLocation(); 291 FullSourceLoc YEL = Y.getEndLocation().asLocation(); 304 FullSourceLoc X_CEL = X.callEnter.asLocation(); 305 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); 308 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); 309 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); 312 FullSourceLoc X_CRL = X.callReturn.asLocation() [all...] |
PlistDiagnostics.cpp | 112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 231 FullSourceLoc L = P.getLocation().asLocation(); 516 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), 518 FullSourceLoc UFunL(SM->getExpansionLoc( 526 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), 528 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
|
HTMLDiagnostics.cpp | 274 FullSourceLoc Pos = P.getLocation().asLocation(); 409 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
|
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 46 FullSourceLoc TokLoc, 65 const LangOptions &Features, FullSourceLoc TokLoc, 80 FullSourceLoc Loc, unsigned CharWidth, 220 FullSourceLoc Loc, DiagnosticsEngine *Diags, 298 FullSourceLoc Loc; 327 FullSourceLoc Loc, unsigned CharByteWidth, [all...] |
/external/clang/lib/ARCMigrate/ |
TransformActions.cpp | 66 FullSourceLoc Begin, End; 72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); 73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); 75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); 76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); 107 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> 516 Inserts[FullSourceLoc(loc, SM)].push_back(text);
|
PlistReporter.cpp | 50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
|
ARCMT.cpp | 35 FullSourceLoc diagLoc = I->getLocation(); 64 FullSourceLoc diagLoc = I->getLocation();
|
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 213 /// buffer to be a valid FullSourceLoc. 214 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, 236 return FullSourceLoc(NewLoc, CSM); 254 FullSourceLoc Loc;
|
/external/clang/include/clang/Lex/ |
ModuleMap.h | 320 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
PathDiagnostic.h | 134 FullSourceLoc Loc; 143 FullSourceLoc 265 FullSourceLoc asLocation() const {
|
/external/chromium_org/tools/clang/plugins/ |
FindBadConstructs.cpp | 273 FullSourceLoc full_loc(loc, manager); 327 FullSourceLoc loc(type_info_range.getBegin(), manager);
|
ChromeClassTester.cpp | 101 FullSourceLoc full(loc, instance().getSourceManager());
|
/external/clang/lib/Rewrite/Frontend/ |
FixItRewriter.cpp | 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
|