Searched refs:Comment (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DRawCommentList.cpp12 #include "clang/AST/Comment.h"
24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment, argument
27 if ((Comment.size() < MinCommentLength) || Comment[0] != '/')
31 if (Comment[1] == '/') {
32 if (Comment.size() < 3)
35 if (Comment[2] == '/')
37 else if (Comment[2] == '!')
42 assert(Comment.size() >= 4);
44 // Comment lexe
62 mergedCommentIsTrailingComment(StringRef Comment) argument
[all...]
H A DComment.cpp1 //===--- Comment.cpp - Comment AST node implementation --------------------===//
11 #include "clang/AST/Comment.h"
22 const char *Comment::getCommentKindName() const {
41 good implements_child_begin_end(Comment::child_iterator (T::*)() const) {
47 Comment::child_iterator (Comment::*)() const) {
69 Comment::child_iterator Comment::child_begin() const {
83 Comment
[all...]
H A DCommentSema.cpp93 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) { argument
94 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
99 switch (Comment->getCommandID()) {
120 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch)
121 << Comment->getCommandMarker()
123 << Comment->getSourceRange();
126 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) { argument
127 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
131 switch (Comment->getCommandID()) {
137 if (DiagSelect && Comment
163 checkContainerDecl(const BlockCommandComment *Comment) argument
[all...]
H A DASTDumper.cpp58 // Comment names (FullComment, ParagraphComment, TextComment, etc)
319 void dumpComment(const Comment *C);
763 const FullComment *Comment = local
769 setMoreChildren(HasAttrs || Comment || HasDeclContext);
772 setMoreChildren(Comment || HasDeclContext);
782 dumpFullComment(Comment);
1981 void ASTDumper::dumpComment(const Comment *C) {
1997 for (Comment::child_iterator I = C->child_begin(), E = C->child_end();
2162 // Comment method implementations
2165 void Comment
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCommentVisitor.h1 //===--- CommentVisitor.h - Visitor for Comment subclasses ------*- C++ -*-===//
13 #include "clang/AST/Comment.h"
29 RetTy visit(PTR(Comment) C) {
37 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS);
53 RetTy visitComment(PTR(Comment) C) { return RetTy(); }
H A DComment.h1 //===--- Comment.h - Comment AST nodes --------------------------*- C++ -*-===//
53 class Comment { class in namespace:clang::comments
62 friend class Comment;
184 Comment(CommentKind K, function in class:clang::comments::Comment
215 typedef Comment * const *child_iterator;
229 class InlineContentComment : public Comment {
234 Comment(K, LocBegin, LocEnd) {
239 static bool classof(const Comment *C) {
266 static bool classof(const Comment *
[all...]
H A DCommentSema.h17 #include "clang/AST/Comment.h"
52 /// Comment AST nodes that correspond to parameter names in
197 void checkDeprecatedCommand(const BlockCommandComment *Comment);
199 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment);
201 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment);
203 void checkContainerDecl(const BlockCommandComment *Comment);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Index/
H A DCommentToXML.cpp14 #include "clang/AST/Comment.h"
101 for (Comment::child_iterator I = C->child_begin(), E = C->child_end();
103 const Comment *Child = *I;
107 case Comment::NoCommentKind:
110 case Comment::ParagraphCommentKind: {
121 case Comment::BlockCommandCommentKind: {
144 case Comment::ParamCommandCommentKind: {
156 case Comment::TParamCommandCommentKind: {
168 case Comment::VerbatimBlockCommentKind:
172 case Comment
[all...]
/freebsd-9.3-release/usr.sbin/pkg_install/create/
H A Dcreate.h28 extern char *Comment;
H A Dmain.c23 char *Comment = NULL; variable
127 Comment = optarg;
H A Dperform.c127 get_dash_string(&Comment);
274 write_file(COMMENT_FNAME, Comment);
346 free(Comment);
490 if (!Comment) {
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcsfcmp.c280 for (ccnt=Comment.size; ccnt--; )
281 c1 += Comment.string[ccnt] == '\n';
292 ccnt = RCSversion<VERSION(5) ? Comment.size : leaderlen;
346 Comment.string = argv[1];
347 Comment.size = strlen(argv[1]);
H A Drcssyn.c192 struct cbuf Comment; variable in typeref:struct:cbuf
315 clear_buf(&Comment);
318 Comment = savestring(&Commleader);
H A Drcsgen.c511 if (Comment.size) {
513 putstring(fout, true, Comment, false);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang-c/
H A DIndex.h3567 * \defgroup CINDEX_COMMENT Comment AST introspection
3735 * \param Comment AST node of any kind.
3739 CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment);
3742 * \param Comment AST node of any kind.
3746 CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment);
3749 * \param Comment AST node of any kind.
3756 CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx);
3765 * \returns non-zero if \c Comment is whitespace.
3767 CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment);
3770 * \returns non-zero if \c Comment i
[all...]
/freebsd-9.3-release/lib/clang/libclangast/
H A DMakefile17 Comment.cpp \
/freebsd-9.3-release/contrib/llvm/lib/Target/R600/
H A DAMDGPUAsmPrinter.cpp93 std::string Comment(DisasmLineMaxLen - DisasmLines[i].size(), ' ');
94 Comment += " ; " + HexLines[i] + "\n";
97 OutStreamer.EmitBytes(StringRef(Comment));
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h265 virtual bool HandleComment(Preprocessor &PP, SourceRange Comment);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp482 SourceRange Comment) {
489 SourceLocation CommentBegin = Comment.getBegin();
492 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw);
561 std::string Comment = RawLex.getSpelling(Tok, SM, LangOpts); local
562 if (Comment.empty()) continue;
565 if (ParseDirective(Comment, 0, SM, 0, Tok.getLocation(), Status))
481 HandleComment(Preprocessor &PP, SourceRange Comment) argument
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSema.cpp1111 void Sema::ActOnComment(SourceRange Comment) { argument
1113 SourceMgr.isInSystemHeader(Comment.getBegin()))
1115 RawComment RC(SourceMgr, Comment, false,
1118 SourceRange MagicMarkerRange(Comment.getBegin(),
1119 Comment.getBegin().getLocWithOffset(3));
1132 Diag(Comment.getBegin(), diag::warn_not_a_doxygen_trailing_member_comment) <<
H A DCodeCompleteConsumer.cpp395 void CodeCompletionBuilder::addBriefComment(StringRef Comment) { argument
396 BriefComment = Allocator.CopyString(Comment);
/freebsd-9.3-release/usr.sbin/cron/doc/
H A DINSTALL78 /etc/cron. Comment it out and add a line to start the new cron daemon
/freebsd-9.3-release/gnu/usr.bin/rcs/rcs/
H A Drcs.c535 commsymlen != Comment.size ||
536 memcmp(commsyml, Comment.string, commsymlen) != 0
539 Comment.string = commsyml;
540 Comment.size = strlen(commsyml);
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DMCELFStreamer.cpp331 const MCSection *Comment = getAssembler().getContext().getELFSection( local
335 SwitchSection(Comment);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Format/
H A DBreakableToken.cpp182 static StringRef getLineCommentPrefix(StringRef Comment) { argument
185 if (Comment.startswith(KnownPrefixes[i]))

Completed in 406 milliseconds

12