Home | History | Annotate | Download | only in AST

Lines Matching refs:Comment

1 //===--- Comment.cpp - Comment AST node implementation --------------------===//
11 #include "clang/AST/Comment.h"
21 const char *Comment::getCommentKindName() const {
24 #define ABSTRACT_COMMENT(COMMENT)
25 #define COMMENT(CLASS, PARENT) \
29 #undef COMMENT
32 llvm_unreachable("Unknown comment kind!");
40 good implements_child_begin_end(Comment::child_iterator (T::*)() const) {
45 Comment::child_iterator (Comment::*)() const) {
53 #define ABSTRACT_COMMENT(COMMENT)
54 #define COMMENT(CLASS, PARENT) \
58 #undef COMMENT
66 Comment::child_iterator Comment::child_begin() const {
68 case NoCommentKind: llvm_unreachable("comment without a kind");
69 #define ABSTRACT_COMMENT(COMMENT)
70 #define COMMENT(CLASS, PARENT) \
74 #undef COMMENT
77 llvm_unreachable("Unknown comment kind!");
80 Comment::child_iterator Comment::child_end() const {
82 case NoCommentKind: llvm_unreachable("comment without a kind");
83 #define ABSTRACT_COMMENT(COMMENT)
84 #define COMMENT(CLASS, PARENT) \
88 #undef COMMENT
91 llvm_unreachable("Unknown comment kind!");