clang 20.0.0git
Macros
Nodes.cpp File Reference
#include "clang/Tooling/Syntax/Nodes.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/Tooling/Syntax/Nodes.inc"

Go to the source code of this file.

Macros

#define CONCRETE_NODE(Kind, Parent)
 
#define NODE(Kind, Parent)    static_assert(sizeof(syntax::Kind) > 0, "Missing Node subclass definition");
 

Macro Definition Documentation

◆ CONCRETE_NODE

#define CONCRETE_NODE (   Kind,
  Parent 
)
Value:
case NodeKind::Kind: \
return OS << #Kind;

◆ NODE

#define NODE (   Kind,
  Parent 
)     static_assert(sizeof(syntax::Kind) > 0, "Missing Node subclass definition");

Definition at line 439 of file Nodes.cpp.