Home | History | Annotate | Download | only in AST

Lines Matching refs:Comment

1 //===--- CommentSema.cpp - Doxygen comment semantic analysis --------------===//
73 // These checks only make sense if the comment is attached to a
98 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) {
99 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
104 switch (Comment->getCommandID()) {
125 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch)
126 << Comment->getCommandMarker()
128 << Comment->getSourceRange();
131 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) {
132 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
136 switch (Comment->getCommandID()) {
144 if (DiagSelect && Comment->getCommandMarker() && isObjCInterfaceDecl())
164 Diag(Comment->getLocation(), diag::warn_doc_api_container_decl_mismatch)
165 << Comment->getCommandMarker()
167 << Comment->getSourceRange();
170 void Sema::checkContainerDecl(const BlockCommandComment *Comment) {
171 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
175 switch (Comment->getCommandID()) {
214 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch)
215 << Comment->getCommandMarker()
217 << Comment->getSourceRange();
587 assert(ThisDeclInfo && "should not call this check on a bare comment");
671 assert(ThisDeclInfo && "should not call this check on a bare comment");
741 // Comment AST nodes that correspond to \c ParamVars for which we have
749 for (Comment::child_iterator I = FC->child_begin(), E = FC->child_end();