Skip to content

Commit b1521c9

Browse files
authored
Merge pull request #5617 from tautschnig/compilet-visibility
Mark unnecessarily-public members of compilet protected
2 parents 6f78426 + be12593 commit b1521c9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/goto-cc/compile.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ class compilet : public messaget
2727
{
2828
public:
2929
// compilation results
30-
namespacet ns;
3130
goto_modelt goto_model;
3231

3332
// configuration
3433
bool echo_file_name;
35-
std::string working_directory;
36-
std::string override_language;
3734
bool validate_goto_model = false;
3835

3936
enum { PREPROCESS_ONLY, // gcc -E
@@ -48,8 +45,6 @@ class compilet : public messaget
4845
std::list<std::string> source_files;
4946
std::list<std::string> object_files;
5047
std::list<std::string> libraries;
51-
std::list<std::string> tmp_dirs;
52-
std::list<irep_idt> seen_modes;
5348

5449
std::string object_file_extension;
5550
std::string output_file_executable;
@@ -93,6 +88,14 @@ class compilet : public messaget
9388
}
9489

9590
protected:
91+
namespacet ns;
92+
93+
std::string working_directory;
94+
std::string override_language;
95+
96+
std::list<std::string> tmp_dirs;
97+
std::list<irep_idt> seen_modes;
98+
9699
cmdlinet &cmdline;
97100
bool warning_is_fatal;
98101

0 commit comments

Comments
 (0)