clang  3.7.0
Public Member Functions | List of all members
clang::driver::tools::gcc::Compiler Class Reference

#include <Tools.h>

Inheritance diagram for clang::driver::tools::gcc::Compiler:
[legend]
Collaboration diagram for clang::driver::tools::gcc::Compiler:
[legend]

Public Member Functions

 Compiler (const ToolChain &TC)
 
bool hasGoodDiagnostics () const override
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures. More...
 
bool hasIntegratedCPP () const override
 
void RenderExtraToolArgs (const JobAction &JA, llvm::opt::ArgStringList &CmdArgs) const override
 
- Public Member Functions inherited from clang::driver::tools::gcc::Common
 Common (const char *Name, const char *ShortName, const ToolChain &TC)
 
void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override
 
- Public Member Functions inherited from clang::driver::tools::GnuTool
 GnuTool (const char *Name, const char *ShortName, const ToolChain &TC)
 
- Public Member Functions inherited from clang::driver::Tool
 Tool (const char *Name, const char *ShortName, const ToolChain &TC, ResponseFileSupport ResponseSupport=RF_None, llvm::sys::WindowsEncodingMethod ResponseEncoding=llvm::sys::WEM_UTF8, const char *ResponseFlag="@")
 
virtual ~Tool ()
 
const char * getName () const
 
const char * getShortName () const
 
const ToolChaingetToolChain () const
 
virtual bool hasIntegratedAssembler () const
 
virtual bool canEmitIR () const
 
virtual bool isLinkJob () const
 
virtual bool isDsymutilJob () const
 
ResponseFileSupport getResponseFilesSupport () const
 Returns the level of support for response files of this tool, whether it accepts arguments to be passed via a file on disk. More...
 
llvm::sys::WindowsEncodingMethod getResponseFileEncoding () const
 Returns which encoding the response file should use. This is only relevant on Windows platforms where there are different encodings being accepted for different tools. On UNIX, UTF8 is universal. More...
 
const char * getResponseFileFlag () const
 Returns which prefix to use when passing the name of a response file as a parameter to this tool. More...
 

Additional Inherited Members

- Public Types inherited from clang::driver::Tool
enum  ResponseFileSupport { RF_Full, RF_FileList, RF_None }
 

Detailed Description

Definition at line 173 of file Tools.h.

Constructor & Destructor Documentation

clang::driver::tools::gcc::Compiler::Compiler ( const ToolChain TC)
inline

Definition at line 175 of file Tools.h.

Member Function Documentation

bool clang::driver::tools::gcc::Compiler::hasGoodDiagnostics ( ) const
inlineoverridevirtual

Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.

Reimplemented from clang::driver::Tool.

Definition at line 178 of file Tools.h.

bool clang::driver::tools::gcc::Compiler::hasIntegratedCPP ( ) const
inlineoverridevirtual

Implements clang::driver::Tool.

Definition at line 179 of file Tools.h.

void gcc::Compiler::RenderExtraToolArgs ( const JobAction JA,
llvm::opt::ArgStringList &  CmdArgs 
) const
overridevirtual

RenderExtraToolArgs - Render any arguments necessary to force the particular tool mode.

Implements clang::driver::tools::gcc::Common.

Definition at line 5612 of file Tools.cpp.

References clang::driver::Driver::Diag(), clang::driver::Action::getType(), and clang::driver::types::getTypeName().


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