21#ifndef GCC_OPT_PROBLEM_H
22#define GCC_OPT_PROBLEM_H
125 const char *fmt, va_list *
ap)
189 const char *fmt, ...)
206 template <
typename S>
228template <
typename PtrType_t>
247 const char *fmt, ...)
264 template <
typename S>
Definition dumpfile.h:446
Definition opt-problem.h:230
return opt_pointer_wrapper(NULL, problem)
PtrType_t wrapped_pointer_t
Definition opt-problem.h:232
static opt_pointer_wrapper< wrapped_pointer_t > success(wrapped_pointer_t ptr)
Definition opt-problem.h:237
opt_pointer_wrapper(wrapped_pointer_t result, opt_problem *problem)
Definition opt-problem.h:279
static opt_pointer_wrapper< wrapped_pointer_t > propagate_failure(opt_wrapper< S > other)
Definition opt-problem.h:266
static opt_pointer_wrapper< wrapped_pointer_t > failure_at(const dump_location_t &loc, const char *fmt,...) ATTRIBUTE_GCC_DUMP_PRINTF(2
wrapped_pointer_t operator->() const
Definition opt-problem.h:274
Definition opt-problem.h:120
static opt_problem * get_singleton()
Definition opt-problem.h:122
const optinfo & get_optinfo() const
Definition opt-problem.h:131
const dump_location_t & get_dump_location() const
Definition opt-problem.h:129
optinfo m_optinfo
Definition opt-problem.h:136
static opt_problem * s_the_problem
Definition opt-problem.h:138
opt_problem(const dump_location_t &loc, const char *fmt, va_list *ap) ATTRIBUTE_GCC_DUMP_PRINTF(3
Definition opt-problem.cc:44
void emit_and_clear()
Definition opt-problem.cc:82
Definition opt-problem.h:179
static opt_result propagate_failure(opt_wrapper< S > other)
Definition opt-problem.h:208
static opt_result failure_at(const dump_location_t &loc, const char *fmt,...) ATTRIBUTE_GCC_DUMP_PRINTF(2
opt_result(wrapped_t result, opt_problem *problem)
Definition opt-problem.h:216
return opt_result(false, problem)
static opt_result success()
Definition opt-problem.h:183
Definition opt-problem.h:147
opt_problem * get_problem() const
Definition opt-problem.h:157
opt_wrapper(wrapped_t result, opt_problem @endverbatim *)
Definition opt-problem.h:160
wrapped_t m_result
Definition opt-problem.h:169
wrapped_t get_result() const
Definition opt-problem.h:156
T wrapped_t
Definition opt-problem.h:149
const dump_location_t & get_dump_location() const
Definition optinfo.h:115
#define ATTRIBUTE_GCC_DUMP_PRINTF(m, n)
Definition dumpfile.h:36
bool dump_enabled_p(void)
Definition dumpfile.h:532
opt_pointer_wrapper< tree > opt_tree
Definition opt-problem.h:287
static void const char va_list ap
Definition read-md.cc:205
#define NULL
Definition system.h:50
#define bool
Definition system.h:893