clang: lib/Tooling/Syntax/Nodes.cpp File Reference (original) (raw)
#include "[clang/Tooling/Syntax/Nodes.h](Nodes%5F8h%5Fsource.html)"
#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"); | | |