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

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Driver/ToolChains/Gnu.h"

Inheritance diagram for clang::driver::tools::gcc::Compiler:
Inheritance graph
[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.
 
bool hasIntegratedCPP () const override
 
void RenderExtraToolArgs (const JobAction &JA, llvm::opt::ArgStringList &CmdArgs) const override
 RenderExtraToolArgs - Render any arguments necessary to force the particular tool mode.
 
- Public Member Functions inherited from clang::driver::tools::gcc::Common
 Common (const char *Name, const char *ShortName, const ToolChain &TC)
 
bool hasIntegratedAssembler () const override
 
void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
 
virtual void RenderExtraToolArgs (const JobAction &JA, llvm::opt::ArgStringList &CmdArgs) const =0
 RenderExtraToolArgs - Render any arguments necessary to force the particular tool mode.
 
- Public Member Functions inherited from clang::driver::Tool
 Tool (const char *Name, const char *ShortName, const ToolChain &TC)
 
virtual ~Tool ()
 
const char * getName () const
 
const char * getShortName () const
 
const ToolChaingetToolChain () const
 
virtual bool hasIntegratedAssembler () const
 
virtual bool hasIntegratedBackend () const
 
virtual bool canEmitIR () const
 
virtual bool hasIntegratedCPP () const =0
 
virtual bool isLinkJob () const
 
virtual bool isDsymutilJob () const
 
virtual bool hasGoodDiagnostics () const
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
 
virtual void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const =0
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
 
virtual void ConstructJobMultipleOutputs (Compilation &C, const JobAction &JA, const InputInfoList &Outputs, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const
 Construct jobs to perform the action JA, writing to the Outputs and with Inputs, and add the jobs to C.
 

Detailed Description

Definition at line 116 of file Gnu.h.

Constructor & Destructor Documentation

◆ Compiler()

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

Definition at line 118 of file Gnu.h.

Member Function Documentation

◆ hasGoodDiagnostics()

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 120 of file Gnu.h.

◆ hasIntegratedCPP()

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

Implements clang::driver::Tool.

Definition at line 121 of file Gnu.h.

◆ RenderExtraToolArgs()

void tools::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 191 of file Gnu.cpp.

References D, and clang::driver::Action::getType().


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