21#ifndef GCC_DIAGNOSTIC_OUTPUT_FILE_H
22#define GCC_DIAGNOSTIC_OUTPUT_FILE_H
59 other.m_outf =
nullptr;
60 other.m_owned =
false;
78 other.m_outf =
nullptr;
81 other.m_owned =
false;
98 const char *extension,
Definition diagnostic.h:551
Definition diagnostic-output-file.h:28
diagnostic_output_file(const diagnostic_output_file &other)=delete
static diagnostic_output_file try_to_open(diagnostic_context &context, line_maps *line_maps, const char *base_file_name, const char *extension, bool binary)
Definition diagnostic-format-sarif.cc:3968
label_text m_filename
Definition diagnostic-output-file.h:104
FILE * m_outf
Definition diagnostic-output-file.h:102
diagnostic_output_file & operator=(const diagnostic_output_file &other)=delete
const char * get_filename() const
Definition diagnostic-output-file.h:92
diagnostic_output_file(FILE *outf, bool owned, label_text filename)
Definition diagnostic-output-file.h:36
diagnostic_output_file()
Definition diagnostic-output-file.h:30
bool m_owned
Definition diagnostic-output-file.h:103
FILE * get_open_file() const
Definition diagnostic-output-file.h:91
diagnostic_output_file(diagnostic_output_file &&other)
Definition diagnostic-output-file.h:54
~diagnostic_output_file()
Definition diagnostic-output-file.h:45
static const char * base_file_name(const char *file_name)
Definition genautomata.cc:9229
Definition ira-emit.cc:158
Definition gengtype.h:377
#define gcc_assert(EXPR)
Definition system.h:814
#define false
Definition system.h:888
#define bool
Definition system.h:886