Home
last modified time | relevance | path

Searched refs:IncludeLoc (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/
DSourceMgr.cpp52 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/
DSourceMgr.h47 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/
DSourceMgr.h53 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/
DSourceMgr.h53 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSourceMgr.h86 SMLoc IncludeLoc; member
147 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc()
153 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument
156 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer()
167 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
224 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSourceMgr.cpp41 SMLoc IncludeLoc, in AddIncludeFile() argument
58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()
111 IncludeLoc(Other.IncludeLoc) { in SrcBuffer()
155 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument
156 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack()
158 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack()
161 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
165 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
241 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
/external/llvm/lib/Support/
DSourceMgr.cpp46 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/
DHeaderSearch.cpp253 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 …]
DModuleMap.cpp939 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/
DDiagnosticRenderer.cpp170 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()
DPrintPreprocessedOutput.cpp263 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local
264 if (IncludeLoc.isValid()) in FileChanged()
265 MoveToLine(IncludeLoc); in FileChanged()
/external/clang/include/clang/Basic/
DSourceLocation.h359 SourceLocation IncludeLoc; variable
363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { in PresumedLoc()
391 SourceLocation getIncludeLoc() const { assert(isValid()); return IncludeLoc; } in getIncludeLoc()
DSourceManager.h246 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/
DDirectoryLookup.h178 SourceLocation IncludeLoc,
DHeaderSearch.h379 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
583 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
/external/clang/lib/Basic/
DSourceManager.cpp1487 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/
DAsmParser.cpp2162 SMLoc IncludeLoc = getLexer().getLoc(); in ParseDirectiveInclude() local
2174 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in ParseDirectiveInclude()
/external/clang/lib/Serialization/
DASTReader.cpp1271 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/
DAsmParser.cpp4305 SMLoc IncludeLoc = getLexer().getLoc(); in parseDirectiveInclude() local
4314 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in parseDirectiveInclude()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DAsmParser.cpp4798 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local
4807 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()