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

1 2

  /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;
197 SrcMgr::CharacteristicKind Kind = SrcMgr::C_User;
224 SrcMgr::CharacteristicKind FileKind) {
300 const SrcMgr::FileInfo &FileInfo = Entry.getFile();
303 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives();
330 const SrcMgr::FileInfo &FileInfo = Entry.getFile();
333 const_cast<SrcMgr::FileInfo&>(FileInfo).setHasLineDirectives();
338 SrcMgr::CharacteristicKind FileKind;
340 FileKind = SrcMgr::C_ExternCSystem
    [all...]
  /external/llvm/lib/TableGen/
Error.cpp 21 SourceMgr SrcMgr;
24 SrcMgr.PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
28 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
Main.cpp 63 // Tell SrcMgr about this buffer, which is what TGParser will pick up.
64 SrcMgr.AddNewSourceBuffer(F, SMLoc());
68 SrcMgr.setIncludeDirs(IncludeDirs);
70 TGParser Parser(SrcMgr, Records);
TGLexer.cpp 28 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) {
30 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer);
59 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer);
61 CurBuffer = SrcMgr.FindBufferContainingLoc(ParentIncludeLoc);
62 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer);
303 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr),
312 CurBuf = SrcMgr.getMemoryBuffer(CurBuffer);
TGLexer.h 62 SourceMgr &SrcMgr;
80 TGLexer(SourceMgr &SrcMgr);
TGParser.h 68 TGParser(SourceMgr &SrcMgr, RecordKeeper &records) :
69 Lex(SrcMgr), CurMultiClass(0), Records(records) {}
  /external/clang/include/clang/Lex/
