clang API Documentation

Public Member Functions
clang::FrontendInputFile Class Reference

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

#include <FrontendOptions.h>

List of all members.

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 80 of file FrontendOptions.h.


Constructor & Destructor Documentation

Definition at line 93 of file FrontendOptions.h.

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

Definition at line 94 of file FrontendOptions.h.

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

Definition at line 96 of file FrontendOptions.h.


Member Function Documentation

llvm::MemoryBuffer* clang::FrontendInputFile::getBuffer ( ) const [inline]
StringRef clang::FrontendInputFile::getFile ( ) const [inline]

Definition at line 100 of file FrontendOptions.h.

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

Definition at line 104 of file FrontendOptions.h.

References isBuffer().

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

Definition at line 101 of file FrontendOptions.h.

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


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