Searched refs:IncludeLoc (Results 1 - 12 of 12) sorted by relevance

/external/llvm/include/llvm/Support/
H A DSourceMgr.h53 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer
58 : Buffer(std::move(O.Buffer)), IncludeLoc(O.IncludeLoc) {}
118 return Buffers[i - 1].IncludeLoc;
124 SMLoc IncludeLoc) {
127 NB.IncludeLoc = IncludeLoc;
138 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
193 /// \param IncludeLoc The location of the include.
195 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostrea
123 AddNewSourceBuffer(std::unique_ptr<MemoryBuffer> F, SMLoc IncludeLoc) argument
[all...]
/external/llvm/lib/Support/
H A DSourceMgr.cpp46 SMLoc IncludeLoc,
63 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc);
121 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument
122 if (IncludeLoc == SMLoc()) return; // Top of stack.
124 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc);
127 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS);
131 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n";
209 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS);
45 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
/external/clang/include/clang/Basic/
H A DSourceLocation.h358 SourceLocation IncludeLoc; member in class:clang::SourceLocation::PresumedLoc
362 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) {
390 SourceLocation getIncludeLoc() const { return IncludeLoc; }
H A DSourceManager.h233 /// expanded from. The main include file has an invalid IncludeLoc.
241 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo
262 X.IncludeLoc = IL.getRawEncoding();
272 return SourceLocation::getFromRawEncoding(IncludeLoc);
780 SourceLocation IncludeLoc = SourceLocation()) {
782 IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
/external/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp214 SourceLocation IncludeLoc = PLoc.getIncludeLoc(); local
217 if (LastIncludeLoc == IncludeLoc)
220 LastIncludeLoc = IncludeLoc;
225 if (IncludeLoc.isValid())
226 emitIncludeStackRecursively(IncludeLoc, SM);
H A DPrintPreprocessedOutput.cpp264 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local
265 if (IncludeLoc.isValid())
266 MoveToLine(IncludeLoc);
/external/clang/lib/Lex/
H A DHeaderSearch.cpp553 SourceLocation IncludeLoc) {
555 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName();
575 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)) {
805 if (checkMSVCHeaderSearch(Diags, MSFE, nullptr, IncludeLoc)) {
551 checkMSVCHeaderSearch(DiagnosticsEngine &Diags, const FileEntry *MSFE, const FileEntry *FE, SourceLocation IncludeLoc) argument
574 LookupFile( StringRef Filename, SourceLocation IncludeLoc, bool isAngled, const DirectoryLookup *FromDir, const DirectoryLookup *&CurDir, ArrayRef<std::pair<const FileEntry *, const DirectoryEntry *>> Includers, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, ModuleMap::KnownHeader *SuggestedModule, bool SkipCache) argument
H A DModuleMap.cpp933 SourceLocation IncludeLoc = SrcMgr.getIncludeLoc(ExpansionFileID);
934 if (IncludeLoc.isInvalid())
937 ExpansionFileID = SrcMgr.getFileID(IncludeLoc);
/external/clang/lib/Basic/
H A DSourceManager.cpp1472 SourceLocation IncludeLoc = FI.getIncludeLoc();
1496 IncludeLoc = getLocForStartOfFile(LocInfo.first);
1497 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset);
1502 return PresumedLoc(Filename, LineNo, ColNo, IncludeLoc);
1799 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local
1800 if (IncludeLoc.isInvalid())
1802 if (!isInFileID(IncludeLoc, FID))
/external/clang/include/clang/Lex/
H A DHeaderSearch.h370 /// \param IncludeLoc Used for diagnostics if valid.
392 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
/external/clang/lib/Serialization/
H A DASTReader.cpp1237 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]);
1238 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) {
1240 IncludeLoc = getImportLocation(F);
1244 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter,
1287 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local
1288 if (IncludeLoc.isInvalid() &&
1290 IncludeLoc = getImportLocation(F);
1305 BaseOffset + Offset, IncludeLoc); local
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3804 SMLoc IncludeLoc = getLexer().getLoc();
3813 Error(IncludeLoc, "Could not find include file '" + Filename + "'");

Completed in 390 milliseconds