#include "clang/InstallAPI/Library.h"
|
| Library (StringRef Directory) |
|
StringRef | getName () const |
| Get name of library by the discovered file path.
|
|
StringRef | getPath () const |
| Get discovered path of library.
|
|
void | addHeaderFile (StringRef FullPath, HeaderType Type, StringRef IncludePath=StringRef()) |
| Add a header file that belongs to the library.
|
|
bool | empty () |
| Determine if library is empty.
|
|
Definition at line 21 of file Library.h.
◆ Library()
clang::installapi::Library::Library |
( |
StringRef |
Directory | ) |
|
|
inline |
◆ addHeaderFile()
void clang::installapi::Library::addHeaderFile |
( |
StringRef |
FullPath, |
|
|
HeaderType |
Type, |
|
|
StringRef |
IncludePath = StringRef() |
|
) |
| |
|
inline |
Add a header file that belongs to the library.
- Parameters
-
FullPath | Path to header file. |
Type | Access level of header. |
IncludePath | The way the header should be included. |
Definition at line 42 of file Library.h.
◆ empty()
bool clang::installapi::Library::empty |
( |
| ) |
|
|
inline |
Determine if library is empty.
Definition at line 48 of file Library.h.
◆ getFrameworkNameFromInstallName()
StringRef clang::installapi::Library::getFrameworkNameFromInstallName |
( |
StringRef |
InstallName | ) |
|
|
static |
Capture the name of the framework by the install name.
- Parameters
-
InstallName | The install name of the library encoded in a dynamic library. |
Definition at line 15 of file Library.cpp.
References clang::installapi::Rule().
◆ getName()
StringRef clang::installapi::Library::getName |
( |
| ) |
const |
Get name of library by the discovered file path.
Definition at line 24 of file Library.cpp.
References Path.
◆ getPath()
StringRef clang::installapi::Library::getPath |
( |
| ) |
const |
|
inline |
Get discovered path of library.
Definition at line 35 of file Library.h.
◆ DirectoryScanner
The documentation for this class was generated from the following files: