/external/clang/lib/Basic/ |
D | SourceLocation.cpp | 80 FileID FullSourceLoc::getFileID() const { in getFileID() 86 FullSourceLoc FullSourceLoc::getExpansionLoc() const { in getExpansionLoc() 88 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); in getExpansionLoc() 91 FullSourceLoc FullSourceLoc::getSpellingLoc() const { in getSpellingLoc() 93 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); in getSpellingLoc() 96 unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const { in getExpansionLineNumber() 101 unsigned FullSourceLoc::getExpansionColumnNumber(bool *Invalid) const { in getExpansionColumnNumber() 106 unsigned FullSourceLoc::getSpellingLineNumber(bool *Invalid) const { in getSpellingLineNumber() 111 unsigned FullSourceLoc::getSpellingColumnNumber(bool *Invalid) const { in getSpellingColumnNumber() 116 bool FullSourceLoc::isInSystemHeader() const { in isInSystemHeader() [all …]
|
D | Diagnostic.cpp | 138 DiagStatePoints.push_back(DiagStatePoint(&DiagStates.back(), FullSourceLoc())); in Reset() 167 FullSourceLoc Loc(L, *SourceMgr); in GetDiagStatePointForLoc() 172 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in GetDiagStatePointForLoc() 191 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc(); in setSeverity() 192 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in setSeverity() 246 FullSourceLoc(Loc, *SourceMgr))); in setSeverity() 960 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); in StoredDiagnostic() 969 StringRef Message, FullSourceLoc Loc, in StoredDiagnostic()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 268 class FullSourceLoc : public SourceLocation { 272 explicit FullSourceLoc() : SrcMgr(nullptr) {} in FullSourceLoc() function 274 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) in FullSourceLoc() function 285 FullSourceLoc getExpansionLoc() const; 286 FullSourceLoc getSpellingLoc() const; 317 bool isBeforeInTranslationUnitThan(FullSourceLoc Loc) const { in isBeforeInTranslationUnitThan() 324 struct BeforeThanCompare : public std::binary_function<FullSourceLoc, 325 FullSourceLoc, bool> { 326 bool operator()(const FullSourceLoc& lhs, const FullSourceLoc& rhs) const { in operator() 337 operator==(const FullSourceLoc &LHS, const FullSourceLoc &RHS) { [all …]
|
D | Diagnostic.h | 234 FullSourceLoc Loc; 235 DiagStatePoint(DiagState *State, FullSourceLoc Loc) in DiagStatePoint() 267 FullSourceLoc Loc(L, getSourceManager()); in PushDiagStatePoint() 1267 FullSourceLoc Loc; 1278 StringRef Message, FullSourceLoc Loc, 1287 const FullSourceLoc &getLocation() const { return Loc; } in getLocation() 1290 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; } in setLocation()
|
D | PlistSupport.h | 94 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
|
D | SourceManager.h | 535 typedef ArrayRef<std::pair<std::string, FullSourceLoc> > ModuleBuildStack; 706 SmallVector<std::pair<std::string, FullSourceLoc>, 2> StoredModuleBuildStack; 745 void pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc) { in pushModuleBuildStack()
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
D | IssueHash.h | 17 class FullSourceLoc; variable 39 FullSourceLoc &IssueLoc, 46 std::string GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc,
|
/external/clang/unittests/Tooling/ |
D | TestVisitor.h | 150 const FullSourceLoc FullLocation = this->Context->getFullLoc(Location); in Match() 177 bool Matches(StringRef Name, FullSourceLoc const &Location) const { in Matches() 181 bool PartiallyMatches(StringRef Name, FullSourceLoc const &Location) const { in PartiallyMatches() 189 bool MatchesLocation(FullSourceLoc const &Location) const { in MatchesLocation() 206 void UpdateFor(StringRef Name, FullSourceLoc Location, SourceManager &SM) { in UpdateFor()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 221 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic() 283 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow() 284 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow() 287 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow() 288 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow() 301 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall() 302 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall() 305 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall() 306 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); in compareCall() 309 FullSourceLoc X_CRL = X.callReturn.asLocation(); in compareCall() [all …]
|
D | IssueHash.cpp | 129 static std::string NormalizeLine(const SourceManager &SM, FullSourceLoc &L, in NormalizeLine() 178 FullSourceLoc &IssueLoc, in GetIssueString() 192 FullSourceLoc &IssueLoc, in GetIssueHash()
|
D | HTMLDiagnostics.cpp | 146 FullSourceLoc L( in ReportDiag() 149 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag() 241 FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid() in ReportDiag() 353 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece() 488 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
|
D | PlistDiagnostics.cpp | 155 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent() 396 FullSourceLoc L(SM->getExpansionLoc(UPDLoc.isValid() in FlushDiagnosticsImpl() 445 FullSourceLoc UFunL(SM->getExpansionLoc( in FlushDiagnosticsImpl() 453 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM); in FlushDiagnosticsImpl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 223 const FullSourceLoc 266 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, in ConvertBackendLocation() 290 return FullSourceLoc(NewLoc, CSM); in ConvertBackendLocation() 308 FullSourceLoc Loc; in InlineAsmDiagHandler2() 403 FullSourceLoc Loc; in InlineAsmDiagHandler() 428 const FullSourceLoc BackendConsumer::getBestLocationFromDebugLoc( in getBestLocationFromDebugLoc() 449 FullSourceLoc Loc(DILoc, SourceMgr); in getBestLocationFromDebugLoc() 473 FullSourceLoc Loc = getBestLocationFromDebugLoc(D, BadDebugInfo, Filename, in UnsupportedDiagHandler() 496 FullSourceLoc Loc = getBestLocationFromDebugLoc(D, BadDebugInfo, Filename, in EmitOptimizationMessage() 655 FullSourceLoc Loc; in DiagnosticHandlerImpl()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 47 FullSourceLoc TokLoc, in MakeCharSourceRange() 66 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() 81 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape() 264 FullSourceLoc Loc, DiagnosticsEngine *Diags, in ProcessUCNEscape() 342 FullSourceLoc Loc; in MeasureUCNEscape() 371 FullSourceLoc Loc, unsigned CharByteWidth, in EncodeUCNEscape() 1142 FullSourceLoc(Loc, PP.getSourceManager()), in CharLiteralParser() 1156 FullSourceLoc(Loc,PP.getSourceManager()), in CharLiteralParser() 1489 FullSourceLoc(StringToks[i].getLocation(), SM), in init() 1496 FullSourceLoc(StringToks[i].getLocation(), SM), in init() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransformActions.cpp | 66 FullSourceLoc Begin, End; 72 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange() 73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange() 75 Begin = FullSourceLoc(srcMgr.getExpansionLoc(beginLoc), srcMgr); in CharRange() 76 End = FullSourceLoc(srcMgr.getExpansionLoc(endLoc), srcMgr); in CharRange() 107 typedef std::map<FullSourceLoc, TextsVec, FullSourceLoc::BeforeThanCompare> 515 Inserts[FullSourceLoc(loc, SM)].push_back(text); in addInsertion()
|
D | ARCMT.cpp | 36 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() 65 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
|
/external/clang/include/clang/Frontend/ |
D | LogDiagnosticPrinter.h | 58 FullSourceLoc LastLoc;
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | PathDiagnostic.h | 140 FullSourceLoc Loc; 149 FullSourceLoc genLocation( 275 FullSourceLoc asLocation() const { in asLocation()
|
/external/clang/docs/ |
D | RAVFrontendAction.rst | 131 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart()); 163 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 235 FullSourceLoc FL(S->getLocStart(), SM); in checkPostStmt()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FixItRewriter.cpp | 77 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
|
D | InclusionRewriter.cpp | 150 FileID Id = FullSourceLoc(Loc, SM).getFileID(); in FileChanged()
|
/external/clang/include/clang/Lex/ |
D | ModuleMap.h | 485 Module *inferModuleFromLocation(FullSourceLoc Loc);
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | DiagnosticsReporter.cpp | 171 FullSourceLoc full_loc(location, manager); in ReportDiagnostic()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 312 FullSourceLoc(SourceLocation(), SourceMgr)); in BeginSourceFileAction()
|