clang
10.0.0git
|
The kind of a file that we've been handed as an input. More...
#include "clang/Frontend/FrontendOptions.h"
Public Types | |
enum | Format { Source, ModuleMap, Precompiled } |
The input file format. More... | |
Public Member Functions | |
constexpr | InputKind (Language L=Language::Unknown, Format F=Source, bool PP=false) |
Language | getLanguage () const |
Format | getFormat () const |
bool | isPreprocessed () const |
bool | isUnknown () const |
Is the input kind fully-unknown? More... | |
bool | isObjectiveC () const |
Is the language of the input some dialect of Objective-C? More... | |
InputKind | getPreprocessed () const |
InputKind | withFormat (Format F) const |
The kind of a file that we've been handed as an input.
Definition at line 144 of file FrontendOptions.h.
The input file format.
Enumerator | |
---|---|
Source | |
ModuleMap | |
Precompiled |
Definition at line 152 of file FrontendOptions.h.
|
inline |
Definition at line 158 of file FrontendOptions.h.
|
inline |
Definition at line 163 of file FrontendOptions.h.
Referenced by clang::FrontendAction::BeginSourceFile(), clang::CompilerInstance::InitializeSourceManager(), and ParseFrontendArgs().
|
inline |
Definition at line 162 of file FrontendOptions.h.
Referenced by clang::FrontendAction::BeginSourceFile(), GetInputKindName(), getOptimizationLevel(), and clang::CompilerInvocation::setLangDefaults().
|
inline |
Definition at line 174 of file FrontendOptions.h.
Referenced by ParseFrontendArgs().
|
inline |
Is the language of the input some dialect of Objective-C?
Definition at line 170 of file FrontendOptions.h.
References AttributeLangSupport::ObjC.
Referenced by clang::CompilerInvocation::setLangDefaults().
|
inline |
Definition at line 164 of file FrontendOptions.h.
Referenced by clang::FrontendInputFile::isPreprocessed().
|
inline |
Is the input kind fully-unknown?
Definition at line 167 of file FrontendOptions.h.
References clang::prec::Unknown.
Referenced by ParseFrontendArgs().
Definition at line 178 of file FrontendOptions.h.
Referenced by ParseFrontendArgs().