clang  6.0.0svn
Public Member Functions | List of all members
clang::FrontendInputFile Class Reference

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

#include "clang/Frontend/FrontendOptions.h"

Public Member Functions

 FrontendInputFile ()
 
 FrontendInputFile (StringRef File, InputKind Kind, bool IsSystem=false)
 
 FrontendInputFile (llvm::MemoryBuffer *Buffer, InputKind Kind, bool IsSystem=false)
 
InputKind getKind () const
 
bool isSystem () const
 
bool isEmpty () const
 
bool isFile () const
 
bool isBuffer () const
 
bool isPreprocessed () const
 
StringRef getFile () const
 
llvm::MemoryBuffer * getBuffer () const
 

Detailed Description

An input file for the front end.

Definition at line 127 of file FrontendOptions.h.

Constructor & Destructor Documentation

◆ FrontendInputFile() [1/3]

clang::FrontendInputFile::FrontendInputFile ( )
inline

Definition at line 143 of file FrontendOptions.h.

◆ FrontendInputFile() [2/3]

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

Definition at line 144 of file FrontendOptions.h.

◆ FrontendInputFile() [3/3]

clang::FrontendInputFile::FrontendInputFile ( llvm::MemoryBuffer *  Buffer,
InputKind  Kind,
bool  IsSystem = false 
)
inline

Definition at line 146 of file FrontendOptions.h.

Member Function Documentation

◆ getBuffer()

llvm::MemoryBuffer* clang::FrontendInputFile::getBuffer ( ) const
inline

Definition at line 162 of file FrontendOptions.h.

◆ getFile()

StringRef clang::FrontendInputFile::getFile ( ) const
inline

Definition at line 158 of file FrontendOptions.h.

Referenced by clang::FrontendAction::getCurrentFile().

◆ getKind()

InputKind clang::FrontendInputFile::getKind ( ) const
inline

Definition at line 150 of file FrontendOptions.h.

Referenced by clang::FrontendAction::getCurrentFileKind().

◆ isBuffer()

bool clang::FrontendInputFile::isBuffer ( ) const
inline

Definition at line 155 of file FrontendOptions.h.

◆ isEmpty()

bool clang::FrontendInputFile::isEmpty ( ) const
inline

◆ isFile()

bool clang::FrontendInputFile::isFile ( ) const
inline

Definition at line 154 of file FrontendOptions.h.

◆ isPreprocessed()

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

Definition at line 156 of file FrontendOptions.h.

References clang::InputKind::isPreprocessed().

◆ isSystem()

bool clang::FrontendInputFile::isSystem ( ) const
inline

Definition at line 151 of file FrontendOptions.h.


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