clang  14.0.0git
Public Member Functions | List of all members
clang::driver::tools::Flang Class Reference

Flang compiler tool. More...

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

Inheritance diagram for clang::driver::tools::Flang:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::tools::Flang:
Collaboration graph
[legend]

Public Member Functions

 Flang (const ToolChain &TC)
 
 ~Flang () override
 
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 hasIntegratedAssembler () const override
 
bool hasIntegratedCPP () const override
 
bool canEmitIR () 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. More...
 
- 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 isLinkJob () const
 
virtual bool isDsymutilJob () const
 
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. More...
 

Detailed Description

Flang compiler tool.

Definition at line 25 of file Flang.h.

Constructor & Destructor Documentation

◆ Flang()

Flang::Flang ( const ToolChain TC)

Definition at line 132 of file Flang.cpp.

◆ ~Flang()

Flang::~Flang ( )
override

Definition at line 134 of file Flang.cpp.

Member Function Documentation

◆ canEmitIR()

bool clang::driver::tools::Flang::canEmitIR ( ) const
inlineoverridevirtual

Reimplemented from clang::driver::Tool.

Definition at line 57 of file Flang.h.

◆ ConstructJob()

void Flang::ConstructJob ( Compilation C,
const JobAction JA,
const InputInfo Output,
const InputInfoList Inputs,
const llvm::opt::ArgList &  TCArgs,
const char *  LinkingOutput 
) const
overridevirtual

ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.

Parameters
TCArgs- The argument list for this toolchain, with any tool chain specific translations applied.
LinkingOutput- If this output will eventually feed the linker, then this is the final output name of the linked image.

Implements clang::driver::Tool.

Definition at line 53 of file Flang.cpp.

References clang::driver::ResponseFileSupport::AtFileUTF8(), clang::driver::InputInfo::getFilename(), clang::driver::types::getPreprocessedType(), clang::driver::InputInfo::getType(), clang::driver::Action::getType(), clang::driver::InputInfo::isFilename(), clang::driver::InputInfo::isNothing(), and clang::driver::types::TY_INVALID.

◆ hasGoodDiagnostics()

bool clang::driver::tools::Flang::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 54 of file Flang.h.

◆ hasIntegratedAssembler()

bool clang::driver::tools::Flang::hasIntegratedAssembler ( ) const
inlineoverridevirtual

Reimplemented from clang::driver::Tool.

Definition at line 55 of file Flang.h.

◆ hasIntegratedCPP()

bool clang::driver::tools::Flang::hasIntegratedCPP ( ) const
inlineoverridevirtual

Implements clang::driver::Tool.

Definition at line 56 of file Flang.h.


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