Home
last modified time | relevance | path

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

/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/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/include/clang/Basic/
DSourceLocation.h359 SourceLocation IncludeLoc; variable
363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { in PresumedLoc()
391 SourceLocation getIncludeLoc() const { return IncludeLoc; } in getIncludeLoc()
DSourceManager.h247 unsigned IncludeLoc; // Really a SourceLocation variable
268 X.IncludeLoc = IL.getRawEncoding(); in get()
278 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc()
796 SourceLocation IncludeLoc = SourceLocation()) {
798 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp212 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); in emitIncludeStack() local
215 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack()
218 LastIncludeLoc = IncludeLoc; in emitIncludeStack()
223 if (IncludeLoc.isValid()) in emitIncludeStack()
224 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/lib/Lex/
DHeaderSearch.cpp544 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument
546 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); in checkMSVCHeaderSearch()
566 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, in LookupFile() argument
663 if (Diags.isIgnored(diag::ext_pp_include_search_ms, IncludeLoc)) { in LookupFile()
758 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { in LookupFile()
783 LookupFile(ScratchFilename, IncludeLoc, /*isAngled=*/true, FromDir, in LookupFile()
787 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { in LookupFile()
800 if (checkMSVCHeaderSearch(Diags, MSFE, nullptr, IncludeLoc)) { in LookupFile()
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/Basic/
DSourceManager.cpp1480 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local
1504 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
1505 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc()
1510 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
1807 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); in computeMacroArgsCache() local
1808 if (IncludeLoc.isInvalid()) in computeMacroArgsCache()
1810 if (!isInFileID(IncludeLoc, FID)) in computeMacroArgsCache()
/external/clang/include/clang/Lex/
DHeaderSearch.h381 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
/external/clang/lib/Serialization/
DASTReader.cpp1235 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1236 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry()
1238 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1242 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, in ReadSLocEntry()
1286 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1287 if (IncludeLoc.isInvalid() && in ReadSLocEntry()
1289 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1304 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp3938 SMLoc IncludeLoc = getLexer().getLoc(); in parseDirectiveInclude() local
3947 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in parseDirectiveInclude()