clang API Documentation
#include <HeaderSearchOptions.h>

Classes | |
| struct | Entry |
Public Member Functions | |
| HeaderSearchOptions (StringRef _Sysroot="/") | |
| void | AddPath (StringRef Path, frontend::IncludeDirGroup Group, bool IsUserSupplied, bool IsFramework, bool IgnoreSysRoot, bool IsInternal=false, bool ImplicitExternC=false) |
| AddPath - Add the. | |
Public Attributes | |
| std::string | Sysroot |
| std::vector< Entry > | UserEntries |
| User specified include entries. | |
| std::string | ResourceDir |
| std::string | ModuleCachePath |
| The directory used for the module cache. | |
| unsigned | DisableModuleHash: 1 |
| Whether we should disable the use of the hash string within the module cache. | |
| unsigned | UseBuiltinIncludes: 1 |
| Include the compiler builtin includes. | |
| unsigned | UseStandardSystemIncludes: 1 |
| Include the system standard include search directories. | |
| unsigned | UseStandardCXXIncludes: 1 |
| Include the system standard C++ library include search directories. | |
| unsigned | UseLibcxx: 1 |
| Use libc++ instead of the default libstdc++. | |
| unsigned | Verbose: 1 |
| Whether header search information should be output as for -v. | |
HeaderSearchOptions - Helper class for storing options related to the initialization of the HeaderSearch object.
Definition at line 39 of file HeaderSearchOptions.h.
| clang::HeaderSearchOptions::HeaderSearchOptions | ( | StringRef | _Sysroot = "/" | ) | [inline] |
Definition at line 108 of file HeaderSearchOptions.h.
| void clang::HeaderSearchOptions::AddPath | ( | StringRef | Path, |
| frontend::IncludeDirGroup | Group, | ||
| bool | IsUserSupplied, | ||
| bool | IsFramework, | ||
| bool | IgnoreSysRoot, | ||
| bool | IsInternal = false, |
||
| bool | ImplicitExternC = false |
||
| ) | [inline] |
AddPath - Add the.
Definition at line 114 of file HeaderSearchOptions.h.
References UserEntries.
Referenced by ParseHeaderSearchArgs().
Whether we should disable the use of the hash string within the module cache.
Note: Only used for testing!
Definition at line 90 of file HeaderSearchOptions.h.
Referenced by ParseHeaderSearchArgs().
| std::string clang::HeaderSearchOptions::ModuleCachePath |
The directory used for the module cache.
Definition at line 84 of file HeaderSearchOptions.h.
Referenced by HeaderSearchOptsToArgs(), and ParseHeaderSearchArgs().
| std::string clang::HeaderSearchOptions::ResourceDir |
The directory which holds the compiler resource files (builtin includes, etc.).
Definition at line 81 of file HeaderSearchOptions.h.
Referenced by clang::ApplyHeaderSearchOptions(), HeaderSearchOptsToArgs(), clang::ASTUnit::LoadFromCompilerInvocationAction(), and ParseHeaderSearchArgs().
| std::string clang::HeaderSearchOptions::Sysroot |
If non-empty, the directory to use as a "virtual system root" for include paths.
Definition at line 74 of file HeaderSearchOptions.h.
Referenced by clang::ApplyHeaderSearchOptions(), clang::GeneratePCHAction::ComputeASTConsumerArguments(), clang::CompilerInstance::createPreprocessor(), HeaderSearchOptsToArgs(), clang::CompilerInstance::loadModule(), and ParseHeaderSearchArgs().
Include the compiler builtin includes.
Definition at line 93 of file HeaderSearchOptions.h.
Referenced by clang::ApplyHeaderSearchOptions(), and ParseHeaderSearchArgs().
Use libc++ instead of the default libstdc++.
Definition at line 102 of file HeaderSearchOptions.h.
Referenced by HeaderSearchOptsToArgs(), and ParseHeaderSearchArgs().
| std::vector<Entry> clang::HeaderSearchOptions::UserEntries |
User specified include entries.
Definition at line 77 of file HeaderSearchOptions.h.
Referenced by AddPath(), clang::ApplyHeaderSearchOptions(), and HeaderSearchOptsToArgs().
Include the system standard C++ library include search directories.
Definition at line 99 of file HeaderSearchOptions.h.
Referenced by HeaderSearchOptsToArgs(), and ParseHeaderSearchArgs().
Include the system standard include search directories.
Definition at line 96 of file HeaderSearchOptions.h.
Referenced by HeaderSearchOptsToArgs(), and ParseHeaderSearchArgs().
| unsigned clang::HeaderSearchOptions::Verbose |
Whether header search information should be output as for -v.
Definition at line 105 of file HeaderSearchOptions.h.
Referenced by clang::ApplyHeaderSearchOptions(), HeaderSearchOptsToArgs(), and ParseHeaderSearchArgs().