Skip to content

Mark unnecessarily-public members of compilet protected #5617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/goto-cc/compile.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,10 @@ class compilet : public messaget
{
public:
// compilation results
namespacet ns;
goto_modelt goto_model;

// configuration
bool echo_file_name;
std::string working_directory;
std::string override_language;
bool validate_goto_model = false;

enum { PREPROCESS_ONLY, // gcc -E
Expand All @@ -48,8 +45,6 @@ class compilet : public messaget
std::list<std::string> source_files;
std::list<std::string> object_files;
std::list<std::string> libraries;
std::list<std::string> tmp_dirs;
std::list<irep_idt> seen_modes;

std::string object_file_extension;
std::string output_file_executable;
Expand Down Expand Up @@ -93,6 +88,14 @@ class compilet : public messaget
}

protected:
namespacet ns;

std::string working_directory;
std::string override_language;

std::list<std::string> tmp_dirs;
std::list<irep_idt> seen_modes;

cmdlinet &cmdline;
bool warning_is_fatal;

Expand Down