One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
include
/
clang
/
InstallAPI
/
Edit File:
Library.h
//===- InstallAPI/Library.h -------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// /// Defines the content of a library, such as public and private /// header files, and whether it is a framework. /// //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_INSTALLAPI_LIBRARY_H #define LLVM_CLANG_INSTALLAPI_LIBRARY_H #include "clang/InstallAPI/HeaderFile.h" #include "clang/InstallAPI/MachO.h" namespace clang::installapi { class Library { public: Library(StringRef Directory) : BaseDirectory(Directory) {} /// Capture the name of the framework by the install name. /// /// \param InstallName The install name of the library encoded in a dynamic /// library. static StringRef getFrameworkNameFromInstallName(StringRef InstallName); /// Get name of library by the discovered file path. StringRef getName() const; /// Get discovered path of library. StringRef getPath() const { return BaseDirectory; } /// Add a header file that belongs to the library. /// /// \param FullPath Path to header file. /// \param Type Access level of header. /// \param IncludePath The way the header should be included. void addHeaderFile(StringRef FullPath, HeaderType Type, StringRef IncludePath = StringRef()) { Headers.emplace_back(FullPath, Type, IncludePath); } /// Determine if library is empty. bool empty() { return SubFrameworks.empty() && Headers.empty() && FrameworkVersions.empty(); } private: std::string BaseDirectory; HeaderSeq Headers; std::vector<Library> SubFrameworks; std::vector<Library> FrameworkVersions; bool IsUnwrappedDylib{false}; friend class DirectoryScanner; }; } // namespace clang::installapi #endif // LLVM_CLANG_INSTALLAPI_LIBRARY_H
Simpan