/external/clang/lib/Basic/ |
H A D | SourceLocation.cpp | 74 return SrcMgr->getFileID(*this); 80 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); 85 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); 90 return SrcMgr->getExpansionLineNumber(*this, Invalid); 95 return SrcMgr->getExpansionColumnNumber(*this, Invalid); 100 return SrcMgr->getSpellingLineNumber(*this, Invalid); 105 return SrcMgr->getSpellingColumnNumber(*this, Invalid); 110 return SrcMgr [all...] |
H A D | SourceManager.cpp | 32 using namespace SrcMgr; 204 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User; 231 SrcMgr::CharacteristicKind FileKind) { 307 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); 310 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); 337 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); 340 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); 345 SrcMgr::CharacteristicKind FileKind; 347 FileKind = SrcMgr [all...] |
/external/llvm/lib/TableGen/ |
H A D | Error.cpp | 21 SourceMgr SrcMgr; member in namespace:llvm 28 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); 30 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, 39 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); 55 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
|
H A D | Main.cpp | 66 // Tell SrcMgr about this buffer, which is what TGParser will pick up. 67 SrcMgr.AddNewSourceBuffer(F, SMLoc()); 71 SrcMgr.setIncludeDirs(IncludeDirs); 73 TGParser Parser(SrcMgr, Records);
|
H A D | TGLexer.cpp | 30 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) { 32 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); 61 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); 63 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); 64 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer); 306 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), 315 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer);
|
H A D | TGLexer.h | 62 SourceMgr &SrcMgr; member in class:llvm::TGLexer 80 TGLexer(SourceMgr &SrcMgr);
|
/external/clang/include/clang/Lex/ |
H A D | DirectoryLookup.h | 50 /// SrcMgr::CharacteristicKind. 67 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT, 77 DirectoryLookup(const HeaderMap *map, SrcMgr::CharacteristicKind DT, 118 SrcMgr::CharacteristicKind getDirCharacteristic() const { 119 return (SrcMgr::CharacteristicKind)DirCharacteristic;
|
H A D | HeaderSearch.h | 46 /// SrcMgr::CharacteristicKind. 90 : isImport(false), isPragmaOnce(false), DirInfo(SrcMgr::C_User), 371 SrcMgr::CharacteristicKind getFileDirFlavor(const FileEntry *File) { 372 return (SrcMgr::CharacteristicKind)getFileInfo(File).DirInfo; 386 getFileInfo(File).DirInfo = SrcMgr::C_System;
|
H A D | PPCallbacks.h | 47 SrcMgr::CharacteristicKind FileType, 60 SrcMgr::CharacteristicKind FileType) { 246 SrcMgr::CharacteristicKind FileType, 254 SrcMgr::CharacteristicKind FileType) {
|
/external/clang/tools/libclang/ |
H A D | CIndexInclusionStack.cpp | 38 const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsigned, bool*) const; 47 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); 52 const SrcMgr::FileInfo &FI = SL.getFile();
|
/external/clang/include/clang/Basic/ |
H A D | SourceManager.h | 69 namespace SrcMgr { namespace in namespace:clang 420 } // end SrcMgr namespace. 538 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos; 570 std::vector<SrcMgr::ContentCache*> MemBufferInfos; 576 std::vector<SrcMgr::SLocEntry> LocalSLocEntryTable; 582 mutable std::vector<SrcMgr::SLocEntry> LoadedSLocEntryTable; 622 mutable SrcMgr::ContentCache *LastLineNoContentCache; 641 mutable SrcMgr::ContentCache *FakeContentCacheForRecovery; 693 SrcMgr::CharacteristicKind Kind = SrcMgr 692 createMainFileID(const FileEntry *SourceFile, SrcMgr::CharacteristicKind Kind = SrcMgr::C_User) argument [all...] |
H A D | SourceManagerInternals.h | 41 SrcMgr::CharacteristicKind FileKind; 50 SrcMgr::CharacteristicKind FileKind, 113 unsigned EntryExit, SrcMgr::CharacteristicKind FileKind);
|
H A D | SourceLocation.h | 272 const SourceManager *SrcMgr; member in class:clang::FullSourceLoc 275 explicit FullSourceLoc() : SrcMgr(0) {} 278 : SourceLocation(Loc), SrcMgr(&SM) {} 282 assert(SrcMgr && "SourceManager is NULL."); 283 return *SrcMgr; 323 assert(SrcMgr == Loc.SrcMgr && "Loc comes from another SourceManager!"); 343 LHS.SrcMgr == RHS.SrcMgr;
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | InclusionRewriter.cpp | 32 SrcMgr::CharacteristicKind FileType; 48 bool Process(FileID FileId, SrcMgr::CharacteristicKind FileType); 51 SrcMgr::CharacteristicKind FileType, 55 SrcMgr::CharacteristicKind FileType); 65 SrcMgr::CharacteristicKind FileType, 95 SrcMgr::CharacteristicKind FileType, 107 if (FileType == SrcMgr::C_System) 111 else if (FileType == SrcMgr::C_ExternCSystem) 123 SrcMgr::CharacteristicKind NewFileType, 139 SrcMgr [all...] |
/external/llvm/tools/llvm-mc/ |
H A D | llvm-mc.cpp | 224 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, tool_output_file *Out) { argument 227 Lexer.setBuffer(SrcMgr.getMemoryBuffer(0)); 235 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning, 306 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, 308 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx, 356 SourceMgr SrcMgr; local 358 // Tell SrcMgr about this buffer, which is what the parser will pick up. 359 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); 363 SrcMgr.setIncludeDirs(IncludeDirs); 375 MCContext Ctx(*MAI, *MRI, MOFI.get(), &SrcMgr); 305 AssembleInput(const char *ProgName, const Target *TheTarget, SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, MCAsmInfo &MAI, MCSubtargetInfo &STI) argument [all...] |
/external/llvm/include/llvm/TableGen/ |
H A D | Error.h | 44 extern SourceMgr SrcMgr;
|
/external/clang/lib/Frontend/ |
H A D | HeaderIncludeGen.cpp | 43 SrcMgr::CharacteristicKind FileType, 77 SrcMgr::CharacteristicKind NewFileType,
|
H A D | DependencyFile.cpp | 42 SrcMgr::CharacteristicKind FileType); 56 SrcMgr::CharacteristicKind FileType, 90 SrcMgr::CharacteristicKind FileType) { 97 return FileType == SrcMgr::C_User; 102 SrcMgr::CharacteristicKind FileType,
|
H A D | InitHeaderSearch.cpp | 134 SrcMgr::CharacteristicKind Type; 136 Type = SrcMgr::C_User; 138 Type = SrcMgr::C_System; 140 Type = SrcMgr::C_ExternCSystem; 535 if (CurEntry.getDirCharacteristic() != SrcMgr::C_User) { 563 if (SearchList[FirstDir].getDirCharacteristic() == SrcMgr::C_User)
|
H A D | PrintPreprocessedOutput.cpp | 92 SrcMgr::CharacteristicKind FileType; 108 FileType = SrcMgr::C_User; 126 SrcMgr::CharacteristicKind FileType, 182 if (FileType == SrcMgr::C_System) 184 else if (FileType == SrcMgr::C_ExternCSystem) 238 SrcMgr::CharacteristicKind NewFileType,
|
/external/clang/unittests/Tooling/ |
H A D | RewriterTestContext.h | 60 return Sources.createFileID(Entry, SourceLocation(), SrcMgr::C_User); 83 return Sources.createFileID(File, SourceLocation(), SrcMgr::C_User);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterInlineAsm.cpp | 89 SourceMgr SrcMgr; local 101 SrcMgr.setDiagHandler(srcMgrDiagHandler, &DiagInfo); 111 // Tell SrcMgr about this buffer, it takes ownership of the buffer. 112 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); 114 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr,
|
/external/clang/include/clang/Frontend/ |
H A D | CompilerInstance.h | 638 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User); 645 SrcMgr::CharacteristicKind Kind,
|
/external/llvm/lib/MC/ |
H A D | MCContext.cpp | 35 SrcMgr(mgr), MAI(mai), MRI(mri), MOFI(mofi), 331 if (!SrcMgr || Loc == SMLoc()) 335 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
|
/external/clang/tools/driver/ |
H A D | cc1as_main.cpp | 275 SourceMgr SrcMgr; local 277 // Tell SrcMgr about this buffer, which is what the parser will pick up. 278 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); 282 SrcMgr.setIncludeDirs(Opts.IncludePaths); 298 MCContext Ctx(*MAI, *MRI, MOFI.get(), &SrcMgr); 353 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx,
|