/external/clang/lib/Basic/ |
SourceLocation.cpp | 82 return SrcMgr->getFileID(*this); 88 return FullSourceLoc(SrcMgr->getExpansionLoc(*this), *SrcMgr); 93 return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr); 98 return SrcMgr->getExpansionLineNumber(*this, Invalid); 103 return SrcMgr->getExpansionColumnNumber(*this, Invalid); 108 return SrcMgr->getSpellingLineNumber(*this, Invalid); 113 return SrcMgr->getSpellingColumnNumber(*this, Invalid); 118 return SrcMgr->isInSystemHeader(*this) [all...] |
SourceManager.cpp | 31 using namespace SrcMgr; 197 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User; 224 SrcMgr::CharacteristicKind FileKind) { 298 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); 301 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); 326 const SrcMgr::FileInfo &FileInfo = Entry.getFile(); 329 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives(); 333 SrcMgr::CharacteristicKind FileKind; 335 FileKind = SrcMgr::C_ExternCSystem [all...] |
/external/llvm/lib/TableGen/ |
Error.cpp | 23 SourceMgr SrcMgr; 36 SrcMgr.PrintMessage(Loc.front(), Kind, Msg); 38 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, 47 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); 59 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
|
Main.cpp | 85 // Tell SrcMgr about this buffer, which is what TGParser will pick up. 86 SrcMgr.AddNewSourceBuffer(std::move(*FileOrErr), SMLoc()); 90 SrcMgr.setIncludeDirs(IncludeDirs); 92 TGParser Parser(SrcMgr, Records);
|
TGLexer.cpp | 29 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) { 30 CurBuffer = SrcMgr.getMainFileID(); 31 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); 60 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); 62 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc); 63 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(); 305 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), 316 SrcMgr.PrintMessage(Found->second, SourceMgr::DK_Note, 322 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer();
|
TGLexer.h | 67 SourceMgr &SrcMgr; 89 TGLexer(SourceMgr &SrcMgr);
|
/external/clang/include/clang/Lex/ |
DirectoryLookup.h | 51 /// SrcMgr::CharacteristicKind. 68 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT, 78 DirectoryLookup(const HeaderMap *map, SrcMgr::CharacteristicKind DT, 133 SrcMgr::CharacteristicKind getDirCharacteristic() const { 134 return (SrcMgr::CharacteristicKind)DirCharacteristic; 139 return getDirCharacteristic() != SrcMgr::C_User;
|
HeaderSearch.h | 49 /// SrcMgr::CharacteristicKind. 103 : isImport(false), isPragmaOnce(false), DirInfo(SrcMgr::C_User), 415 SrcMgr::CharacteristicKind getFileDirFlavor(const FileEntry *File) { 416 return (SrcMgr::CharacteristicKind)getFileInfo(File).DirInfo; 430 getFileInfo(File).DirInfo = SrcMgr::C_System;
|
/external/clang/tools/libclang/ |
CIndexInclusionStack.cpp | 42 const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsigned, bool*) const; 51 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); 56 const SrcMgr::FileInfo &FI = SL.getFile();
|
/external/clang/include/clang/Basic/ |
SourceManager.h | 71 namespace SrcMgr { 437 } // end SrcMgr namespace. 564 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos; 601 std::vector<SrcMgr::ContentCache*> MemBufferInfos; 607 SmallVector<SrcMgr::SLocEntry, 0> LocalSLocEntryTable; 613 mutable SmallVector<SrcMgr::SLocEntry, 0> LoadedSLocEntryTable; 653 mutable SrcMgr::ContentCache *LastLineNoContentCache; 692 mutable std::unique_ptr<SrcMgr::ContentCache> FakeContentCacheForRecovery; 780 SrcMgr::CharacteristicKind FileCharacter, 782 const SrcMgr::ContentCache [all...] |
SourceManagerInternals.h | 41 SrcMgr::CharacteristicKind FileKind; 50 SrcMgr::CharacteristicKind FileKind, 108 unsigned EntryExit, SrcMgr::CharacteristicKind FileKind);
|
SourceLocation.h | 269 const SourceManager *SrcMgr; 272 explicit FullSourceLoc() : SrcMgr(nullptr) {} 275 : SourceLocation(Loc), SrcMgr(&SM) {} 279 assert(SrcMgr && "SourceManager is NULL."); 280 return *SrcMgr; 319 assert(SrcMgr == Loc.SrcMgr && "Loc comes from another SourceManager!"); 339 LHS.SrcMgr == RHS.SrcMgr;
|
/external/llvm/utils/TableGen/ |
CTagsEmitter.cpp | 39 SrcMgr.getMemoryBuffer(SrcMgr.FindBufferContainingLoc(Loc)); 41 std::pair<unsigned, unsigned> LineAndColumn = SrcMgr.getLineAndColumn(Loc);
|
/external/llvm/include/llvm/TableGen/ |
Error.h | 34 extern SourceMgr SrcMgr;
|
/external/llvm/tools/llvm-mcmarkup/ |
llvm-mcmarkup.cpp | 73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} 146 SourceMgr SrcMgr; 150 // Tell SrcMgr about this buffer, which is what the parser will pick up. 151 SrcMgr.AddNewSourceBuffer(std::move(Buffer), SMLoc()); 154 MarkupParser Parser(Lex, SrcMgr); 203 SrcMgr.PrintMessage(Tag.getLoc(), SourceMgr::DK_Error,
|
/external/clang/lib/Frontend/Rewrite/ |
InclusionRewriter.cpp | 34 SrcMgr::CharacteristicKind FileType; 35 IncludedFile(FileID Id, SrcMgr::CharacteristicKind FileType) 55 bool Process(FileID FileId, SrcMgr::CharacteristicKind FileType); 62 SrcMgr::CharacteristicKind FileType, 65 SrcMgr::CharacteristicKind FileType) override; 72 SrcMgr::CharacteristicKind FileType, 106 SrcMgr::CharacteristicKind FileType, 122 if (FileType == SrcMgr::C_System) 126 else if (FileType == SrcMgr::C_ExternCSystem) 143 SrcMgr::CharacteristicKind NewFileType [all...] |
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 244 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, 248 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); 256 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning, 344 SourceMgr &SrcMgr, MCContext &Ctx, MCStreamer &Str, 348 createMCAsmParser(SrcMgr, Ctx, Str, MAI)); 407 SourceMgr SrcMgr; 409 // Tell SrcMgr about this buffer, which is what the parser will pick up. 410 SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc()); 414 SrcMgr.setIncludeDirs(IncludeDirs) [all...] |
/external/clang/lib/Frontend/ |
HeaderIncludeGen.cpp | 44 SrcMgr::CharacteristicKind FileType, 118 SrcMgr::CharacteristicKind NewFileType,
|