clang API Documentation

Namespaces | Defines
Comment.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/Comment.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Basic/CharInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/AST/CommentNodes.inc"
Include dependency graph for Comment.cpp:

Go to the source code of this file.

Namespaces

namespace  clang
namespace  clang::comments

Defines

#define ABSTRACT_COMMENT(COMMENT)
#define COMMENT(CLASS, PARENT)
#define ASSERT_IMPLEMENTS_child_begin(function)   (void) good(implements_child_begin_end(function))
#define ABSTRACT_COMMENT(COMMENT)
#define COMMENT(CLASS, PARENT)
#define ABSTRACT_COMMENT(COMMENT)
#define COMMENT(CLASS, PARENT)
#define ABSTRACT_COMMENT(COMMENT)
#define COMMENT(CLASS, PARENT)

Define Documentation

#define ABSTRACT_COMMENT (   COMMENT)
#define ABSTRACT_COMMENT (   COMMENT)
#define ABSTRACT_COMMENT (   COMMENT)
#define ABSTRACT_COMMENT (   COMMENT)
#define ASSERT_IMPLEMENTS_child_begin (   function)    (void) good(implements_child_begin_end(function))

Definition at line 51 of file Comment.cpp.

#define COMMENT (   CLASS,
  PARENT 
)
Value:
case CLASS##Kind: \
    return #CLASS;
#define COMMENT (   CLASS,
  PARENT 
)
Value:
ASSERT_IMPLEMENTS_child_begin(&CLASS::child_begin); \
  ASSERT_IMPLEMENTS_child_begin(&CLASS::child_end);
#define COMMENT (   CLASS,
  PARENT 
)
Value:
case CLASS##Kind: \
    return static_cast<const CLASS *>(this)->child_begin();
#define COMMENT (   CLASS,
  PARENT 
)
Value:
case CLASS##Kind: \
    return static_cast<const CLASS *>(this)->child_end();