Searched refs:IncludeLoc (Results 1 - 8 of 8) sorted by relevance
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 49 /// IncludeLoc - This is the location of the parent include, or null if at 51 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 100 return Buffers[i].IncludeLoc; 105 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { 108 NB.IncludeLoc = IncludeLoc; 117 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 147 /// @param IncludeLoc - The line of the include. 149 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/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"; 209 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 51 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 350 SourceLocation IncludeLoc; member in class:clang::PresumedLoc 354 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { 377 SourceLocation getIncludeLoc() const { return IncludeLoc; }
|
H A D | SourceManager.h | 197 /// expanded from. The main include file has an invalid IncludeLoc. 202 /// IncludeLoc - The location of the #include that brought in this file. 204 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo 224 X.IncludeLoc = IL.getRawEncoding(); 234 return SourceLocation::getFromRawEncoding(IncludeLoc);
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 252 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local 253 if (IncludeLoc.isValid()) 254 MoveToLine(IncludeLoc);
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1269 SourceLocation IncludeLoc = FI.getIncludeLoc(); 1293 IncludeLoc = getLocForStartOfFile(LocInfo.first); 1294 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1299 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); 1558 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local 1559 if (IncludeLoc.isInvalid()) 1561 if (!isInFileID(IncludeLoc, FID))
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 2160 SMLoc IncludeLoc = getLexer().getLoc(); local 2172 Error(IncludeLoc, "Could not find include file '" + Filename + "'");
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1121 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local 1122 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { 1124 IncludeLoc = getImportLocation(F); 1126 FileID FID = SourceMgr.createFileID(File, IncludeLoc,
|
Completed in 523 milliseconds