clang  6.0.0svn
Classes | Namespaces | Macros
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

 clang
 Dataflow Directional Tag Classes.
 
 clang::comments
 

Macros

#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); }
 

Macro Definition Documentation

◆ ABSTRACT_COMMENT [1/2]

#define ABSTRACT_COMMENT (   COMMENT)

Definition at line 46 of file CommentVisitor.h.

◆ ABSTRACT_COMMENT [2/2]

#define ABSTRACT_COMMENT (   COMMENT)    COMMENT

Definition at line 46 of file CommentVisitor.h.

◆ COMMENT [1/2]

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

Definition at line 47 of file CommentVisitor.h.

◆ COMMENT [2/2]

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

Definition at line 47 of file CommentVisitor.h.

◆ DISPATCH

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

Definition at line 26 of file CommentVisitor.h.

◆ PTR

#define PTR (   CLASS)    typename Ptr<CLASS>::type

Definition at line 25 of file CommentVisitor.h.

Referenced by clang::AtomicExpr::getPtr().