/external/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 214 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); local 217 if (LastIncludeLoc == IncludeLoc) 220 LastIncludeLoc = IncludeLoc; 225 if (IncludeLoc.isValid()) 226 emitIncludeStackRecursively(IncludeLoc, SM);
|
H A D | PrintPreprocessedOutput.cpp | 267 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local 268 if (IncludeLoc.isValid()) 269 MoveToLine(IncludeLoc);
|
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 53 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer 113 return Buffers[i - 1].IncludeLoc; 118 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { argument 121 NB.IncludeLoc = IncludeLoc; 132 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 187 /// \param IncludeLoc The location of the include. 189 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 53 SMLoc IncludeLoc, 70 return AddNewSourceBuffer(NewBufOrErr.get().release(), IncludeLoc); 128 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument 129 if (IncludeLoc == SMLoc()) return; // Top of stack. 131 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); 134 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 138 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; 216 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); 52 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 359 SourceLocation IncludeLoc; member in class:clang::SourceLocation::PresumedLoc 363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { 391 SourceLocation getIncludeLoc() const { return IncludeLoc; }
|
H A D | SourceManager.h | 247 /// expanded from. The main include file has an invalid IncludeLoc. 255 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo 276 X.IncludeLoc = IL.getRawEncoding(); 286 return SourceLocation::getFromRawEncoding(IncludeLoc); 794 SourceLocation IncludeLoc = SourceLocation()) { 795 return createFileID(createMemBufferContentCache(Buffer), IncludeLoc,
|
/external/clang/lib/Lex/ |
H A D | HeaderSearch.cpp | 543 SourceLocation IncludeLoc) { 545 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); 565 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 669 if (Diags.isIgnored(diag::ext_pp_include_search_ms, IncludeLoc)) { 764 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { 789 ScratchFilename, IncludeLoc, /*isAngled=*/true, FromDir, CurDir, 792 if (checkMSVCHeaderSearch(Diags, MSFE, FE, IncludeLoc)) { 807 if (checkMSVCHeaderSearch(Diags, MSFE, nullptr, IncludeLoc)) { 541 checkMSVCHeaderSearch(DiagnosticsEngine &Diags, const FileEntry *MSFE, const FileEntry *FE, SourceLocation IncludeLoc) argument 564 LookupFile( StringRef Filename, SourceLocation IncludeLoc, bool isAngled, const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, ArrayRef<const FileEntry *> Includers, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, ModuleMap::KnownHeader *SuggestedModule, bool SkipCache) argument
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1481 SourceLocation IncludeLoc = FI.getIncludeLoc(); 1505 IncludeLoc = getLocForStartOfFile(LocInfo.first); 1506 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); 1511 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc); 1808 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local 1809 if (IncludeLoc.isInvalid()) 1811 if (!isInFileID(IncludeLoc, FID))
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 1191 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); 1192 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { 1194 IncludeLoc = getImportLocation(F); 1198 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter, 1241 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local 1242 if (IncludeLoc.isInvalid() && F->Kind == MK_Module) { 1243 IncludeLoc = getImportLocation(F); 1258 IncludeLoc);
|