clang API Documentation

Classes | Public Member Functions | Public Attributes
clang::HeaderSearchOptions Class Reference

#include <HeaderSearchOptions.h>

Collaboration diagram for clang::HeaderSearchOptions:
Collaboration graph
[legend]

List of all members.

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< EntryUserEntries
 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.

Detailed Description

HeaderSearchOptions - Helper class for storing options related to the initialization of the HeaderSearch object.

Definition at line 39 of file HeaderSearchOptions.h.


Constructor & Destructor Documentation

clang::HeaderSearchOptions::HeaderSearchOptions ( StringRef  _Sysroot = "/") [inline]

Definition at line 108 of file HeaderSearchOptions.h.


Member Function Documentation

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.

  • Path path to the specified
  • Group list.

Definition at line 114 of file HeaderSearchOptions.h.

References UserEntries.

Referenced by ParseHeaderSearchArgs().


Member Data Documentation

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().

The directory used for the module cache.

Definition at line 84 of file HeaderSearchOptions.h.

Referenced by HeaderSearchOptsToArgs(), and ParseHeaderSearchArgs().

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().

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().

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().

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().


The documentation for this class was generated from the following file: