/external/clang/lib/Basic/ |
SourceLocation.cpp | 10 // This file defines accessor methods for the FullSourceLoc class. 69 // FullSourceLoc 72 FileID FullSourceLoc::getFileID() const { 78 FullSourceLoc FullSourceLoc::getExpansionLoc() const { 80 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); 83 FullSourceLoc FullSourceLoc::getSpellingLoc() const { 85 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); 88 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const [all...] |
Diagnostic.cpp | 144 FullSourceLoc Loc(L, *SourceMgr); 149 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 173 FullSourceLoc Loc(L, *SourceMgr); 174 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 228 FullSourceLoc(Loc, *SourceMgr))); 832 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); 847 StringRef Message, FullSourceLoc Loc,
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 262 /// FullSourceLoc - A SourceLocation and its associated SourceManager. Useful 264 class FullSourceLoc : public SourceLocation { 267 /// Creates a FullSourceLoc where isValid() returns false. 268 explicit FullSourceLoc() : SrcMgr(0) {} 270 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) 280 FullSourceLoc getExpansionLoc() const; 281 FullSourceLoc getSpellingLoc() const; 312 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { 319 struct BeforeThanCompare : public std::binary_function<FullSourceLoc, 320 FullSourceLoc, bool> [all...] |
Diagnostic.h | 227 FullSourceLoc Loc; 228 DiagStatePoint(DiagState *State, FullSourceLoc Loc) 258 FullSourceLoc Loc(L, *SourceMgr); 267 FullSourceLoc(Loc, *SourceMgr))); [all...] |
/external/clang/include/clang/Frontend/ |
LogDiagnosticPrinter.h | 48 FullSourceLoc LastLoc;
|
/frameworks/compile/slang/ |
slang_rs_export_foreach.cpp | 43 clang::FullSourceLoc(PVD->getLocation(), SM), 68 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 82 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 114 clang::FullSourceLoc(FD->getLocation(), 138 clang::FullSourceLoc(PVD->getLocation(), 172 clang::FullSourceLoc(PVD->getLocation(), 205 clang::FullSourceLoc(FD->getLocation(), 382 clang::FullSourceLoc(PVD->getLocation(), 395 clang::FullSourceLoc(FD->getLocation(), 405 clang::FullSourceLoc(FD->getLocation() [all...] |
slang_rs_export_var.cpp | 35 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM),
|
slang_rs_export_type.cpp | 106 clang::FullSourceLoc(TopLevelRecord->getLocation(), SM), 111 clang::FullSourceLoc(VD->getLocation(), SM), 247 clang::FullSourceLoc(FD->getLocation(), 500 clang::FullSourceLoc(VD->getLocation(), [all...] |
slang_rs_export_func.cpp | 41 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
|
slang_rs.cpp | 248 clang::FullSourceLoc FSL(FD->getLocStart(), SourceMgr);
|
slang_rs_backend.cpp | 94 clang::FullSourceLoc(FD->getLocation(), mSourceMgr),
|
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 56 FullSourceLoc Loc, unsigned CharWidth, 185 FullSourceLoc Loc, DiagnosticsEngine *Diags, 260 FullSourceLoc Loc, unsigned CharByteWidth, 904 FullSourceLoc(Loc, PP.getSourceManager()), 920 FullSourceLoc(Loc,PP.getSourceManager()), [all...] |
ModuleMap.cpp | 414 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) { 419 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc(); [all...] |
/external/clang/include/clang/Lex/ |
ModuleMap.h | 207 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
/external/clang/lib/ARCMigrate/ |
TransformActions.cpp | 65 FullSourceLoc Begin, End; 71 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); 72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); 74 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); 75 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); 106 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> 515 Inserts[FullSourceLoc(loc, SM)].push_back(text);
|
PlistReporter.cpp | 50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
|
ARCMT.cpp | 34 FullSourceLoc diagLoc = I->getLocation(); 62 FullSourceLoc diagLoc = I->getLocation();
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 109 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); 180 const FullSourceLoc &XLoc = X->getLocation().asLocation(); 181 const FullSourceLoc &YLoc = Y->getLocation().asLocation(); 372 FullSourceLoc L = PDL.asLocation(); 376 FullSourceLoc 390 return FullSourceLoc(getValidSourceLocation(S, LAC), 396 return FullSourceLoc(D->getLocation(), const_cast<SourceManager&>(*SM)); 399 return FullSourceLoc(L, const_cast<SourceManager&>(*SM));
|
HTMLDiagnostics.cpp | 315 FullSourceLoc Pos = P.getLocation().asLocation(); 441 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
|
PlistDiagnostics.cpp | 115 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 221 FullSourceLoc L = P.getLocation().asLocation();
|
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 194 /// buffer to be a valid FullSourceLoc. 195 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, 217 return FullSourceLoc(NewLoc, CSM); 235 FullSourceLoc Loc;
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
PathDiagnostic.h | 107 FullSourceLoc Loc; 118 FullSourceLoc 221 FullSourceLoc asLocation() const {
|
/external/clang/lib/Rewrite/ |
FixItRewriter.cpp | 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
|
/external/clang/lib/Sema/ |
Sema.cpp | 351 FullSourceLoc useLoc; 353 UndefinedInternal(NamedDecl *decl, FullSourceLoc useLoc) 387 // We build a FullSourceLoc so that we can sort with array_pod_sort. 388 FullSourceLoc loc(i->second, S.Context.getSourceManager()); [all...] |
/external/clang/include/clang/AST/ |
ASTContext.h | 418 FullSourceLoc getFullLoc(SourceLocation Loc) const { 419 return FullSourceLoc(Loc,SourceMgr); [all...] |