Home | History | Annotate | Download | only in AST

Lines Matching refs:Comment

1 //===--- Comment.cpp - Comment AST node implementation --------------------===//
9 #include "clang/AST/Comment.h"
21 // Check that no comment class has a non-trival destructor. They are allocated
23 #define ABSTRACT_COMMENT(COMMENT)
24 #define COMMENT(CLASS, PARENT) \
28 #undef COMMENT
35 const char *Comment::getCommentKindName() const {
38 #define ABSTRACT_COMMENT(COMMENT)
39 #define COMMENT(CLASS, PARENT) \
43 #undef COMMENT
46 llvm_unreachable("Unknown comment kind!");
54 good implements_child_begin_end(Comment::child_iterator (T::*)() const) {
60 Comment::child_iterator (Comment::*)() const) {
69 #define ABSTRACT_COMMENT(COMMENT)
70 #define COMMENT(CLASS, PARENT) \
74 #undef COMMENT
82 Comment::child_iterator Comment::child_begin() const {
84 case NoCommentKind: llvm_unreachable("comment without a kind");
85 #define ABSTRACT_COMMENT(COMMENT)
86 #define COMMENT(CLASS, PARENT) \
90 #undef COMMENT
93 llvm_unreachable("Unknown comment kind!");
96 Comment::child_iterator Comment::child_end() const {
98 case NoCommentKind: llvm_unreachable("comment without a kind");
99 #define ABSTRACT_COMMENT(COMMENT)
100 #define COMMENT(CLASS, PARENT) \
104 #undef COMMENT
107 llvm_unreachable("Unknown comment kind!");