Searched refs:IncludeLoc (Results 1 - 9 of 9) 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, 157 /// @param IncludeLoc - The line of the include. 159 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); 128 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument 129 if (IncludeLoc == SMLoc()) return; // Top of stack. 131 int CurBuf = FindBufferContainingLoc(IncludeLoc); 134 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 138 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; 224 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 | 363 SourceLocation IncludeLoc; member in class:clang::PresumedLoc 367 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { 395 SourceLocation getIncludeLoc() const { return IncludeLoc; }
|
H A D | SourceManager.h | 232 /// expanded from. The main include file has an invalid IncludeLoc. 240 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo 261 X.IncludeLoc = IL.getRawEncoding(); 271 return SourceLocation::getFromRawEncoding(IncludeLoc); 738 SourceLocation IncludeLoc = SourceLocation()) { 739 return createFileID(createMemBufferContentCache(Buffer), IncludeLoc,
|
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 251 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local 252 if (IncludeLoc.isValid()) 253 MoveToLine(IncludeLoc);
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1383 SourceLocation IncludeLoc = FI.getIncludeLoc(); 1407 IncludeLoc = getLocForStartOfFile(LocInfo.first); 1408 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1413 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); 1673 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local 1674 if (IncludeLoc.isInvalid()) 1676 if (!isInFileID(IncludeLoc, FID))
|
/external/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 435 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); 436 if (IncludeLoc.isInvalid()) 439 ExpansionFileID = SrcMgr.getFileID(IncludeLoc);
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 2355 SMLoc IncludeLoc = getLexer().getLoc(); local 2367 Error(IncludeLoc, "Could not find include file '" + Filename + "'");
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1125 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local 1126 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { 1128 IncludeLoc = getImportLocation(F); 1132 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter,
|
Completed in 2515 milliseconds