DirectoryLookup.h 49 /// SrcMgr::CharacteristicKind.
66 DirectoryLookup(const DirectoryEntry *dir, SrcMgr::CharacteristicKind DT,
76 DirectoryLookup(const HeaderMap *map, SrcMgr::CharacteristicKind DT,
117 SrcMgr::CharacteristicKind getDirCharacteristic() const {
118 return (SrcMgr::CharacteristicKind)DirCharacteristic;
HeaderSearch.h 42 /// SrcMgr::CharacteristicKind.
87 : isImport(false), isPragmaOnce(false), DirInfo(SrcMgr::C_User),
286 SrcMgr::CharacteristicKind getFileDirFlavor(const FileEntry *File) {
287 return (SrcMgr::CharacteristicKind)getFileInfo(File).DirInfo;
301 getFileInfo(File).DirInfo = SrcMgr::C_System;
PPCallbacks.h 48 SrcMgr::CharacteristicKind FileType,
58 SrcMgr::CharacteristicKind FileType) {
221 SrcMgr::CharacteristicKind FileType,
229 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 57 /// SrcMgr - Public enums and private classes that are part of the
60 namespace SrcMgr {
376 } // end SrcMgr namespace.
487 llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*> FileInfos;
499 std::vector<SrcMgr::ContentCache*> MemBufferInfos;
505 std::vector<SrcMgr::SLocEntry> LocalSLocEntryTable;
511 std::vector<SrcMgr::SLocEntry> LoadedSLocEntryTable;
549 mutable SrcMgr::ContentCache *LastLineNoContentCache;
612 MainFileID = createFileID(SourceFile, SourceLocation(), SrcMgr::C_User);
633 SrcMgr::CharacteristicKind FileCharacter
    [all...]
SourceManagerInternals.h 40 SrcMgr::CharacteristicKind FileKind;
48 SrcMgr::CharacteristicKind FileKind,
111 unsigned EntryExit, SrcMgr::CharacteristicKind FileKind);
SourceLocation.h 263 const SourceManager *SrcMgr;
266 explicit FullSourceLoc() : SrcMgr(0) {}
269 : SourceLocation(Loc), SrcMgr(&SM) {}
272 assert(SrcMgr && "SourceManager is NULL.");
273 return *SrcMgr;
312 assert(SrcMgr == Loc.SrcMgr && "Loc comes from another SourceManager!");
326 void dump() const { SourceLocation::dump(*SrcMgr); }
331 LHS.SrcMgr == RHS.SrcMgr;
    [all...]
  /external/llvm/include/llvm/TableGen/
Error.h 38 extern SourceMgr SrcMgr;
  /external/clang/lib/Frontend/
HeaderIncludeGen.cpp 42 SrcMgr::CharacteristicKind FileType,
76 SrcMgr::CharacteristicKind NewFileType,
DependencyFile.cpp 41 SrcMgr::CharacteristicKind FileType);
55 SrcMgr::CharacteristicKind FileType,
99 SrcMgr::CharacteristicKind FileType) {
106 return FileType == SrcMgr::C_User;
111 SrcMgr::CharacteristicKind FileType,
PrintPreprocessedOutput.cpp 92 SrcMgr::CharacteristicKind FileType;
108 FileType = SrcMgr::C_User;
121 SrcMgr::CharacteristicKind FileType,
181 if (FileType == SrcMgr::C_System)
183 else if (FileType == SrcMgr::C_ExternCSystem)
239 SrcMgr::CharacteristicKind NewFileType,
CacheTokens.cpp 474 const SrcMgr::ContentCache &C = *I->second;
484 FileID FID = SM.createFileID(FE, SourceLocation(), SrcMgr::C_User);
541 const SourceManager &SrcMgr = PP.getSourceManager();
542 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID());
InitHeaderSearch.cpp 132 SrcMgr::CharacteristicKind Type;
134 Type = SrcMgr::C_User;
136 Type = SrcMgr::C_System;
138 Type = SrcMgr::C_ExternCSystem;
    [all...]
  /external/llvm/tools/llvm-mc/
llvm-mc.cpp 241 SourceMgr SrcMgr;
243 // Tell SrcMgr about this buffer, which is what TGParser will pick up.
244 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc());
248 SrcMgr.setIncludeDirs(IncludeDirs);
258 Lexer.setBuffer(SrcMgr.getMemoryBuffer(0));
270 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning,
355 SourceMgr SrcMgr;
357 // Tell SrcMgr about this buffer, which is what the parser will pick up.
358 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc());
362 SrcMgr.setIncludeDirs(IncludeDirs)
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterInlineAsm.cpp 88 SourceMgr SrcMgr;
100 SrcMgr.setDiagHandler(SrcMgrDiagHandler, &DiagInfo);
110 // Tell SrcMgr about this buffer, it takes ownership of the buffer.
111 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc());
113 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr,
  /external/clang/lib/Lex/
PPLexerChange.cpp 122 SrcMgr::CharacteristicKind FileType =
148 SrcMgr::CharacteristicKind FileType =
292 SrcMgr::CharacteristicKind FileType =
  /external/clang/tools/driver/
cc1as_main.cpp 247 SourceMgr SrcMgr;
249 // Tell SrcMgr about this buffer, which is what the parser will pick up.
250 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc());
254 SrcMgr.setIncludeDirs(Opts.IncludePaths);
312 OwningPtr<MCAsmParser> Parser(createMCAsmParser(SrcMgr, Ctx,
  /external/llvm/lib/MC/MCParser/
AsmParser.cpp 89 SourceMgr &SrcMgr;
142 virtual SourceMgr &getSourceManager() { return SrcMgr; }
178 SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges);
355 : Lexer(_MAI), Ctx(_Ctx), Out(_Out), MAI(_MAI), SrcMgr(_SM),
359 SavedDiagHandler = SrcMgr.getDiagHandler();
360 SavedDiagContext = SrcMgr.getDiagContext();
362 SrcMgr.setDiagHandler(DiagHandler, this);
363 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer));
421 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
427 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer))
    [all...]

Completed in 675 milliseconds

1 2