| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 75 SMLoc IncludeLoc; member 139 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc() 145 SMLoc IncludeLoc) { in AddNewSourceBuffer() argument 148 NB.IncludeLoc = IncludeLoc; in AddNewSourceBuffer() 166 Buffers[OldNumBuffers].IncludeLoc = MainBufferIncludeLoc; 175 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 252 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 42 SMLoc IncludeLoc, in AddIncludeFile() argument 49 return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc); in AddIncludeFile() 172 IncludeLoc(Other.IncludeLoc) { in SrcBuffer() 261 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() argument 262 if (IncludeLoc == SMLoc()) in PrintIncludeStack() 265 unsigned CurBuf = FindBufferContainingLoc(IncludeLoc); in PrintIncludeStack() 268 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintIncludeStack() 271 << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n"; in PrintIncludeStack() 346 PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS); in PrintMessage()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 419 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, in getFileAndSuggestModule() argument 433 Diags.Report(IncludeLoc, diag::err_cannot_open_file) in getFileAndSuggestModule() 451 StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc, in LookupFile() argument 477 TmpDir, IncludeLoc, getDir(), isSystemHeaderDirectory(), in LookupFile() 525 HS.noteLookupUsage(HS.searchDirIdx(*this), IncludeLoc); in LookupFile() 757 SourceLocation IncludeLoc) { in checkMSVCHeaderSearch() argument 759 Diags.Report(IncludeLoc, diag::ext_pp_include_search_ms) << MSFE->getName(); in checkMSVCHeaderSearch() 815 diagnoseFrameworkInclude(DiagnosticsEngine &Diags, SourceLocation IncludeLoc, in diagnoseFrameworkInclude() argument 839 Diags.Report(IncludeLoc, diag::warn_quoted_include_in_framework_header) in diagnoseFrameworkInclude() 841 << FixItHint::CreateReplacement(IncludeLoc, NewInclude); in diagnoseFrameworkInclude() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 166 FullSourceLoc IncludeLoc = in emitIncludeStack() local 171 if (LastIncludeLoc == IncludeLoc) in emitIncludeStack() 174 LastIncludeLoc = IncludeLoc; in emitIncludeStack() 179 if (IncludeLoc.isValid()) in emitIncludeStack() 180 emitIncludeStackRecursively(IncludeLoc); in emitIncludeStack()
|
| H A D | PrintPreprocessedOutput.cpp | 339 SourceLocation IncludeLoc = UserLoc.getIncludeLoc(); in FileChanged() local 340 if (IncludeLoc.isValid()) in FileChanged() 341 MoveToLine(IncludeLoc, /*RequireStartOfLine=*/false); in FileChanged()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | HeaderSearch.h | 483 StringRef Filename, SourceLocation IncludeLoc, bool isAngled, 773 getFileAndSuggestModule(StringRef FileName, SourceLocation IncludeLoc, 783 SourceLocation IncludeLoc); 787 void noteLookupUsage(unsigned HitIdx, SourceLocation IncludeLoc);
|
| H A D | DirectoryLookup.h | 184 LookupFile(StringRef &Filename, HeaderSearch &HS, SourceLocation IncludeLoc,
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 306 SourceLocation IncludeLoc; 312 : Filename(FN), ID(FID), Line(Ln), Col(Co), IncludeLoc(IL) {} 355 return IncludeLoc;
|
| H A D | SourceManager.h | 298 SourceLocation IncludeLoc; variable 318 X.IncludeLoc = IL; in get() 328 return IncludeLoc; in getIncludeLoc() 898 SourceLocation IncludeLoc = SourceLocation()); 907 SourceLocation IncludeLoc = SourceLocation());
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 567 SourceLocation IncludeLoc) { in createFileID() argument 570 IncludeLoc, FileCharacter, LoadedID, LoadedOffset); in createFileID() 581 SourceLocation IncludeLoc) { in createFileID() argument 583 LoadedID, LoadedOffset, IncludeLoc); in createFileID() 1554 SourceLocation IncludeLoc = FI.getIncludeLoc(); in getPresumedLoc() local 1582 IncludeLoc = getLocForStartOfFile(LocInfo.first); in getPresumedLoc() 1583 IncludeLoc = IncludeLoc.getLocWithOffset(Entry->IncludeOffset); in getPresumedLoc() 1588 return PresumedLoc(Filename.data(), FID, LineNo, ColNo, IncludeLoc); in getPresumedLoc() 1791 SourceLocation IncludeLoc = File.getIncludeLoc(); in computeMacroArgsCache() local 1793 (IncludeLoc.isValid() && isInFileID(IncludeLoc, FID)) || in computeMacroArgsCache() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 439 SourceLocation IncludeLoc) { in DiagnoseNonDefaultPragmaAlignPack() argument 467 Diag(IncludeLoc, diag::warn_pragma_pack_non_default_at_include); in DiagnoseNonDefaultPragmaAlignPack() 472 Diag(IncludeLoc, diag::warn_pragma_pack_modified_after_include); in DiagnoseNonDefaultPragmaAlignPack()
|
| H A D | Sema.cpp | 151 SourceLocation IncludeLoc = SM.getIncludeLoc(SM.getFileID(Loc)); in FileChanged() local 152 if (IncludeLoc.isValid()) { in FileChanged() 159 IncludeStack.push_back(IncludeLoc); in FileChanged() 162 IncludeLoc); in FileChanged()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 1532 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1533 if (IncludeLoc.isInvalid() && F->Kind != MK_MainFile) { in ReadSLocEntry() 1535 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1539 FileID FID = SourceMgr.createFileID(*File, IncludeLoc, FileCharacter, ID, in ReadSLocEntry() 1574 SourceLocation IncludeLoc = ReadSourceLocation(*F, Record[1]); in ReadSLocEntry() local 1575 if (IncludeLoc.isInvalid() && F->isModule()) { in ReadSLocEntry() 1576 IncludeLoc = getImportLocation(F); in ReadSLocEntry() 1583 BaseOffset + Offset, IncludeLoc); in ReadSLocEntry()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 5091 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 5100 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
| H A D | MasmParser.cpp | 6150 SMLoc IncludeLoc = getTok().getLoc(); in parseDirectiveInclude() local 6159 check(enterIncludeFile(Filename), IncludeLoc, in parseDirectiveInclude()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 10599 SourceLocation IncludeLoc);
|