Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A 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;
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DSourceMgr.cpp48 SMLoc IncludeLoc, in AddIncludeFile() argument
65 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()
123 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument
124 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack()
126 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack()
129 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
133 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
211 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp214 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); in emitIncludeStack() local
217 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack()
220 LastIncludeLoc = IncludeLoc; in emitIncludeStack()
225 if (IncludeLoc.isValid()) in emitIncludeStack()
226 emitIncludeStackRecursively(IncludeLoc, SM); in emitIncludeStack()
H A DPrintPreprocessedOutput.cpp267 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local
268 if (IncludeLoc.isValid()) in FileChanged()
269 MoveToLine(IncludeLoc); in FileChanged()
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h358 SourceLocation IncludeLoc; variable
362 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { in PresumedLoc()
390 SourceLocation getIncludeLoc() const { return IncludeLoc; } in getIncludeLoc()
H A DSourceManager.h255 unsigned IncludeLoc; // Really a SourceLocation variable
276 X.IncludeLoc = IL.getRawEncoding(); in get()
286 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc()
794 SourceLocation IncludeLoc = SourceLocation()) {
796 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
/minix3/external/bsd/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp553 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument
555 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); in checkMSVCHeaderSearch()
575 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument
669 if (Diags.isIgnored(diag::ext_pp_include_search_ms, IncludeLoc)) { in LookupFile()
764 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { in LookupFile()
789 ScratchFilename, IncludeLoc, /*isAngled=*/true, FromDir, CurDir, in LookupFile()
792 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { in LookupFile()
805 if (checkMSVCHeaderSearch(Diags, MSFE, nullptr, IncludeLoc)) { in LookupFile()
H A DModuleMap.cpp919 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); in inferModuleFromLocation() local
920 if (IncludeLoc.isInvalid()) in inferModuleFromLocation()
923 ExpansionFileID = SrcMgr.getFileID(IncludeLoc); in inferModuleFromLocation()
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1472 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local
1496 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
1497 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc()
1502 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
1799 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); in computeMacroArgsCache() local
1800 if (IncludeLoc.isInvalid()) in computeMacroArgsCache()
1802 if (!isInFileID(IncludeLoc, FID)) in computeMacroArgsCache()
/minix3/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DHeaderSearch.h392 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp1204 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1205 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry()
1207 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1211 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, in ReadSLocEntry()
1254 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1255 if (IncludeLoc.isInvalid() && in ReadSLocEntry()
1257 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1272 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
/minix3/external/bsd/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3802 SMLoc IncludeLoc = getLexer().getLoc(); in parseDirectiveInclude() local
3811 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in parseDirectiveInclude()