Ninja
Macros | Variables
debug_flags.h File Reference
#include <stdio.h>
Include dependency graph for debug_flags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXPLAIN(fmt, ...)
 

Variables

bool g_experimental_statcache
 
bool g_explaining
 
bool g_keep_rsp
 

Macro Definition Documentation

#define EXPLAIN (   fmt,
  ... 
)
Value:
{ \
if (g_explaining) \
fprintf(stderr, "ninja explain: " fmt "\n", __VA_ARGS__); \
}
bool g_explaining
Definition: debug_flags.cc:15

Definition at line 20 of file debug_flags.h.

Referenced by ImplicitDepLoader::LoadDepFile(), ImplicitDepLoader::LoadDepsFromLog(), DependencyScan::RecomputeDirty(), and DependencyScan::RecomputeOutputDirty().

Variable Documentation

bool g_experimental_statcache

Definition at line 19 of file debug_flags.cc.

bool g_explaining

Definition at line 15 of file debug_flags.cc.

bool g_keep_rsp

Definition at line 17 of file debug_flags.cc.

Referenced by Builder::FinishCommand().