/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 72 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 …]
|
D | Diagnostic.cpp | 138 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/ |
D | SourceLocation.h | 262 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 …]
|
D | Diagnostic.h | 203 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/ |
D | LiteralSupport.cpp | 36 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/ |
D | PathDiagnostic.cpp | 110 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()
|
D | PlistDiagnostics.cpp | 38 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()
|
D | HTMLDiagnostics.cpp | 146 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()
|
D | BugReporter.cpp | 200 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/ |
D | TransformActions.cpp | 67 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()
|
D | PlistReporter.cpp | 52 FullSourceLoc Loc(SM.getInstantiationLoc(L), const_cast<SourceManager&>(SM)); in EmitLocation()
|
D | ARCMT.cpp | 35 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() 63 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 167 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/ |
D | LogDiagnosticPrinter.h | 48 FullSourceLoc LastLoc;
|
D | TextDiagnosticPrinter.h | 31 FullSourceLoc LastLoc;
|
/external/clang/lib/Rewrite/ |
D | FixItRewriter.cpp | 54 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 345 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/ |
D | BugReporter.h | 466 FullSourceLoc L; 468 DiagBugReport(BugType& D, llvm::StringRef desc, FullSourceLoc l) : in DiagBugReport()
|
D | PathDiagnostic.h | 87 PathDiagnosticLocation(FullSourceLoc L) in PathDiagnosticLocation() 122 FullSourceLoc asLocation() const;
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 456 d_.Report(clang::FullSourceLoc(expr->getExprLoc(), sm_), in VisitExpr()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 364 FullSourceLoc getFullLoc(SourceLocation Loc) const { in getFullLoc() 365 return FullSourceLoc(Loc,SourceMgr); in getFullLoc()
|
/external/clang/lib/Frontend/ |
D | TextDiagnosticPrinter.cpp | 1095 LastLoc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); in HandleDiagnostic()
|
D | ASTUnit.cpp | 957 FullSourceLoc Loc(StoredDiagnostics[I].getLocation(), in Parse() 2377 FullSourceLoc Loc(L, SrcMgr); in TranslateStoredDiagnostics()
|