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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h85 SMLoc IncludeLoc; member in struct:llvm::SourceMgr::SrcBuffer
148 return Buffers[i - 1].IncludeLoc;
154 SMLoc IncludeLoc) {
157 NB.IncludeLoc = IncludeLoc;
168 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc,
223 /// \param IncludeLoc The location of the include.
225 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
153 AddNewSourceBuffer(std::unique_ptr<MemoryBuffer> F, SMLoc IncludeLoc) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp41 SMLoc IncludeLoc,
58 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc);
106 IncludeLoc(Other.IncludeLoc) {
150 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { argument
151 if (IncludeLoc == SMLoc()) return; // Top of stack.
153 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc);
156 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS);
160 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n";
236 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, O
40 AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, std::string &IncludedFile) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp320 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir,
333 Diags.Report(IncludeLoc, diag::err_cannot_open_file)
351 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
375 return HS.getFileAndSuggestModule(TmpDir, IncludeLoc, getDir(),
639 SourceLocation IncludeLoc) {
641 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName();
689 diagnoseFrameworkInclude(DiagnosticsEngine &Diags, SourceLocation IncludeLoc, argument
709 Diags.Report(IncludeLoc, diag::warn_quoted_include_in_framework_header)
711 << FixItHint::CreateReplacement(IncludeLoc, NewInclude);
719 Diags.Report(IncludeLoc, dia
319 getFileAndSuggestModule( StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, bool IsSystemHeaderDir, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) argument
350 LookupFile( StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, bool &InUserSpecifiedSystemFramework, bool &IsFrameworkFound, bool &IsInHeaderMap, SmallVectorImpl<char> &MappedName) const argument
637 checkMSVCHeaderSearch(DiagnosticsEngine &Diags, const FileEntry *MSFE, const FileEntry *FE, SourceLocation IncludeLoc) argument
728 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, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped, bool *IsFrameworkFound, bool SkipCache, bool BuildSystemModule) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h303 SourceLocation IncludeLoc; member in class:clang::SourceLocation::PresumedLoc
309 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {}
352 return IncludeLoc;
H A DSourceManager.h245 /// expanded from. The main include file has an invalid IncludeLoc.
257 unsigned IncludeLoc; // Really a SourceLocation member in class:clang::SrcMgr::FileInfo
281 X.IncludeLoc = IL.getRawEncoding();
291 return SourceLocation::getFromRawEncoding(IncludeLoc);
859 SourceLocation IncludeLoc = SourceLocation()) {
863 Name, IncludeLoc, FileCharacter, LoadedID, LoadedOffset);
875 SourceLocation IncludeLoc = SourceLocation()) {
877 Buffer->getBufferIdentifier(), IncludeLoc,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DDirectoryLookup.h154 /// \param IncludeLoc the source location of the #include or #import
181 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
H A DHeaderSearch.h363 /// \param IncludeLoc Used for diagnostics if valid.
393 StringRef Filename, SourceLocation IncludeLoc, bool isAngled,
645 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp167 FullSourceLoc IncludeLoc = local
172 if (LastIncludeLoc == IncludeLoc)
175 LastIncludeLoc = IncludeLoc;
180 if (IncludeLoc.isValid())
181 emitIncludeStackRecursively(IncludeLoc);
H A DPrintPreprocessedOutput.cpp274 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); local
275 if (IncludeLoc.isValid())
276 MoveToLine(IncludeLoc);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp1475 SourceLocation IncludeLoc = FI.getIncludeLoc();
1503 IncludeLoc = getLocForStartOfFile(LocInfo.first);
1504 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset);
1509 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc);
1717 SourceLocation IncludeLoc = Entry.getFile().getIncludeLoc(); local
1718 if (IncludeLoc.isInvalid())
1720 if (!isInFileID(IncludeLoc, FID))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp336 SourceLocation IncludeLoc) {
359 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include);
364 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include);
335 DiagnoseNonDefaultPragmaPack(PragmaPackDiagnoseKind Kind, SourceLocation IncludeLoc) argument
H A DSema.cpp112 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); variable
113 if (IncludeLoc.isValid()) {
120 IncludeStack.push_back(IncludeLoc);
122 Sema::PragmaPackDiagnoseKind::NonDefaultStateAtInclude, IncludeLoc);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp1519 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]);
1520 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) {
1522 IncludeLoc = getImportLocation(F);
1527 FileID FID = SourceMgr.createFileID(File, IncludeLoc, FileCharacter,
1562 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); local
1563 if (IncludeLoc.isInvalid() && F->isModule()) {
1564 IncludeLoc = getImportLocation(F);
1571 BaseOffset + Offset, IncludeLoc);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp4970 SMLoc IncludeLoc = getTok().getLoc(); local
4979 check(enterIncludeFile(Filename), IncludeLoc,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9330 SourceLocation IncludeLoc);

Completed in 339 milliseconds