clang: clang::InputKind Class Reference (original) (raw)

The kind of a file that we've been handed as an input. More...

#include "[clang/Frontend/FrontendOptions.h](FrontendOptions%5F8h%5Fsource.html)"

Public Types
enum Format { Source, ModuleMap, Precompiled }
The input file format. More...
enum HeaderUnitKind { HeaderUnit_None, HeaderUnit_User, HeaderUnit_System, HeaderUnit_Abs }
Public Member Functions
constexpr InputKind (Language L=Language::Unknown, Format F=Source, bool PP=false, HeaderUnitKind HU=HeaderUnit_None, bool HD=false)
Language getLanguage () const
Format getFormat () const
HeaderUnitKind getHeaderUnitKind () const
bool isPreprocessed () const
bool isHeader () const
bool isHeaderUnit () const
bool isUnknown () const
Is the input kind fully-unknown?
bool isObjectiveC () const
Is the language of the input some dialect of Objective-C?
InputKind getPreprocessed () const
InputKind getHeader () const
InputKind withHeaderUnit (HeaderUnitKind HU) const
InputKind withFormat (Format F) const

The kind of a file that we've been handed as an input.

Definition at line 157 of file FrontendOptions.h.

Format

The input file format.

Enumerator
Source
ModuleMap
Precompiled

Definition at line 160 of file FrontendOptions.h.

HeaderUnitKind

Enumerator
HeaderUnit_None
HeaderUnit_User
HeaderUnit_System
HeaderUnit_Abs

Definition at line 169 of file FrontendOptions.h.

getFormat()

Format clang::InputKind::getFormat ( ) const inline

getHeader()

InputKind clang::InputKind::getHeader ( ) const inline

getHeaderUnitKind()

getLanguage()

Language clang::InputKind::getLanguage ( ) const inline

getPreprocessed()

InputKind clang::InputKind::getPreprocessed ( ) const inline

isHeader()

bool clang::InputKind::isHeader ( ) const inline

isHeaderUnit()

bool clang::InputKind::isHeaderUnit ( ) const inline

isObjectiveC()

bool clang::InputKind::isObjectiveC ( ) const inline

isPreprocessed()

bool clang::InputKind::isPreprocessed ( ) const inline

isUnknown()

bool clang::InputKind::isUnknown ( ) const inline

withFormat()

withHeaderUnit()


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