Home
last modified time | relevance | path

Searched refs:FullSourceLoc (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Basic/
DSourceLocation.cpp72 FileID FullSourceLoc::getFileID() const { in getFileID()
78 FullSourceLoc FullSourceLoc::getInstantiationLoc() const { in getInstantiationLoc()
80 return FullSourceLoc(SrcMgr->getInstantiationLoc(*this), *SrcMgr); in getInstantiationLoc()
83 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc()
85 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc()
88 unsigned FullSourceLoc::getInstantiationLineNumber(bool *Invalid) const { in getInstantiationLineNumber()
93 unsigned FullSourceLoc::getInstantiationColumnNumber(bool *Invalid) const { in getInstantiationColumnNumber()
98 unsigned FullSourceLoc::getSpellingLineNumber(bool *Invalid) const { in getSpellingLineNumber()
103 unsigned FullSourceLoc::getSpellingColumnNumber(bool *Invalid) const { in getSpellingColumnNumber()
108 bool FullSourceLoc::isInSystemHeader() const { in isInSystemHeader()
[all …]
DDiagnostic.cpp138 FullSourceLoc Loc(L, *SourceMgr); in GetDiagStatePointForLoc()
143 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in GetDiagStatePointForLoc()
168 FullSourceLoc Loc(L, *SourceMgr); in setDiagnosticMapping()
169 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in setDiagnosticMapping()
215 FullSourceLoc(Loc, *SourceMgr))); in setDiagnosticMapping()
715 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); in StoredDiagnostic()
730 llvm::StringRef Message, FullSourceLoc Loc, in StoredDiagnostic()
/external/clang/include/clang/Basic/
DSourceLocation.h262 class FullSourceLoc : public SourceLocation {
266 explicit FullSourceLoc() : SrcMgr(0) {} in FullSourceLoc() function
268 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) in FullSourceLoc() function
278 FullSourceLoc getInstantiationLoc() const;
279 FullSourceLoc getSpellingLoc() const;
310 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { in isBeforeInTranslationUnitThan()
317 struct BeforeThanCompare : public std::binary_function<FullSourceLoc,
318 FullSourceLoc, bool> {
319 bool operator()(const FullSourceLoc& lhs, const FullSourceLoc& rhs) const { in operator()
329 operator==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) {
[all …]
DDiagnostic.h203 FullSourceLoc Loc;
204 DiagStatePoint(DiagState *State, FullSourceLoc Loc) in DiagStatePoint()
234 FullSourceLoc Loc(L, *SourceMgr); in PushDiagStatePoint()
243 FullSourceLoc(Loc, *SourceMgr))); in PushDiagStatePoint()
978 FullSourceLoc Loc;
989 llvm::StringRef Message, FullSourceLoc Loc,
999 const FullSourceLoc &getLocation() const { return Loc; } in getLocation()
1002 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; } in setLocation()
/external/clang/lib/Lex/
DLiteralSupport.cpp36 FullSourceLoc Loc, bool IsWide, in ProcessCharEscape()
170 FullSourceLoc Loc, Diagnostic *Diags, in ProcessUCNEscape()
200 Diags->Report(FullSourceLoc(L, Loc.getManager()), in ProcessUCNEscape()
223 FullSourceLoc Loc, bool wide, Diagnostic *Diags, in EncodeUCNEscape()
740 FullSourceLoc(Loc, PP.getSourceManager()), in CharLiteralParser()
748 FullSourceLoc(Loc,PP.getSourceManager()), in CharLiteralParser()
989 hadError, FullSourceLoc(StringToks[i].getLocation(),SM), in init()
996 FullSourceLoc(StringToks[i].getLocation(), SM), in init()
1017 Diags->Report(FullSourceLoc(StringToks[0].getLocation(), SM), in init()
1029 Diags->Report(FullSourceLoc(StringToks[0].getLocation(), SM), in init()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp110 new PathDiagnosticEventPiece(FullSourceLoc(Info.getLocation(), in HandleDiagnostic()
127 FullSourceLoc PathDiagnosticLocation::asLocation() const { in asLocation()
136 return FullSourceLoc(S->getLocStart(), const_cast<SourceManager&>(*SM)); in asLocation()
138 return FullSourceLoc(D->getLocation(), const_cast<SourceManager&>(*SM)); in asLocation()
141 return FullSourceLoc(R.getBegin(), const_cast<SourceManager&>(*SM)); in asLocation()
DPlistDiagnostics.cpp38 const FullSourceLoc &XLoc = X->getLocation().asLocation(); in operator ()()
39 const FullSourceLoc &YLoc = Y->getLocation().asLocation(); in operator ()()
142 FullSourceLoc Loc(SM.getInstantiationLoc(L), const_cast<SourceManager&>(SM)); in EmitLocation()
248 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent()
DHTMLDiagnostics.cpp146 FullSourceLoc L = I->getLocation().asLocation().getInstantiationLoc(); in ReportDiag()
320 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece()
444 FullSourceLoc L = MP->getLocation().asLocation().getInstantiationLoc(); in HandlePiece()
DBugReporter.cpp200 return FullSourceLoc(N->getLocationContext()->getDecl()->getBodyRBrace(), in ExecutionContinues()
449 FullSourceLoc L(S->getLocStart(), BR.getSourceManager()); in HandleBinding()
545 FullSourceLoc Start(T->getLocStart(), SMgr); in GenerateMinimalPathDiagnostic()
1280 return FullSourceLoc(); in getLocation()
1493 const FullSourceLoc Loc = I->getLocation().asLocation(); in CompactPathDiagnostic()
1835 FullSourceLoc L(exampleReport->getLocation(), getSourceManager()); in FlushReport()
1888 FullSourceLoc L = getContext().getFullLoc(Loc); in EmitBasicReport()
/external/clang/lib/ARCMigrate/
DTransformActions.cpp67 FullSourceLoc Begin, End;
73 Begin = FullSourceLoc(srcMgr.getInstantiationLoc(beginLoc), srcMgr); in CharRange()
74 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
76 Begin = FullSourceLoc(srcMgr.getInstantiationLoc(beginLoc), srcMgr); in CharRange()
77 End = FullSourceLoc(srcMgr.getInstantiationLoc(endLoc), srcMgr); in CharRange()
108 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare>
515 Inserts[FullSourceLoc(loc, SM)].push_back(text); in addInsertion()
DPlistReporter.cpp52 FullSourceLoc Loc(SM.getInstantiationLoc(L), const_cast<SourceManager&>(SM)); in EmitLocation()
DARCMT.cpp35 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic()
63 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp167 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, in ConvertBackendLocation()
189 return FullSourceLoc(NewLoc, CSM); in ConvertBackendLocation()
207 FullSourceLoc Loc; in InlineAsmDiagHandler2()
/external/clang/include/clang/Frontend/
DLogDiagnosticPrinter.h48 FullSourceLoc LastLoc;
DTextDiagnosticPrinter.h31 FullSourceLoc LastLoc;
/external/clang/lib/Rewrite/
DFixItRewriter.cpp54 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
/external/clang/lib/Sema/
DSema.cpp345 FullSourceLoc useLoc;
347 UndefinedInternal(NamedDecl *decl, FullSourceLoc useLoc) in UndefinedInternal()
382 FullSourceLoc loc(i->second, S.Context.getSourceManager()); in checkUndefinedInternals()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporter.h466 FullSourceLoc L;
468 DiagBugReport(BugType& D, llvm::StringRef desc, FullSourceLoc l) : in DiagBugReport()
DPathDiagnostic.h87 PathDiagnosticLocation(FullSourceLoc L) in PathDiagnosticLocation()
122 FullSourceLoc asLocation() const;
/external/v8/tools/gcmole/
Dgcmole.cc456 d_.Report(clang::FullSourceLoc(expr->getExprLoc(), sm_), in VisitExpr()
/external/clang/include/clang/AST/
DASTContext.h364 FullSourceLoc getFullLoc(SourceLocation Loc) const { in getFullLoc()
365 return FullSourceLoc(Loc,SourceMgr); in getFullLoc()
/external/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp1095 LastLoc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); in HandleDiagnostic()
DASTUnit.cpp957 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), in Parse()
2377 FullSourceLoc Loc(L, SrcMgr); in TranslateStoredDiagnostics()