clang API Documentation

Public Member Functions | Public Attributes
clang::HeaderSearchOptions::Entry Struct Reference

#include <HeaderSearchOptions.h>

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

List of all members.

Public Member Functions

 Entry (StringRef path, frontend::IncludeDirGroup group, bool isUserSupplied, bool isFramework, bool ignoreSysRoot, bool isInternal, bool implicitExternC)

Public Attributes

std::string Path
frontend::IncludeDirGroup Group
unsigned IsUserSupplied: 1
unsigned IsFramework: 1
unsigned IgnoreSysRoot: 1
unsigned IsInternal: 1
 True if this entry is an internal search path.
unsigned ImplicitExternC: 1
 True if this entry's headers should be wrapped in extern "C".

Detailed Description

Definition at line 41 of file HeaderSearchOptions.h.


Constructor & Destructor Documentation

clang::HeaderSearchOptions::Entry::Entry ( StringRef  path,
frontend::IncludeDirGroup  group,
bool  isUserSupplied,
bool  isFramework,
bool  ignoreSysRoot,
bool  isInternal,
bool  implicitExternC 
) [inline]

Definition at line 64 of file HeaderSearchOptions.h.


Member Data Documentation

IgnoreSysRoot - This is false if an absolute path should be treated relative to the sysroot, or true if it should always be the absolute path.

Definition at line 50 of file HeaderSearchOptions.h.

Referenced by clang::ApplyHeaderSearchOptions().

True if this entry's headers should be wrapped in extern "C".

Definition at line 62 of file HeaderSearchOptions.h.

Referenced by clang::ApplyHeaderSearchOptions(), and HeaderSearchOptsToArgs().

True if this entry is an internal search path.

This typically indicates that users didn't directly provide it, but instead it was provided by a compatibility layer for a particular system. This isn't redundant with IsUserSupplied (even though perhaps it should be) because that is false for user provided '-iwithprefix' header search entries.

Definition at line 59 of file HeaderSearchOptions.h.

Referenced by HeaderSearchOptsToArgs().


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