Home
last modified time | relevance | path

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

12

/external/clang/lib/Basic/
DSourceLocation.cpp80 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 …]
DDiagnostic.cpp120 DiagStatePoints.push_back(DiagStatePoint(&DiagStates.back(), FullSourceLoc())); in Reset()
149 FullSourceLoc Loc(L, *SourceMgr); in GetDiagStatePointForLoc()
154 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in GetDiagStatePointForLoc()
173 FullSourceLoc Loc = SourceMgr? FullSourceLoc(L, *SourceMgr) : FullSourceLoc(); in setSeverity()
174 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; in setSeverity()
228 FullSourceLoc(Loc, *SourceMgr))); in setSeverity()
931 Loc = FullSourceLoc(Info.getLocation(), Info.getSourceManager()); in StoredDiagnostic()
946 StringRef Message, FullSourceLoc Loc, in StoredDiagnostic()
/external/clang/include/clang/Basic/
DSourceLocation.h267 class FullSourceLoc : public SourceLocation {
271 explicit FullSourceLoc() : SrcMgr(nullptr) {} in FullSourceLoc() function
273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) in FullSourceLoc() function
284 FullSourceLoc getExpansionLoc() const;
285 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 …]
DDiagnostic.h232 FullSourceLoc Loc;
233 DiagStatePoint(DiagState *State, FullSourceLoc Loc) in DiagStatePoint()
265 FullSourceLoc Loc(L, getSourceManager()); in PushDiagStatePoint()
1245 FullSourceLoc Loc;
1256 StringRef Message, FullSourceLoc Loc,
1266 const FullSourceLoc &getLocation() const { return Loc; } in getLocation()
1269 void setLocation(FullSourceLoc Loc) { this->Loc = Loc; } in setLocation()
DPlistSupport.h95 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM));
DSourceManager.h539 typedef ArrayRef<std::pair<std::string, FullSourceLoc> > ModuleBuildStack;
705 SmallVector<std::pair<std::string, FullSourceLoc>, 2> StoredModuleBuildStack;
743 void pushModuleBuildStack(StringRef moduleName, FullSourceLoc importLoc) { in pushModuleBuildStack()
/external/clang/unittests/Tooling/
DTestVisitor.h150 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/
DPathDiagnostic.cpp226 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc(); in HandlePathDiagnostic()
287 FullSourceLoc XSL = X.getStartLocation().asLocation(); in compareControlFlow()
288 FullSourceLoc YSL = Y.getStartLocation().asLocation(); in compareControlFlow()
291 FullSourceLoc XEL = X.getEndLocation().asLocation(); in compareControlFlow()
292 FullSourceLoc YEL = Y.getEndLocation().asLocation(); in compareControlFlow()
305 FullSourceLoc X_CEL = X.callEnter.asLocation(); in compareCall()
306 FullSourceLoc Y_CEL = Y.callEnter.asLocation(); in compareCall()
309 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation(); in compareCall()
310 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation(); in compareCall()
313 FullSourceLoc X_CRL = X.callReturn.asLocation(); in compareCall()
[all …]
DPlistDiagnostics.cpp154 FullSourceLoc L = P.getLocation().asLocation(); in ReportEvent()
432 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()), in FlushDiagnosticsImpl()
434 FullSourceLoc UFunL(SM->getExpansionLoc( in FlushDiagnosticsImpl()
442 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()), in FlushDiagnosticsImpl()
444 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM); in FlushDiagnosticsImpl()
DHTMLDiagnostics.cpp144 FullSourceLoc L( in ReportDiag()
147 FullSourceLoc FunL(SMgr.getExpansionLoc(Body->getLocStart()), SMgr); in ReportDiag()
335 FullSourceLoc Pos = P.getLocation().asLocation(); in HandlePiece()
470 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc(); in HandlePiece()
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp1482 FullSourceLoc full_loc(loc, manager); in ReportClassMustLeftMostlyDeriveGC()
1490 FullSourceLoc full_loc(loc, manager); in ReportClassRequiresTraceMethod()
1514 FullSourceLoc full_loc(loc, manager); in ReportBaseRequiresTracing()
1522 FullSourceLoc full_loc(loc, manager); in ReportFieldsRequireTracing()
1537 FullSourceLoc full_loc(loc, manager); in ReportClassContainsInvalidFields()
1577 FullSourceLoc full_loc(loc, manager); in ReportClassContainsGCRoots()
1601 FullSourceLoc full_loc(loc, manager); in ReportFinalizerAccessesFinalizedFields()
1611 FullSourceLoc full_loc(loc, manager); in ReportClassRequiresFinalization()
1619 FullSourceLoc full_loc(loc, manager); in ReportClassDoesNotRequireFinalization()
1629 FullSourceLoc full_loc(loc, manager); in ReportOverriddenNonVirtualTrace()
[all …]
/external/clang/lib/ARCMigrate/
DTransformActions.cpp66 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>
516 Inserts[FullSourceLoc(loc, SM)].push_back(text); in addInsertion()
DARCMT.cpp35 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic()
64 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic()
/external/clang/lib/Lex/
DLiteralSupport.cpp46 FullSourceLoc TokLoc, in MakeCharSourceRange()
65 const LangOptions &Features, FullSourceLoc TokLoc, in Diag()
80 FullSourceLoc Loc, unsigned CharWidth, in ProcessCharEscape()
262 FullSourceLoc Loc, DiagnosticsEngine *Diags, in ProcessUCNEscape()
340 FullSourceLoc Loc; in MeasureUCNEscape()
369 FullSourceLoc Loc, unsigned CharByteWidth, in EncodeUCNEscape()
1134 FullSourceLoc(Loc, PP.getSourceManager()), in CharLiteralParser()
1148 FullSourceLoc(Loc,PP.getSourceManager()), in CharLiteralParser()
1468 FullSourceLoc(StringToks[i].getLocation(), SM), in init()
1475 FullSourceLoc(StringToks[i].getLocation(), SM), in init()
[all …]
/external/clang/lib/CodeGen/
DCodeGenAction.cpp257 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D, in ConvertBackendLocation()
281 return FullSourceLoc(NewLoc, CSM); in ConvertBackendLocation()
299 FullSourceLoc Loc; in InlineAsmDiagHandler2()
395 FullSourceLoc Loc; in InlineAsmDiagHandler()
440 FullSourceLoc Loc(DILoc, SourceMgr); in EmitOptimizationRemark()
534 FullSourceLoc Loc; in DiagnosticHandlerImpl()
/external/clang/include/clang/Frontend/
DLogDiagnosticPrinter.h51 FullSourceLoc LastLoc;
/external/clang/docs/
DRAVFrontendAction.rst129 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
161 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
/external/clang/include/clang/Lex/
DModuleMap.h392 Module *inferModuleFromLocation(FullSourceLoc Loc);
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h136 FullSourceLoc Loc;
145 FullSourceLoc genLocation(
271 FullSourceLoc asLocation() const { in asLocation()
/external/chromium_org/tools/clang/plugins/
DFindBadConstructsConsumer.cpp263 FullSourceLoc full_loc(loc, manager); in CheckVirtualMethod()
317 FullSourceLoc loc(type_info_range.getBegin(), manager); in CheckOverriddenMethod()
DChromeClassTester.cpp109 FullSourceLoc full(loc, instance().getSourceManager()); in emitWarning()
/external/clang/lib/Rewrite/Frontend/
DFixItRewriter.cpp78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); in WriteFixedFiles()
DInclusionRewriter.cpp148 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID(); in FileChanged()
/external/clang/lib/Frontend/
DFrontendActions.cpp274 FullSourceLoc(SourceLocation(), SourceMgr)); in BeginSourceFileAction()
/external/clang/include/clang/AST/
DASTContext.h513 FullSourceLoc getFullLoc(SourceLocation Loc) const { in getFullLoc()
514 return FullSourceLoc(Loc,SourceMgr); in getFullLoc()

12