aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic-output-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic-output-file.h')
-rw-r--r--gcc/diagnostic-output-file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/diagnostic-output-file.h b/gcc/diagnostic-output-file.h
index 2e877c9..a0b2e1b 100644
--- a/gcc/diagnostic-output-file.h
+++ b/gcc/diagnostic-output-file.h
@@ -91,6 +91,13 @@ public:
FILE *get_open_file () const { return m_outf; }
const char *get_filename () const { return m_filename.get (); }
+ static diagnostic_output_file
+ try_to_open (diagnostic_context &context,
+ line_maps *line_maps,
+ const char *base_file_name,
+ const char *extension,
+ bool binary);
+
private:
FILE *m_outf;
bool m_owned;