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

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

#include <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
 
StringRef getFile () const
 
llvm::MemoryBuffer * getBuffer () const
 

Detailed Description

An input file for the front end.

Definition at line 81 of file FrontendOptions.h.

Constructor & Destructor Documentation

clang::FrontendInputFile::FrontendInputFile ( )
inline

Definition at line 94 of file FrontendOptions.h.

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

Definition at line 95 of file FrontendOptions.h.

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

Definition at line 97 of file FrontendOptions.h.

Member Function Documentation

llvm::MemoryBuffer* clang::FrontendInputFile::getBuffer ( ) const
inline
StringRef clang::FrontendInputFile::getFile ( ) const
inline
InputKind clang::FrontendInputFile::getKind ( ) const
inline
bool clang::FrontendInputFile::isBuffer ( ) const
inline
bool clang::FrontendInputFile::isEmpty ( ) const
inline
bool clang::FrontendInputFile::isFile ( ) const
inline

Definition at line 105 of file FrontendOptions.h.

References isBuffer().

Referenced by getFile(), and clang::ASTUnit::getMainFileName().

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

Definition at line 102 of file FrontendOptions.h.

Referenced by clang::CompilerInstance::InitializeSourceManager().


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