/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 128 SourceManager *SourceMgr; 153 : SourceMgr(&SM), LangOpts(&LO) {} 154 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {} 157 SourceMgr = &SM; 160 SourceManager &getSourceMgr() const { return *SourceMgr; }
|
/external/llvm/utils/FileCheck/ |
FileCheck.cpp | 28 #include "llvm/Support/SourceMgr.h" 109 /// which prefix is being matched, SM provides the SourceMgr used for error 115 SourceMgr &SM, 129 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer, 138 bool AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM); 156 size_t FindRegexVarEnd(StringRef Str, SourceMgr &SM); 162 SourceMgr &SM, 174 SM.PrintMessage(PatternLoc, SourceMgr::DK_Error, 201 SourceMgr::DK_Error, 233 SourceMgr::DK_Error [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmParser.h | 30 class SourceMgr; 85 virtual SourceMgr &getSourceManager() = 0; 200 MCAsmParser *createMCAsmParser(SourceMgr &, MCContext &,
|
MCAsmParserExtension.h | 57 SourceMgr &getSourceManager() { return getParser().getSourceManager(); }
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
llvm_wrapper.cpp | 6 #include <llvm/Support/SourceMgr.h>
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
loader.cpp | 6 #include <llvm/Support/SourceMgr.h>
|
/external/mesa3d/src/gallium/drivers/r600/ |
llvm_wrapper.cpp | 6 #include <llvm/Support/SourceMgr.h>
|
/external/mesa3d/src/gallium/drivers/radeon/ |
loader.cpp | 6 #include <llvm/Support/SourceMgr.h>
|
/external/clang/include/clang/AST/ |
CommentParser.h | 44 const SourceManager &SourceMgr; 94 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
|
/external/clang/include/clang/Lex/ |
PPConditionalDirectiveRecord.h | 27 SourceManager &SourceMgr; 71 SourceManager &getSourceManager() const { return SourceMgr; }
|
/external/llvm/lib/AsmParser/ |
LLLexer.h | 20 #include "llvm/Support/SourceMgr.h" 33 SourceMgr &SM; 46 explicit LLLexer(MemoryBuffer *StartBuf, SourceMgr &SM, SMDiagnostic &,
|
/external/clang/lib/Rewrite/Core/ |
Rewriter.cpp | 156 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 191 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); 195 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 205 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 219 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc); 234 StringRef MB = SourceMgr->getBufferData(FID); 250 StringRef MB = SourceMgr->getBufferData(FID); 252 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; 254 Content = SourceMgr->getSLocEntry(FID).getFile().getContentCache(); 327 StringRef MB = SourceMgr->getBufferData(FID) [all...] |
/external/clang/lib/Edit/ |
Commit.cpp | 39 : SourceMgr(Editor.getSourceManager()), LangOpts(Editor.getLangOpts()), 227 const SourceManager &SM = SourceMgr; 251 SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc); 252 unsigned tokLen = Lexer::MeasureTokenLength(spellLoc, SourceMgr, LangOpts); 258 const SourceManager &SM = SourceMgr; 269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); 297 const SourceManager &SM = SourceMgr; 331 StringRef file = SourceMgr.getBufferData(Offs.getFID(), &invalidTemp); 341 return Lexer::isAtStartOfMacroExpansion(loc, SourceMgr, LangOpts, MacroBegin); 345 return Lexer::isAtEndOfMacroExpansion(loc, SourceMgr, LangOpts, MacroEnd) [all...] |
EditedSource.cpp | 38 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { 40 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first; 42 ExpLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; 61 if (SourceMgr.isMacroArgExpansion(OrigLoc)) { 63 DefArgLoc = SourceMgr.getImmediateExpansionRange(OrigLoc).first; 65 ExpLoc = SourceMgr.getImmediateExpansionRange(DefArgLoc).first; 357 applyRewrite(receiver, StrVec.str(), CurOffs, CurLen, SourceMgr, LangOpts); 364 applyRewrite(receiver, StrVec.str(), CurOffs, CurLen, SourceMgr, LangOpts); 376 SourceLocation BLoc = SourceMgr.getLocForStartOfFile(BeginOffs.getFID()); 382 SourceMgr, LangOpts, &Invalid) [all...] |
/external/clang/lib/Format/ |
WhitespaceManager.cpp | 23 return SourceMgr.isBeforeInTranslationUnit( 92 std::sort(Changes.begin(), Changes.end(), Change::IsBeforeInFile(SourceMgr)); 105 SourceMgr.getFileOffset(Changes[i].OriginalWhitespaceRange.getBegin()); 106 unsigned PreviousOriginalWhitespaceEnd = SourceMgr.getFileOffset( 171 (SourceMgr.getSpellingColumnNumber( 173 SourceMgr.getSpellingColumnNumber( 282 unsigned WhitespaceLength = SourceMgr.getFileOffset(Range.getEnd()) - 283 SourceMgr.getFileOffset(Range.getBegin()); 285 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), 289 SourceMgr, CharSourceRange::getCharRange(Range), Text)) [all...] |
/external/clang/include/clang/Frontend/ |
CompilerInstance.h | 85 IntrusiveRefCntPtr<SourceManager> SourceMgr; 374 bool hasSourceManager() const { return SourceMgr != nullptr; } 378 assert(SourceMgr && "Compiler instance has no source manager!"); 379 return *SourceMgr; 383 BuryPointer(SourceMgr.get()); 384 SourceMgr.resetWithoutRelease(); 694 SourceManager &SourceMgr,
|
/external/clang/lib/Frontend/ |
VerifyDiagnosticConsumer.cpp | 619 static unsigned PrintUnexpected(DiagnosticsEngine &Diags, SourceManager *SourceMgr, 628 if (I->first.isInvalid() || !SourceMgr) 632 if (const FileEntry *File = SourceMgr->getFileEntryForID( 633 SourceMgr->getFileID(I->first))) 635 OS << " Line " << SourceMgr->getPresumedLineNumber(I->first); 647 static unsigned PrintExpected(DiagnosticsEngine &Diags, SourceManager &SourceMgr, 656 OS << "\n File " << SourceMgr.getFilename(D.DiagnosticLoc); 660 OS << " Line " << SourceMgr.getPresumedLineNumber(D.DiagnosticLoc); 663 << SourceMgr.getFilename(D.DirectiveLoc) << ':' 664 << SourceMgr.getPresumedLineNumber(D.DirectiveLoc) << ')' [all...] |
ASTUnit.cpp | 572 SourceManager *SourceMgr; 577 : StoredDiags(StoredDiags), SourceMgr(nullptr) {} 582 SourceMgr = &PP->getSourceManager(); 625 if (!Info.hasSourceManager() || &Info.getSourceManager() == SourceMgr) 690 AST->SourceMgr = new SourceManager(AST->getDiagnostics(), [all...] |
/external/clang/lib/Lex/ |
Preprocessor.cpp | 64 FileMgr(Headers.getFileMgr()), SourceMgr(SM), HeaderInfo(Headers), 76 ScratchBuf = new ScratchBuffer(SourceMgr); 204 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); 215 Loc.dump(SourceMgr); 312 Def = I->second->findDirectiveAtLoc(Loc, SourceMgr); 321 SourceMgr.isBeforeInTranslationUnit(BestLocation, Location))) { 351 const MemoryBuffer *Buffer = SourceMgr.getMemoryBufferForFile(File, &Invalid); 385 SourceMgr.overrideFileContents(File, NewBuffer); 431 Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLocStart, 461 FileID MainFileID = SourceMgr.getMainFileID() [all...] |
/external/llvm/tools/llvm-mcmarkup/ |
llvm-mcmarkup.cpp | 20 #include "llvm/Support/SourceMgr.h" 71 SourceMgr &SM; 73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} 84 SM.PrintMessage(Loc, SourceMgr::DK_Error, Msg); 146 SourceMgr SrcMgr; 202 SrcMgr.PrintMessage(Tag.getLoc(), SourceMgr::DK_Error,
|
/external/clang/include/clang/Rewrite/Frontend/ |
FixItRewriter.h | 85 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
|
/external/clang/include/clang/Tooling/ |
JSONCompilationDatabase.h | 24 #include "llvm/Support/SourceMgr.h" 108 llvm::SourceMgr SM;
|
/external/clang/utils/TableGen/ |
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 64 SourceMgr::DK_Error,
|
/frameworks/compile/slang/ |
slang_rs.h | 96 const clang::SourceManager &SourceMgr);
|
slang_rs_backend.h | 90 clang::SourceManager &SourceMgr,
|