Home | History | Annotate | Download | only in AST

Lines Matching refs:COMMENT

1 //===--- Comment.cpp - Comment AST node implementation --------------------===//
11 #include "clang/AST/Comment.h"
22 const char *Comment::getCommentKindName() const {
25 #define ABSTRACT_COMMENT(COMMENT)
26 #define COMMENT(CLASS, PARENT) \
30 #undef COMMENT
33 llvm_unreachable("Unknown comment kind!");
41 good implements_child_begin_end(Comment::child_iterator (T::*)() const) {
47 Comment::child_iterator (Comment::*)() const) {
56 #define ABSTRACT_COMMENT(COMMENT)
57 #define COMMENT(CLASS, PARENT) \
61 #undef COMMENT
69 Comment::child_iterator Comment::child_begin() const {
71 case NoCommentKind: llvm_unreachable("comment without a kind");
72 #define ABSTRACT_COMMENT(COMMENT)
73 #define COMMENT(CLASS, PARENT) \
77 #undef COMMENT
80 llvm_unreachable("Unknown comment kind!");
83 Comment::child_iterator Comment::child_end() const {
85 case NoCommentKind: llvm_unreachable("comment without a kind");
86 #define ABSTRACT_COMMENT(COMMENT)
87 #define COMMENT(CLASS, PARENT) \
91 #undef COMMENT
94 llvm_unreachable("Unknown comment kind!");