clang API Documentation

Public Member Functions | Public Attributes
clang::FrontendInputFile Struct Reference

An input file for the front end. More...

#include <FrontendOptions.h>

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

List of all members.

Public Member Functions

 FrontendInputFile ()
 FrontendInputFile (StringRef File, InputKind Kind, bool IsSystem=false)

Public Attributes

std::string File
 The file name, or "-" to read from standard input.
InputKind Kind
 The kind of input, e.g., C source, AST file, LLVM IR.
bool IsSystem
 Whether we're dealing with a 'system' input (vs. a 'user' input).

Detailed Description

An input file for the front end.

Definition at line 73 of file FrontendOptions.h.


Constructor & Destructor Documentation

clang::FrontendInputFile::FrontendInputFile ( ) [inline]

Definition at line 83 of file FrontendOptions.h.

clang::FrontendInputFile::FrontendInputFile ( StringRef  File,
InputKind  Kind,
bool  IsSystem = false 
) [inline]

Definition at line 84 of file FrontendOptions.h.


Member Data Documentation

Whether we're dealing with a 'system' input (vs. a 'user' input).

Definition at line 81 of file FrontendOptions.h.

The kind of input, e.g., C source, AST file, LLVM IR.

Definition at line 78 of file FrontendOptions.h.

Referenced by clang::FrontendAction::BeginSourceFile(), and clang::FrontendAction::getCurrentFileKind().


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