#include <Command.hpp>
|
| | ~ClangCommand () override |
| |
| | ClangCommand (std::vector< util::FilePath > inputFiles, util::FilePath outputFile, std::vector< std::string > libraryPaths, std::vector< std::string > libraries, bool usePthreads) |
| |
| | ClangCommand (const util::FilePath &inputFile, util::FilePath outputFile, util::FilePath dependencyFile, std::vector< std::string > includePaths, std::vector< std::string > macroDefinitions, std::vector< std::string > warnings, std::vector< std::string > flags, bool verbose, bool rdynamic, bool suppress, bool usePthreads, bool mD, std::string mT, const LanguageStandard &languageStandard, std::vector< ClangArgument > clangArguments) |
| |
| std::string | ToString () const override |
| |
| const util::FilePath & | OutputFile () const noexcept |
| |
| const std::vector< util::FilePath > & | InputFiles () const noexcept |
| |
Public Member Functions inherited from jlm::tooling::Command |
| virtual | ~Command () |
| |
| virtual void | Run () const |
| |
|
| static CommandGraph::Node & | CreateLinkerCommand (CommandGraph &commandGraph, const std::vector< util::FilePath > &inputFiles, const util::FilePath &outputFile, const std::vector< std::string > &libraryPaths, const std::vector< std::string > &libraries, bool usePthreads) |
| |
| static CommandGraph::Node & | CreateParsingCommand (CommandGraph &commandGraph, const util::FilePath &inputFile, const util::FilePath &outputFile, const util::FilePath &dependencyFile, const std::vector< std::string > &includePaths, const std::vector< std::string > ¯oDefinitions, const std::vector< std::string > &warnings, const std::vector< std::string > &flags, bool verbose, bool rdynamic, bool suppress, bool usePthread, bool mD, const std::string &mT, const LanguageStandard &languageStandard, const std::vector< ClangArgument > &clangArguments) |
| |
The ClangCommand class represents the clang command line tool.
Definition at line 86 of file Command.hpp.
◆ ClangArgument
| Enumerator |
|---|
| DisableO0OptNone | |
Definition at line 103 of file Command.hpp.
◆ LanguageStandard
| Enumerator |
|---|
| Unspecified | |
| Gnu89 | |
| Gnu99 | |
| C89 | |
| C99 | |
| C11 | |
| Cpp98 | |
| Cpp03 | |
| Cpp11 | |
| Cpp14 | |
Definition at line 89 of file Command.hpp.
◆ ~ClangCommand()
| jlm::tooling::ClangCommand::~ClangCommand |
( |
| ) |
|
|
overridedefault |
◆ ClangCommand() [1/2]
| jlm::tooling::ClangCommand::ClangCommand |
( |
std::vector< util::FilePath > |
inputFiles, |
|
|
util::FilePath |
outputFile, |
|
|
std::vector< std::string > |
libraryPaths, |
|
|
std::vector< std::string > |
libraries, |
|
|
bool |
usePthreads |
|
) |
| |
|
inline |
◆ ClangCommand() [2/2]
| jlm::tooling::ClangCommand::ClangCommand |
( |
const util::FilePath & |
inputFile, |
|
|
util::FilePath |
outputFile, |
|
|
util::FilePath |
dependencyFile, |
|
|
std::vector< std::string > |
includePaths, |
|
|
std::vector< std::string > |
macroDefinitions, |
|
|
std::vector< std::string > |
warnings, |
|
|
std::vector< std::string > |
flags, |
|
|
bool |
verbose, |
|
|
bool |
rdynamic, |
|
|
bool |
suppress, |
|
|
bool |
usePthreads, |
|
|
bool |
mD, |
|
|
std::string |
mT, |
|
|
const LanguageStandard & |
languageStandard, |
|
|
std::vector< ClangArgument > |
clangArguments |
|
) |
| |
|
inline |
◆ CreateLinkerCommand()
| static CommandGraph::Node& jlm::tooling::ClangCommand::CreateLinkerCommand |
( |
CommandGraph & |
commandGraph, |
|
|
const std::vector< util::FilePath > & |
inputFiles, |
|
|
const util::FilePath & |
outputFile, |
|
|
const std::vector< std::string > & |
libraryPaths, |
|
|
const std::vector< std::string > & |
libraries, |
|
|
bool |
usePthreads |
|
) |
| |
|
inlinestatic |
◆ CreateParsingCommand()
| static CommandGraph::Node& jlm::tooling::ClangCommand::CreateParsingCommand |
( |
CommandGraph & |
commandGraph, |
|
|
const util::FilePath & |
inputFile, |
|
|
const util::FilePath & |
outputFile, |
|
|
const util::FilePath & |
dependencyFile, |
|
|
const std::vector< std::string > & |
includePaths, |
|
|
const std::vector< std::string > & |
macroDefinitions, |
|
|
const std::vector< std::string > & |
warnings, |
|
|
const std::vector< std::string > & |
flags, |
|
|
bool |
verbose, |
|
|
bool |
rdynamic, |
|
|
bool |
suppress, |
|
|
bool |
usePthread, |
|
|
bool |
mD, |
|
|
const std::string & |
mT, |
|
|
const LanguageStandard & |
languageStandard, |
|
|
const std::vector< ClangArgument > & |
clangArguments |
|
) |
| |
|
inlinestatic |
◆ InputFiles()
| const std::vector<util::FilePath>& jlm::tooling::ClangCommand::InputFiles |
( |
| ) |
const |
|
inlinenoexcept |
◆ OutputFile()
| const util::FilePath& jlm::tooling::ClangCommand::OutputFile |
( |
| ) |
const |
|
inlinenoexcept |
◆ ReplaceAll()
| std::string jlm::tooling::ClangCommand::ReplaceAll |
( |
std::string |
str, |
|
|
const std::string & |
from, |
|
|
const std::string & |
to |
|
) |
| |
|
staticprivate |
◆ ToString() [1/3]
| std::string jlm::tooling::ClangCommand::ToString |
( |
| ) |
const |
|
overridevirtual |
◆ ToString() [2/3]
| std::string jlm::tooling::ClangCommand::ToString |
( |
const ClangArgument & |
clangArgument | ) |
|
|
staticprivate |
◆ ToString() [3/3]
| std::string jlm::tooling::ClangCommand::ToString |
( |
const LanguageStandard & |
languageStandard | ) |
|
|
staticprivate |
◆ ClangArguments_
| std::vector<ClangArgument> jlm::tooling::ClangCommand::ClangArguments_ |
|
private |
◆ DependencyFile_
◆ Flags_
| std::vector<std::string> jlm::tooling::ClangCommand::Flags_ |
|
private |
◆ IncludePaths_
| std::vector<std::string> jlm::tooling::ClangCommand::IncludePaths_ |
|
private |
◆ InputFiles_
◆ LanguageStandard_
◆ Libraries_
| std::vector<std::string> jlm::tooling::ClangCommand::Libraries_ |
|
private |
◆ LibraryPaths_
| std::vector<std::string> jlm::tooling::ClangCommand::LibraryPaths_ |
|
private |
◆ LinkerCommand_
| bool jlm::tooling::ClangCommand::LinkerCommand_ |
|
private |
◆ MacroDefinitions_
| std::vector<std::string> jlm::tooling::ClangCommand::MacroDefinitions_ |
|
private |
◆ Md_
| bool jlm::tooling::ClangCommand::Md_ |
|
private |
◆ Mt_
| std::string jlm::tooling::ClangCommand::Mt_ |
|
private |
◆ OutputFile_
◆ Rdynamic_
| bool jlm::tooling::ClangCommand::Rdynamic_ |
|
private |
◆ Suppress_
| bool jlm::tooling::ClangCommand::Suppress_ |
|
private |
◆ UsePthreads_
| bool jlm::tooling::ClangCommand::UsePthreads_ |
|
private |
◆ Verbose_
| bool jlm::tooling::ClangCommand::Verbose_ |
|
private |
◆ Warnings_
| std::vector<std::string> jlm::tooling::ClangCommand::Warnings_ |
|
private |
The documentation for this class was generated from the following files: