clang API Documentation
#include "clang/AST/Comment.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/AST/CommentNodes.inc"
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 ABSTRACT_COMMENT | ( | COMMENT | ) |
Definition at line 46 of file CommentVisitor.h.
#define ABSTRACT_COMMENT | ( | COMMENT | ) | COMMENT |
Definition at line 46 of file CommentVisitor.h.
Definition at line 47 of file CommentVisitor.h.
Definition at line 47 of file CommentVisitor.h.
#define DISPATCH | ( | NAME, | |
CLASS | |||
) | return static_cast<ImplClass*>(this)->visit ## NAME(static_cast<PTR(CLASS)>(C)) |
Definition at line 26 of file CommentVisitor.h.
Referenced by clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt * >::Visit().
#define PTR | ( | CLASS | ) | typename Ptr<CLASS>::type |
Definition at line 25 of file CommentVisitor.h.
Referenced by clang::AtomicExpr::getPtr(), and clang::StmtVisitorBase< make_ptr, ASTNodeImporter, Stmt * >::Visit().