Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
logging.h File Reference
#include "cppgc/source-location.h"
#include "v8config.h"
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cppgc::internal::EatParams< typename >
 

Namespaces

namespace  cppgc
 
namespace  cppgc::internal
 

Macros

#define CPPGC_DCHECK_MSG(condition, message)
 
#define CPPGC_DCHECK(condition)   CPPGC_DCHECK_MSG(condition, #condition)
 
#define CPPGC_CHECK_MSG(condition, message)
 
#define CPPGC_CHECK(condition)   CPPGC_CHECK_MSG(condition, #condition)
 

Functions

void cppgc::internal::DCheckImpl (const char *, const SourceLocation &=SourceLocation::Current())
 
void cppgc::internal::FatalImpl (const char *, const SourceLocation &=SourceLocation::Current())
 

Macro Definition Documentation

◆ CPPGC_CHECK

#define CPPGC_CHECK (   condition)    CPPGC_CHECK_MSG(condition, #condition)

◆ CPPGC_CHECK_MSG

#define CPPGC_CHECK_MSG (   condition,
  message 
)
Value:
do { \
if (V8_UNLIKELY(!(condition))) { \
::cppgc::internal::FatalImpl(message); \
} \
} while (false)
#define V8_UNLIKELY(condition)
Definition: v8config.h:649

◆ CPPGC_DCHECK

#define CPPGC_DCHECK (   condition)    CPPGC_DCHECK_MSG(condition, #condition)

◆ CPPGC_DCHECK_MSG

#define CPPGC_DCHECK_MSG (   condition,
  message 
)
Value:
(static_cast<void>(::cppgc::internal::EatParams<decltype( \
static_cast<void>(condition), message)>{}))
Definition: logging.h:21