20 #ifndef BUILDCACHE_GCC_WRAPPER_HPP_
21 #define BUILDCACHE_GCC_WRAPPER_HPP_
23 #include <wrappers/program_wrapper.hpp>
48 string_list_t parse_response_file(
const std::string& filename);
49 virtual string_list_t get_include_files(
const std::string& std_err)
const;
54 #endif // BUILDCACHE_GCC_WRAPPER_HPP_
std::string preprocess_source() override
Generate the preprocessed source text.
Definition: gcc_wrapper.cpp:340
Path to an executable file.
Definition: file_utils.hpp:127
std::string get_program_id() override
Get a string that uniquely identifies the program.
Definition: gcc_wrapper.cpp:263
A program wrapper for GCC and GCC-like C/C++ compilers.
Definition: gcc_wrapper.hpp:27
The top level namespace.
Definition: compressor.cpp:34
A convenient vector of strings container with support functions for program argument handling.
Definition: string_list.hpp:30
bool can_handle_command() override
Check if this class implements a wrapper for the given command.
Definition: gcc_wrapper.cpp:204
string_list_t get_relevant_arguments() override
Get relevant command line arguments for hashing.
Definition: gcc_wrapper.cpp:281
std::map< std::string, expected_file_t > get_build_files() override
Get the paths to the files that are to be generated by the command.
Definition: gcc_wrapper.cpp:241
string_list_t get_capabilities() override
Generate a list of supported capabilites.
Definition: gcc_wrapper.cpp:235
string_list_t get_input_files() override
Get the paths to the input files for the command.
Definition: gcc_wrapper.cpp:320
The base class for all program wrappers.
Definition: program_wrapper.hpp:38
std::map< std::string, std::string > get_relevant_env_vars() override
Get relevant environment variables for hashing.
Definition: gcc_wrapper.cpp:314
void resolve_args() override
Resolve arguments on the command line.
Definition: gcc_wrapper.cpp:139
string_list_t get_implicit_input_files() override
Get a list of paths to implicit input files.
Definition: gcc_wrapper.cpp:373