clang API Documentation

Classes | Namespaces | Defines
CommentVisitor.h File Reference
#include "clang/AST/Comment.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/AST/CommentNodes.inc"
Include dependency graph for CommentVisitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  clang::comments::make_ptr< T >
struct  clang::comments::make_const_ptr< T >
class  clang::comments::CommentVisitorBase< Ptr, ImplClass, RetTy >
class  clang::comments::CommentVisitor< ImplClass, RetTy >
class  clang::comments::ConstCommentVisitor< ImplClass, RetTy >

Namespaces

namespace  clang
namespace  clang::comments

Defines

#define PTR(CLASS)   typename Ptr<CLASS>::type
#define DISPATCH(NAME, CLASS)   return static_cast<ImplClass*>(this)->visit ## NAME(static_cast<PTR(CLASS)>(C))
#define ABSTRACT_COMMENT(COMMENT)
#define COMMENT(CLASS, PARENT)   case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS);
#define ABSTRACT_COMMENT(COMMENT)   COMMENT
#define COMMENT(CLASS, PARENT)   RetTy visit ## CLASS(PTR(CLASS) C) { DISPATCH(PARENT, PARENT); }

Define Documentation

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 46 of file CommentVisitor.h.

#define ABSTRACT_COMMENT (   COMMENT)    COMMENT

Definition at line 46 of file CommentVisitor.h.

#define COMMENT (   CLASS,
  PARENT 
)    case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS);

Definition at line 47 of file CommentVisitor.h.

#define COMMENT (   CLASS,
  PARENT 
)    RetTy visit ## CLASS(PTR(CLASS) C) { DISPATCH(PARENT, PARENT); }

Definition at line 47 of file CommentVisitor.h.

#define DISPATCH (   NAME,
  CLASS 
)    return static_cast<ImplClass*>(this)->visit ## NAME(static_cast<PTR(CLASS)>(C))
#define PTR (   CLASS)    typename Ptr<CLASS>::type