HomeSort by relevance Sort by last modified time
    Searched refs:FullSourceLoc (Results 1 - 25 of 36) sorted by null

1 2

  /external/clang/lib/Basic/
SourceLocation.cpp 10 // 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::getExpansionLineNumber(bool *Invalid) const
    [all...]
Diagnostic.cpp 122 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)));
    [all...]
  /external/clang/include/clang/Basic/
SourceLocation.h 267 class FullSourceLoc : public SourceLocation {
270 /// \brief Creates a FullSourceLoc where isValid() returns \c false.
271 explicit FullSourceLoc() : SrcMgr(0) {}
273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM)
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, bool>
    [all...]
Diagnostic.h 233 FullSourceLoc Loc;
234 DiagStatePoint(DiagState *State, FullSourceLoc Loc)
266 FullSourceLoc Loc(L, getSourceManager());
    [all...]
  /external/clang/unittests/Tooling/
TestVisitor.h 132 const FullSourceLoc FullLocation = this->Context->getFullLoc(Location);
159 bool Matches(StringRef Name, FullSourceLoc const &Location) const {
163 bool PartiallyMatches(StringRef Name, FullSourceLoc const &Location) const {
171 bool MatchesLocation(FullSourceLoc const &Location) const {
188 void UpdateFor(StringRef Name, FullSourceLoc Location, SourceManager &SM) {
  /frameworks/compile/slang/
slang_rs_export_foreach.cpp 43 clang::FullSourceLoc(PVD->getLocation(), SM),
68 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
93 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
125 clang::FullSourceLoc(FD->getLocation(),
149 clang::FullSourceLoc(PVD->getLocation(),
183 clang::FullSourceLoc(PVD->getLocation(),
216 clang::FullSourceLoc(FD->getLocation(),
240 clang::FullSourceLoc(FD->getLocation(),
260 clang::FullSourceLoc(FD->getTypeSpecStartLoc(),
282 clang::FullSourceLoc(PVD->getLocation()
    [all...]
slang_rs_export_var.cpp 36 return DiagEngine->Report(clang::FullSourceLoc(Loc, *SM),
slang_rs_export_type.cpp 105 clang::FullSourceLoc(TopLevelRecord->getLocation(), SM),
110 clang::FullSourceLoc(ND->getLocation(), SM),
246 clang::FullSourceLoc(FD->getLocation(),
462 clang::FullSourceLoc(Loc, C.getSourceManager()),
469 clang::FullSourceLoc(Loc, C.getSourceManager()),
486 clang::FullSourceLoc(Loc, C.getSourceManager()),
557 clang::FullSourceLoc(VD->getLocation(),
    [all...]
slang_rs_check_ast.cpp 97 clang::FullSourceLoc(VD->getLocation(), mSM),
slang_rs_export_func.cpp 41 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()),
slang_rs_backend.cpp 99 clang::FullSourceLoc(FD->getLocation(), mSourceMgr),
119 clang::FullSourceLoc(PVD->getTypeSpecStartLoc(), mSourceMgr),
slang_rs.cpp 262 clang::FullSourceLoc FSL(Loc, SourceMgr);
  /external/clang/include/clang/Frontend/
LogDiagnosticPrinter.h 48 FullSourceLoc LastLoc;
  /external/clang/lib/StaticAnalyzer/Core/
PathDiagnostic.cpp 159 FullSourceLoc L = piece->getLocation().asLocation().getExpansionLoc();
220 FullSourceLoc XSL = X.getStartLocation().asLocation();
221 FullSourceLoc YSL = Y.getStartLocation().asLocation();
224 FullSourceLoc XEL = X.getEndLocation().asLocation();
225 FullSourceLoc YEL = Y.getEndLocation().asLocation();
238 FullSourceLoc X_CEL = X.callEnter.asLocation();
239 FullSourceLoc Y_CEL = Y.callEnter.asLocation();
242 FullSourceLoc X_CEWL = X.callEnterWithin.asLocation();
243 FullSourceLoc Y_CEWL = Y.callEnterWithin.asLocation();
246 FullSourceLoc X_CRL = X.callReturn.asLocation()
    [all...]
PlistDiagnostics.cpp 112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
226 FullSourceLoc L = P.getLocation().asLocation();
506 FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()),
508 FullSourceLoc UFunL(SM->getExpansionLoc(
516 FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()),
518 FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
HTMLDiagnostics.cpp 285 FullSourceLoc Pos = P.getLocation().asLocation();
420 FullSourceLoc L = MP->getLocation().asLocation().getExpansionLoc();
  /external/clang/lib/Lex/
LiteralSupport.cpp 46 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,
    [all...]
  /external/clang/include/clang/Lex/
ModuleMap.h 276 Module *inferModuleFromLocation(FullSourceLoc Loc);
  /external/clang/lib/ARCMigrate/
TransformActions.cpp 66 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);
PlistReporter.cpp 50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
ARCMT.cpp 35 FullSourceLoc diagLoc = I->getLocation();
64 FullSourceLoc diagLoc = I->getLocation();
  /external/clang/lib/CodeGen/
CodeGenAction.cpp 196 /// buffer to be a valid FullSourceLoc.
197 static FullSourceLoc ConvertBackendLocation(const llvm::SMDiagnostic &D,
219 return FullSourceLoc(NewLoc, CSM);
237 FullSourceLoc Loc;
  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
PathDiagnostic.h 133 FullSourceLoc Loc;
142 FullSourceLoc
264 FullSourceLoc asLocation() const {
  /external/clang/lib/Rewrite/Frontend/
FixItRewriter.cpp 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes);
InclusionRewriter.cpp 131 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID();

Completed in 301 milliseconds

1 2