/external/swiftshader/third_party/LLVM/lib/Support/ |
D | SourceMgr.cpp | 52 SMLoc IncludeLoc, in AddIncludeFile() argument 66 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); in AddIncludeFile() 124 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument 125 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack() 127 int CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() 130 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack() 134 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack() 193 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | SourceMgr.h | 47 SMLoc IncludeLoc; member 96 return Buffers[i].IncludeLoc; in getParentIncludeLoc() 101 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { in AddNewSourceBuffer() argument 104 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer() 113 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 150 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 53 SMLoc IncludeLoc; member 58 : Buffer(std::move(O.Buffer)), IncludeLoc(O.IncludeLoc) {} in SrcBuffer() 118 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 124 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument 127 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer() 138 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 195 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 53 SMLoc IncludeLoc; member 113 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 119 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument 122 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer() 133 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 190 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 46 SMLoc IncludeLoc, in AddIncludeFile() argument 63 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile() 121 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument 122 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack() 124 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() 127 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack() 131 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack() 209 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
|
/external/clang/lib/Lex/ |
D | HeaderSearch.cpp | 253 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, in getFileAndSuggestModule() argument 276 SourceLocation IncludeLoc, in LookupFile() argument 302 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile() 545 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument 547 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); in checkMSVCHeaderSearch() 567 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument 590 return getFileAndSuggestModule(Filename, IncludeLoc, nullptr, in LookupFile() 627 TmpDir, IncludeLoc, IncluderAndDir.second, IncluderIsSystemHeader, in LookupFile() 665 if (Diags.isIgnored(diag::ext_pp_include_search_ms, IncludeLoc)) { in LookupFile() 718 Filename, *this, IncludeLoc, SearchPath, RelativePath, RequestingModule, in LookupFile() [all …]
|
D | ModuleMap.cpp | 939 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); in inferModuleFromLocation() local 940 if (IncludeLoc.isInvalid()) in inferModuleFromLocation() 943 ExpansionFileID = SrcMgr.getFileID(IncludeLoc); in inferModuleFromLocation()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 170 SourceLocation IncludeLoc = in emitIncludeStack() local 174 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack() 177 LastIncludeLoc = IncludeLoc; in emitIncludeStack() 182 if (IncludeLoc.isValid()) in emitIncludeStack() 183 emitIncludeStackRecursively(IncludeLoc, SM); in emitIncludeStack()
|
D | PrintPreprocessedOutput.cpp | 263 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local 264 if (IncludeLoc.isValid()) in FileChanged() 265 MoveToLine(IncludeLoc); in FileChanged()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 359 SourceLocation IncludeLoc; variable 363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { in PresumedLoc() 391 SourceLocation getIncludeLoc() const { assert(isValid()); return IncludeLoc; } in getIncludeLoc()
|
D | SourceManager.h | 246 unsigned IncludeLoc; // Really a SourceLocation variable 267 X.IncludeLoc = IL.getRawEncoding(); in get() 277 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc() 795 SourceLocation IncludeLoc = SourceLocation()) { 797 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
|
/external/clang/include/clang/Lex/ |
D | DirectoryLookup.h | 178 SourceLocation IncludeLoc,
|
D | HeaderSearch.h | 379 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 583 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1487 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local 1511 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc() 1512 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc() 1517 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc() 1814 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); in computeMacroArgsCache() local 1815 if (IncludeLoc.isInvalid()) in computeMacroArgsCache() 1817 if (!isInFileID(IncludeLoc, FID)) in computeMacroArgsCache()
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | AsmParser.cpp | 2162 SMLoc IncludeLoc = getLexer().getLoc(); in ParseDirectiveInclude() local 2174 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in ParseDirectiveInclude()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 1271 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1272 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry() 1274 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1278 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, in ReadSLocEntry() 1314 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1315 if (IncludeLoc.isInvalid() && in ReadSLocEntry() 1317 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1324 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 4305 SMLoc IncludeLoc = getLexer().getLoc(); in parseDirectiveInclude() local 4314 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in parseDirectiveInclude()
|