BuildCache
Public Member Functions | Private Member Functions | List of all members
bcache::clang_cl_wrapper_t Class Reference

The clang-cl wrapper is almost identical to the MSVC wrapper. More...

#include <clang_cl_wrapper.hpp>

Inheritance diagram for bcache::clang_cl_wrapper_t:
bcache::msvc_wrapper_t bcache::program_wrapper_t

Public Member Functions

 clang_cl_wrapper_t (const file::exe_path_t &exe_path, const string_list_t &args)
 
bool can_handle_command () override
 Check if this class implements a wrapper for the given command. More...
 
- Public Member Functions inherited from bcache::msvc_wrapper_t
 msvc_wrapper_t (const file::exe_path_t &exe_path, const string_list_t &args)
 
bool can_handle_command () override
 Check if this class implements a wrapper for the given command. More...
 
- Public Member Functions inherited from bcache::program_wrapper_t
bool handle_command (int &return_code)
 Try to wrap a program command. More...
 

Private Member Functions

std::string get_program_id () override
 Get a string that uniquely identifies the program. More...
 

Additional Inherited Members

- Protected Member Functions inherited from bcache::program_wrapper_t
 program_wrapper_t (const file::exe_path_t &exe_path, const string_list_t &args)
 
- Protected Attributes inherited from bcache::program_wrapper_t
const file::exe_path_tm_exe_path
 
const string_list_tm_args
 
capabilities_t m_active_capabilities
 Active capabilities. More...
 

Detailed Description

The clang-cl wrapper is almost identical to the MSVC wrapper.

Member Function Documentation

◆ can_handle_command()

bool bcache::clang_cl_wrapper_t::can_handle_command ( )
overridevirtual

Check if this class implements a wrapper for the given command.

Returns
true if this wrapper can handle the command.

Implements bcache::program_wrapper_t.

◆ get_program_id()

std::string bcache::clang_cl_wrapper_t::get_program_id ( )
overrideprivatevirtual

Get a string that uniquely identifies the program.

Returns
a program ID string.
Exceptions
runtime_errorif the request could not be completed.

Reimplemented from bcache::program_wrapper_t.


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