Searched refs:IncludeLoc (Results 1 - 10 of 10) sorted by relevance
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 52 /// IncludeLoc - This is the location of the parent include, or null if at 54 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 107 return Buffers[i].IncludeLoc; 112 size_t AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { 115 NB.IncludeLoc = IncludeLoc; 124 size_t AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 166 /// @param IncludeLoc - The line of the include. 168 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 56 SMLoc IncludeLoc, 70 return AddNewSourceBuffer(NewBuf.take(), IncludeLoc); 132 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument 133 if (IncludeLoc == SMLoc()) return; // Top of stack. 135 int CurBuf = FindBufferContainingLoc(IncludeLoc); 138 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 142 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; 230 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 55 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
|
/external/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 208 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); local 211 if (LastIncludeLoc == IncludeLoc) 214 LastIncludeLoc = IncludeLoc; 219 if (IncludeLoc.isValid()) 220 emitIncludeStackRecursively(IncludeLoc, SM);
|
H A D | PrintPreprocessedOutput.cpp | 272 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local 273 if (IncludeLoc.isValid()) 274 MoveToLine(IncludeLoc);
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 359 SourceLocation IncludeLoc; member in class:clang::PresumedLoc 363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { 391 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); 799 SourceLocation IncludeLoc = SourceLocation()) { 800 return createFileID(createMemBufferContentCache(Buffer), IncludeLoc,
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1523 SourceLocation IncludeLoc = FI.getIncludeLoc(); 1547 IncludeLoc = getLocForStartOfFile(LocInfo.first); 1548 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1553 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); 1815 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local 1816 if (IncludeLoc.isInvalid()) 1818 if (!isInFileID(IncludeLoc, FID))
|
/external/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 698 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID); 699 if (IncludeLoc.isInvalid()) 702 ExpansionFileID = SrcMgr.getFileID(IncludeLoc);
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 960 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); 961 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { 963 IncludeLoc = getImportLocation(F); 967 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, 1010 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local 1011 if (IncludeLoc.isInvalid() && F->Kind == MK_Module) { 1012 IncludeLoc = getImportLocation(F); 1027 BaseOffset + Offset, IncludeLoc);
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 3495 SMLoc IncludeLoc = getLexer().getLoc(); local 3507 Error(IncludeLoc, "Could not find include file '" + Filename + "'");
|
Completed in 844 milliseconds