GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
complaints.h File Reference
#include <unordered_set>

Go to the source code of this file.

Classes

class  complaint_interceptor
 

Macros

#define complaint(FMT, ...)
 

Functions

void complaint_internal (const char *fmt,...) ATTRIBUTE_PRINTF(1
 
static bool have_complaint ()
 
void clear_complaints ()
 

Variables

void int stop_whining
 

Macro Definition Documentation

◆ complaint

#define complaint (   FMT,
  ... 
)
Value:
do \
{ \
if (have_complaint ()) \
complaint_internal (FMT, ##__VA_ARGS__); \
} \
while (0)
static bool have_complaint()
Definition complaints.h:38

Definition at line 47 of file complaints.h.

Function Documentation

◆ clear_complaints()

void clear_complaints ( )

Definition at line 74 of file complaints.c.

References counters.

Referenced by finish_new_objfile(), reread_symbols(), and syms_from_objfile_1().

◆ complaint_internal()

void complaint_internal ( const char *  fmt,
  ... 
)

◆ have_complaint()

static bool have_complaint ( )
inlinestatic

Definition at line 38 of file complaints.h.

References stop_whining.

Referenced by read_func_scope().

Variable Documentation

◆ stop_whining

void int stop_whining
extern

Definition at line 36 of file complaints.c.

Referenced by complaint_internal(), and have_complaint().