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

12

/freebsd-10-stable/contrib/llvm/tools/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...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h267 class FullSourceLoc : public SourceLocation { class in class:clang::SourceLocation
270 /// \brief Creates a FullSourceLoc where isValid() returns \c false.
271 explicit FullSourceLoc() : SrcMgr(0) {} function in class:clang::SourceLocation::FullSourceLoc
273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) function in class:clang::SourceLocation::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.h231 FullSourceLoc Loc;
232 DiagStatePoint(DiagState *State, FullSourceLoc Loc)
264 FullSourceLoc Loc(L, getSourceManager());
1208 FullSourceLoc Loc;
1219 StringRef Message, FullSourceLoc Loc,
1229 const FullSourceLoc &getLocation() const { return Loc; }
1232 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) {
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
H A DLogDiagnosticPrinter.h48 FullSourceLoc LastLoc;
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp224 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc();
285 FullSourceLoc XSL = X.getStartLocation().asLocation();
286 FullSourceLoc YSL = Y.getStartLocation().asLocation();
289 FullSourceLoc XEL = X.getEndLocation().asLocation();
290 FullSourceLoc YEL = Y.getEndLocation().asLocation();
303 FullSourceLoc X_CEL = X.callEnter.asLocation();
304 FullSourceLoc Y_CEL = Y.callEnter.asLocation();
307 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation();
308 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation();
311 FullSourceLoc X_CR
[all...]
H A DPlistDiagnostics.cpp111 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
230 FullSourceLoc L = P.getLocation().asLocation();
514 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()),
516 FullSourceLoc UFunL(SM->getExpansionLoc(
524 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()),
526 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
H A DHTMLDiagnostics.cpp278 FullSourceLoc Pos = P.getLocation().asLocation();
413 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
H A DBugReporterVisitors.cpp1584 FullSourceLoc Loc = BR.getLocation(SM).asLocation();
/freebsd-10-stable/contrib/llvm/tools/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,
1080 FullSourceLoc(Loc, PP.getSourceManager()),
1094 FullSourceLoc(Loc,PP.getSourceManager()),
1403 FullSourceLoc(StringToks[i].getLocation(), SM),
1410 FullSourceLoc(StringTok
[all...]
H A DModuleMap.cpp731 Module *ModuleMap::inferModuleFromLocation(FullSourceLoc Loc) {
736 FullSourceLoc ExpansionLoc = Loc.getExpansionLoc();
/freebsd-10-stable/contrib/llvm/tools/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();
/freebsd-10-stable/contrib/llvm/tools/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;
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DModuleMap.h342 Module *inferModuleFromLocation(FullSourceLoc Loc);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h134 FullSourceLoc Loc;
143 FullSourceLoc
265 FullSourceLoc asLocation() const {
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DFixItRewriter.cpp78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
H A DInclusionRewriter.cpp153 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID();
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h509 FullSourceLoc getFullLoc(SourceLocation Loc) const {
510 return FullSourceLoc(Loc,SourceMgr);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp1102 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), SM);
2624 FullSourceLoc Loc(L, SrcMgr);
H A DCompilerInstance.cpp878 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp2412 FullSourceLoc Comma(D.getCommaLoc(), S.SourceMgr);
2413 FullSourceLoc Name(D.getIdentifierLoc(), S.SourceMgr);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp2234 = ModMap.inferModuleFromLocation(FullSourceLoc(I->getLocation(),
2478 = ModMap.inferModuleFromLocation(FullSourceLoc(Loc,PP->getSourceManager()));

Completed in 393 milliseconds

12