Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DSourceMgr.h54 SMLoc IncludeLoc; member
107 return Buffers[i].IncludeLoc; in getParentIncludeLoc()
112 size_t AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { in AddNewSourceBuffer() argument
115 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer()
124 size_t AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
168 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
/external/llvm/lib/Support/
DSourceMgr.cpp56 SMLoc IncludeLoc, in AddIncludeFile() argument
70 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); in AddIncludeFile()
132 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument
133 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack()
135 int CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack()
138 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
142 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
230 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp208 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); in emitIncludeStack() local
211 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack()
214 LastIncludeLoc = IncludeLoc; in emitIncludeStack()
219 if (IncludeLoc.isValid()) in emitIncludeStack()
220 emitIncludeStackRecursively(IncludeLoc, SM); in emitIncludeStack()
DPrintPreprocessedOutput.cpp272 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local
273 if (IncludeLoc.isValid()) in FileChanged()
274 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 { return IncludeLoc; } in getIncludeLoc()
DSourceManager.h240 unsigned IncludeLoc; // Really a SourceLocation variable
261 X.IncludeLoc = IL.getRawEncoding(); in get()
271 return SourceLocation::getFromRawEncoding(IncludeLoc); in getIncludeLoc()
799 SourceLocation IncludeLoc = SourceLocation()) {
800 return createFileID(createMemBufferContentCache(Buffer), IncludeLoc,
/external/clang/lib/Basic/
DSourceManager.cpp1523 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local
1547 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
1548 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc()
1553 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
1815 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); in computeMacroArgsCache() local
1816 if (IncludeLoc.isInvalid()) in computeMacroArgsCache()
1818 if (!isInFileID(IncludeLoc, FID)) in computeMacroArgsCache()
/external/clang/lib/Lex/
DModuleMap.cpp698 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); in inferModuleFromLocation() local
699 if (IncludeLoc.isInvalid()) in inferModuleFromLocation()
702 ExpansionFileID = SrcMgr.getFileID(IncludeLoc); in inferModuleFromLocation()
/external/clang/lib/Serialization/
DASTReader.cpp960 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
961 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry()
963 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
967 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, in ReadSLocEntry()
1010 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1011 if (IncludeLoc.isInvalid() && F->Kind == MK_Module) { in ReadSLocEntry()
1012 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1027 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp3495 SMLoc IncludeLoc = getLexer().getLoc(); in ParseDirectiveInclude() local
3507 Error(IncludeLoc, "Could not find include file '" + Filename + "'"); in ParseDirectiveInclude()