/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | SourceMgr.cpp | 52 SMLoc IncludeLoc, 66 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); 124 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument 125 if (IncludeLoc == SMLoc()) return; // Top of stack. 127 int CurBuf = FindBufferContainingLoc(IncludeLoc); 130 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 134 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; 193 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 51 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | SourceMgr.h | 45 /// IncludeLoc - This is the location of the parent include, or null if at 47 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 96 return Buffers[i].IncludeLoc; 101 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { 104 NB.IncludeLoc = IncludeLoc; 113 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 148 /// @param IncludeLoc - The line of the include. 150 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 53 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 58 : Buffer(std::move(O.Buffer)), IncludeLoc(O.IncludeLoc) {} 118 return Buffers[i - 1].IncludeLoc; 124 SMLoc IncludeLoc) { 127 NB.IncludeLoc = IncludeLoc; 138 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 193 /// \param IncludeLoc The location of the include. 195 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostrea 123 AddNewSourceBuffer(std::unique_ptr<MemoryBuffer> F, SMLoc IncludeLoc) argument [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | SourceMgr.h | 53 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 113 return Buffers[i - 1].IncludeLoc; 119 SMLoc IncludeLoc) { 122 NB.IncludeLoc = IncludeLoc; 133 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 188 /// \param IncludeLoc The location of the include. 190 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const; 118 AddNewSourceBuffer(std::unique_ptr<MemoryBuffer> F, SMLoc IncludeLoc) argument
|
/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 46 SMLoc IncludeLoc, 63 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); 121 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument 122 if (IncludeLoc == SMLoc()) return; // Top of stack. 124 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); 127 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 131 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; 209 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 45 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
|
/external/clang/include/clang/Lex/ |
H A D | DirectoryLookup.h | 154 /// \param IncludeLoc the source location of the #include or #import 178 SourceLocation IncludeLoc,
|
H A D | HeaderSearch.h | 357 /// \param IncludeLoc Used for diagnostics if valid. 379 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 583 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
|
/external/clang/lib/Lex/ |
H A D | HeaderSearch.cpp | 253 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, 276 SourceLocation IncludeLoc, 302 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), 545 SourceLocation IncludeLoc) { 547 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); 567 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 590 return getFileAndSuggestModule(Filename, IncludeLoc, nullptr, 627 TmpDir, IncludeLoc, IncluderAndDir.second, IncluderIsSystemHeader, 665 if (Diags.isIgnored(diag::ext_pp_include_search_ms, IncludeLoc)) { 718 Filename, *this, IncludeLoc, SearchPat 252 getFileAndSuggestModule( StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, bool IsSystemHeaderDir, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) argument 273 LookupFile( StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, bool &InUserSpecifiedSystemFramework, bool &HasBeenMapped, SmallVectorImpl<char> &MappedName) const argument 543 checkMSVCHeaderSearch(DiagnosticsEngine &Diags, const FileEntry *MSFE, const FileEntry *FE, SourceLocation IncludeLoc) argument 566 LookupFile( StringRef Filename, SourceLocation IncludeLoc, bool isAngled, const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, ArrayRef<std::pair<const FileEntry *, const DirectoryEntry *>> Includers, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, bool SkipCache, bool BuildSystemModule) argument [all...] |
H A D | ModuleMap.cpp | 939 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); 940 if (IncludeLoc.isInvalid()) 943 ExpansionFileID = SrcMgr.getFileID(IncludeLoc);
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 359 SourceLocation IncludeLoc; member in class:clang::SourceLocation::PresumedLoc 363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { 391 SourceLocation getIncludeLoc() const { assert(isValid()); return IncludeLoc; }
|
H A D | SourceManager.h | 238 /// expanded from. The main include file has an invalid IncludeLoc. 246 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo 267 X.IncludeLoc = IL.getRawEncoding(); 277 return SourceLocation::getFromRawEncoding(IncludeLoc); 795 SourceLocation IncludeLoc = SourceLocation()) { 797 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
|
/external/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 170 SourceLocation IncludeLoc = local 174 if (LastIncludeLoc == IncludeLoc) 177 LastIncludeLoc = IncludeLoc; 182 if (IncludeLoc.isValid()) 183 emitIncludeStackRecursively(IncludeLoc, SM);
|
H A D | PrintPreprocessedOutput.cpp | 263 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local 264 if (IncludeLoc.isValid()) 265 MoveToLine(IncludeLoc);
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1487 SourceLocation IncludeLoc = FI.getIncludeLoc(); 1511 IncludeLoc = getLocForStartOfFile(LocInfo.first); 1512 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1517 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); 1814 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local 1815 if (IncludeLoc.isInvalid()) 1817 if (!isInFileID(IncludeLoc, FID))
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1271 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); 1272 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { 1274 IncludeLoc = getImportLocation(F); 1278 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, 1314 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local 1315 if (IncludeLoc.isInvalid() && 1317 IncludeLoc = getImportLocation(F); 1324 BaseOffset + Offset, IncludeLoc);
|
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 2162 SMLoc IncludeLoc = getLexer().getLoc(); local 2174 Error(IncludeLoc, "Could not find include file '" + Filename + "'");
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 4305 SMLoc IncludeLoc = getLexer().getLoc(); 4314 Error(IncludeLoc, "Could not find include file '" + Filename + "'");
|