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

1 2 3

  /external/clang/lib/Basic/
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->isInSystemHeader(*this)
    [all...]
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::C_ExternCSystem
    [all...]
  /external/llvm/lib/TableGen/
Error.cpp 21 SourceMgr SrcMgr;
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);
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);
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);
TGLexer.h 62 SourceMgr &SrcMgr;
80 TGLexer(SourceMgr &SrcMgr);
  /external/clang/include/clang/Lex/
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;
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;
PPCallbacks.h 47 SrcMgr::CharacteristicKind FileType,
60 SrcMgr::CharacteristicKind FileType) {
246 SrcMgr::CharacteristicKind FileType,
254 SrcMgr::CharacteristicKind FileType) {
  /external/clang/tools/libclang/
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/
SourceManager.h 69 namespace SrcMgr {
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::C_User)
    [all...]
SourceManagerInternals.h 41 SrcMgr::CharacteristicKind FileKind;
50 SrcMgr::CharacteristicKind FileKind,
113 unsigned EntryExit, SrcMgr::CharacteristicKind FileKind);
SourceLocation.h 272 const SourceManager *SrcMgr;
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/
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::CharacteristicKind /*FileType*/)
    [all...]
  /external/llvm/tools/llvm-mc/
llvm-mc.cpp 224 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, tool_output_file *Out) {
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;
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);
    [all...]
  /external/llvm/include/llvm/TableGen/
Error.h 44 extern SourceMgr SrcMgr;
  /external/clang/lib/Frontend/
HeaderIncludeGen.cpp 43 SrcMgr::CharacteristicKind FileType,
77 SrcMgr::CharacteristicKind NewFileType,
DependencyFile.cpp 42 SrcMgr::CharacteristicKind FileType);
56 SrcMgr::CharacteristicKind FileType,
90 SrcMgr::CharacteristicKind FileType) {
97 return FileType == SrcMgr::C_User;
102 SrcMgr::CharacteristicKind FileType,
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)
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/
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/
AsmPrinterInlineAsm.cpp 89 SourceMgr SrcMgr;
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/
CompilerInstance.h 638 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User);
645 SrcMgr::CharacteristicKind Kind,
  /external/llvm/lib/MC/
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/
cc1as_main.cpp 275 SourceMgr SrcMgr;
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,

Completed in 407 milliseconds

1 2 3