Lines Matching full: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 {
39 #define ABSTRACT_COMMENT(COMMENT)
40 #define COMMENT(CLASS, PARENT) \
44 #undef COMMENT
47 llvm_unreachable("Unknown comment kind!");
55 good implements_child_begin_end(Comment::child_iterator (T::*)() const) {
61 Comment::child_iterator (Comment::*)() const) {
70 #define ABSTRACT_COMMENT(COMMENT)
71 #define COMMENT(CLASS, PARENT) \
75 #undef COMMENT
83 Comment::child_iterator Comment::child_begin() const {
86 llvm_unreachable("comment without a kind");
87 #define ABSTRACT_COMMENT(COMMENT)
88 #define COMMENT(CLASS, PARENT) \
92 #undef COMMENT
95 llvm_unreachable("Unknown comment kind!");
98 Comment::child_iterator Comment::child_end() const {
101 llvm_unreachable("comment without a kind");
102 #define ABSTRACT_COMMENT(COMMENT)
103 #define COMMENT(CLASS, PARENT) \
107 #undef COMMENT
110 llvm_unreachable("Unknown comment kind!");