/external/llvm/lib/Support/ |
YAMLParser.cpp | 22 #include "llvm/Support/SourceMgr.h" 262 Scanner(const StringRef Input, SourceMgr &SM); 263 Scanner(MemoryBuffer *Buffer, SourceMgr &SM_); 271 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message, 283 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); 468 /// @brief The SourceMgr used for diagnostics and buffer management. 469 SourceMgr &SM; 546 SourceMgr SM; 627 llvm::SourceMgr SM; 702 Scanner::Scanner(StringRef Input, SourceMgr &sm [all...] |
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 271 SourceManager &SourceMgr = CI.getSourceManager(); 272 if (SourceMgr.getModuleBuildStack().empty()) 273 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, 274 FullSourceLoc(SourceLocation(), SourceMgr));
|
PrintPreprocessedOutput.cpp | 258 SourceManager &SourceMgr = SM; 260 PresumedLoc UserLoc = SourceMgr.getPresumedLoc(Loc); 735 const SourceManager &SourceMgr = PP.getSourceManager(); 742 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
|
/external/clang/lib/Lex/ |
TokenLexer.cpp | 574 SourceManager &SourceMgr = PP.getSourceManager(); 575 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); 579 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); 585 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), [all...] |
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 38 #include "llvm/Support/SourceMgr.h" 241 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, 253 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning, 321 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, 378 SourceMgr SrcMgr;
|
/external/llvm/include/llvm/MC/ |
MCDwarf.h | 37 class SourceMgr; 303 static void Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr,
|
/external/llvm/lib/MC/ |
MCContext.cpp | 27 #include "llvm/Support/SourceMgr.h" 33 const MCObjectFileInfo *mofi, const SourceMgr *mgr, 374 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
|
/external/clang/unittests/AST/ |
CommentParser.cpp | 41 SourceMgr(Diags, FileMgr), 49 SourceManager SourceMgr; 58 FileID File = SourceMgr.createFileID(Buf); 59 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); 63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr); 64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits); 69 FC->dump(llvm::errs(), &Traits, &SourceMgr); [all...] |
/external/clang/include/clang/Basic/ |
Diagnostic.h | 191 SourceManager *SourceMgr; 381 bool hasSourceManager() const { return SourceMgr != nullptr; } 383 assert(SourceMgr && "SourceManager not set!"); 384 return *SourceMgr; 386 void setSourceManager(SourceManager *SrcMgr) { SourceMgr = SrcMgr; } [all...] |
VirtualFileSystem.h | 22 #include "llvm/Support/SourceMgr.h" 257 llvm::SourceMgr::DiagHandlerTy DiagHandler,
|
/external/clang/lib/AST/ |
CommentParser.cpp | 258 const SourceManager &SourceMgr, DiagnosticsEngine &Diags, 260 L(L), S(S), Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), 516 const unsigned StartLine = SourceMgr.getPresumedLineNumber( 520 const unsigned EndLine = SourceMgr.getPresumedLineNumber(
|
CommentSema.cpp | 28 Sema::Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, 31 Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits), 520 const unsigned OpenLine = SourceMgr.getPresumedLineNumber( 524 const unsigned CloseLine = SourceMgr.getPresumedLineNumber( [all...] |
/external/clang/lib/ARCMigrate/ |
ObjCMT.cpp | 33 #include "llvm/Support/SourceMgr.h" [all...] |
/external/clang/lib/Sema/ |
Sema.cpp | 48 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); 82 Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()), 789 !SourceMgr.isInMainFile( 790 SourceMgr.getExpansionLoc(FD->getLocation()))) [all...] |
/external/clang/include/clang/Lex/ |
PreprocessingRecord.h | 291 SourceManager &SourceMgr; 379 SourceManager &getSourceManager() const { return SourceMgr; }
|
/external/clang/include/clang/AST/ |
CommentLexer.h | 354 const SourceManager &SourceMgr,
|
/external/clang/include/clang/Format/ |
Format.h | 480 SourceManager &SourceMgr,
|
/external/clang/utils/TableGen/ |
ClangDiagnosticsEmitter.cpp | 247 SourceMgr::DK_Error, 254 SourceMgr::DK_Note, "group defined here"); 269 SourceMgr::DK_Error, 278 SourceMgr::DK_Note, "also referenced here", [all...] |
/external/llvm/lib/TableGen/ |
TGLexer.cpp | 19 #include "llvm/Support/SourceMgr.h" 29 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) { 316 SrcMgr.PrintMessage(Found->second, SourceMgr::DK_Note,
|
TGParser.h | 19 #include "llvm/Support/SourceMgr.h" 87 TGParser(SourceMgr &SrcMgr, RecordKeeper &records)
|
/external/clang/lib/Basic/ |
VirtualFileSystem.cpp | 520 SourceMgr::DiagHandlerTy DiagHandler, 869 SourceMgr::DiagHandlerTy DiagHandler, 873 SourceMgr SM; 880 SM.PrintMessage(SMLoc(), SourceMgr::DK_Error, "expected root node"); 996 vfs::getVFSFromYAML(MemoryBuffer *Buffer, SourceMgr::DiagHandlerTy DiagHandler, [all...] |
/external/clang/lib/Format/ |
ContinuationIndenter.cpp | 60 SourceManager &SourceMgr, 64 : Style(Style), SourceMgr(SourceMgr), Whitespaces(Whitespaces), 239 int WhitespaceLength = SourceMgr.getSpellingColumnNumber( 241 SourceMgr.getSpellingColumnNumber( [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmParser.cpp | 39 #include "llvm/Support/SourceMgr.h" 129 SourceMgr &SrcMgr; 130 SourceMgr::DiagHandlerTy SavedDiagHandler; 135 /// SourceMgr object. 168 /// and current line. Since this is slow and messes up the SourceMgr's 184 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out, 199 SourceMgr &getSourceManager() override { return SrcMgr; } 296 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, 491 AsmParser::AsmParser(SourceMgr &_SM, MCContext &_Ctx, MCStreamer &_Out, 543 printMessage((*it)->InstantiationLoc, SourceMgr::DK_Note [all...] |
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 454 void WriteInputFiles(SourceManager &SourceMgr, 458 void WriteSourceManagerBlock(SourceManager &SourceMgr,
|
/external/clang/lib/Parse/ |
ParseStmtAsm.cpp | 31 #include "llvm/Support/SourceMgr.h" 140 const llvm::SourceMgr &LSM = *D.getSourceMgr(); 488 llvm::SourceMgr TempSrcMgr;
|