Home
last modified time | relevance | path

Searched refs:IncludeLoc (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h75 SMLoc IncludeLoc; member
136 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc()
142 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument
145 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer()
156 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
222 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DSourceMgr.cpp41 SMLoc IncludeLoc, in AddIncludeFile() argument
58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile()
160 IncludeLoc(Other.IncludeLoc) { in SrcBuffer()
249 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument
250 if (IncludeLoc == SMLoc()) in PrintIncludeStack()
253 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack()
256 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack()
259 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack()
335 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp346 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, in getFileAndSuggestModule() argument
359 Diags.Report(IncludeLoc, diag::err_cannot_open_file) in getFileAndSuggestModule()
377 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, in LookupFile() argument
401 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(), in LookupFile()
665 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument
667 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); in checkMSVCHeaderSearch()
715 diagnoseFrameworkInclude(DiagnosticsEngine &Diags, SourceLocation IncludeLoc, in diagnoseFrameworkInclude() argument
735 Diags.Report(IncludeLoc, diag::warn_quoted_include_in_framework_header) in diagnoseFrameworkInclude()
737 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude()
745 Diags.Report(IncludeLoc, diag::warn_framework_include_private_from_public) in diagnoseFrameworkInclude()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp167 FullSourceLoc IncludeLoc = in emitIncludeStack() local
172 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack()
175 LastIncludeLoc = IncludeLoc; in emitIncludeStack()
180 if (IncludeLoc.isValid()) in emitIncludeStack()
181 emitIncludeStackRecursively(IncludeLoc); in emitIncludeStack()
H A DPrintPreprocessedOutput.cpp274 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local
275 if (IncludeLoc.isValid()) in FileChanged()
276 MoveToLine(IncludeLoc); in FileChanged()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp563 SourceLocation IncludeLoc) { in createFileID() argument
566 IncludeLoc, FileCharacter, LoadedID, LoadedOffset); in createFileID()
576 SourceLocation IncludeLoc) { in createFileID() argument
578 LoadedID, LoadedOffset, IncludeLoc); in createFileID()
1548 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local
1576 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc()
1577 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc()
1582 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc()
1785 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() local
1787 (IncludeLoc.isValid() && isInFileID(IncludeLoc, FID)) || in computeMacroArgsCache()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h308 SourceLocation IncludeLoc;
314 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {}
357 return IncludeLoc;
H A DSourceManager.h290 SourceLocation IncludeLoc; variable
310 X.IncludeLoc = IL; in get()
320 return IncludeLoc; in getIncludeLoc()
881 SourceLocation IncludeLoc = SourceLocation());
890 SourceLocation IncludeLoc = SourceLocation());
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DDirectoryLookup.h180 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
H A DHeaderSearch.h402 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
692 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAttr.cpp388 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaAlignPack() argument
416 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaAlignPack()
421 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaAlignPack()
H A DSema.cpp115 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local
116 if (IncludeLoc.isValid()) { in FileChanged()
123 IncludeStack.push_back(IncludeLoc); in FileChanged()
126 IncludeLoc); in FileChanged()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp1525 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1526 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry()
1528 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1532 FileID FID = SourceMgr.createFileID(*File, IncludeLoc, FileCharacter, ID, in ReadSLocEntry()
1567 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local
1568 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry()
1569 IncludeLoc = getImportLocation(F); in ReadSLocEntry()
1576 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5046 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local
5055 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
H A DMasmParser.cpp5835 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local
5844 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h9881 SourceLocation IncludeLoc);