Searched refs:FullSourceLoc (Results 1 - 25 of 32) sorted by relevance

12

/external/clang/lib/Basic/
H A DSourceLocation.cpp10 // 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
[all...]
H A DDiagnostic.cpp122 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)));
941 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager());
956 StringRef Message, FullSourceLoc Lo
[all...]
/external/clang/include/clang/Basic/
H A DSourceLocation.h267 class FullSourceLoc : public SourceLocation { class in namespace:clang
270 /// \brief Creates a FullSourceLoc where isValid() returns \c false.
271 explicit FullSourceLoc() : SrcMgr(0) {} function in class:clang::FullSourceLoc
273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) function in class:clang::FullSourceLoc
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, boo
[all...]
H A DDiagnostic.h232 FullSourceLoc Loc;
233 DiagStatePoint(DiagState *State, FullSourceLoc Loc)
265 FullSourceLoc Loc(L, getSourceManager());
1209 FullSourceLoc Loc;
1220 StringRef Message, FullSourceLoc Loc,
1230 const FullSourceLoc &getLocation() const { return Loc; }
1233 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; }
H A DSourceManager.h524 typedef ArrayRef<std::pair<std::string, FullSourceLoc> > ModuleBuildStack;
690 SmallVector<std::pair<std::string, FullSourceLoc>, 2> StoredModuleBuildStack;
728 void pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc) {
/external/clang/include/clang/Frontend/
H A DLogDiagnosticPrinter.h48 FullSourceLoc LastLoc;
/external/clang/unittests/Tooling/
H A DTestVisitor.h133 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) {
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp225 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_CR
[all...]
H A DPlistDiagnostics.cpp112 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);
H A DHTMLDiagnostics.cpp274 FullSourceLoc Pos = P.getLocation().asLocation();
409 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
/external/clang/lib/Lex/
H A DLiteralSupport.cpp46 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,
1035 FullSourceLoc(Loc, PP.getSourceManager()),
1051 FullSourceLoc(Loc,PP.getSourceManager()),
1359 FullSourceLoc(StringToks[i].getLocation(), SM),
1366 FullSourceLoc(StringTok
[all...]
H A DModuleMap.cpp677 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) {
682 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc();
/external/clang/lib/ARCMigrate/
H A DTransformActions.cpp66 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);
H A DPlistReporter.cpp50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
H A DARCMT.cpp35 FullSourceLoc diagLoc = I->getLocation();
64 FullSourceLoc diagLoc = I->getLocation();
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp213 /// 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/
H A DModuleMap.h320 Module *inferModuleFromLocation(FullSourceLoc Loc);
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h134 FullSourceLoc Loc;
143 FullSourceLoc
265 FullSourceLoc asLocation() const {
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructs.cpp254 FullSourceLoc full_loc(loc, manager);
308 FullSourceLoc loc(type_info_range.getBegin(), manager);
H A DChromeClassTester.cpp101 FullSourceLoc full(loc, instance().getSourceManager());
/external/clang/lib/Rewrite/Frontend/
H A DFixItRewriter.cpp78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
H A DInclusionRewriter.cpp149 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID();
/external/clang/include/clang/AST/
H A DASTContext.h489 FullSourceLoc getFullLoc(SourceLocation Loc) const {
490 return FullSourceLoc(Loc,SourceMgr);
/external/clang/lib/Frontend/
H A DASTUnit.cpp1089 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), SM);
2611 FullSourceLoc Loc(L, SrcMgr);
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.cc1179 d_.Report(clang::FullSourceLoc(expr->getExprLoc(), sm_),

Completed in 499 milliseconds

12