Home
last modified time | relevance | path

Searched refs:Comment (Results 1 – 25 of 119) sorted by relevance

12345

/minix3/external/bsd/llvm/dist/clang/include/clang-c/
H A DDocumentation.h213 CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment);
220 CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment);
230 CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx);
241 CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment);
249 unsigned clang_InlineContentComment_hasTrailingNewline(CXComment Comment);
256 CINDEX_LINKAGE CXString clang_TextComment_getText(CXComment Comment);
264 CXString clang_InlineCommandComment_getCommandName(CXComment Comment);
273 clang_InlineCommandComment_getRenderKind(CXComment Comment);
281 unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment);
291 CXString clang_InlineCommandComment_getArgText(CXComment Comment,
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h29 virtual void EmitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
30 virtual void EmitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
31 virtual void EmitULEB128(uint64_t DWord, const Twine &Comment = "") = 0;
40 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8() argument
41 AP.OutStreamer.AddComment(Comment); in EmitInt8()
44 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override { in EmitSLEB128() argument
45 AP.OutStreamer.AddComment(Comment); in EmitSLEB128()
48 void EmitULEB128(uint64_t DWord, const Twine &Comment) override { in EmitULEB128() argument
49 AP.OutStreamer.AddComment(Comment); in EmitULEB128()
59 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8() argument
[all …]
H A DDwarfExpression.h43 virtual void EmitOp(uint8_t Op, const char *Comment = nullptr) = 0;
53 void AddReg(int DwarfReg, const char *Comment = nullptr);
111 void EmitOp(uint8_t Op, const char *Comment = nullptr) override;
126 void EmitOp(uint8_t Op, const char *Comment = nullptr) override;
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DCommentNodes.td1 class Comment<bit abstract = 0> {
5 class DComment<Comment base, bit abstract = 0> : Comment<abstract> {
6 Comment Base = base;
9 def InlineContentComment : Comment<1>;
16 def BlockContentComment : Comment<1>;
24 def VerbatimBlockLineComment : Comment;
26 def FullComment : Comment;
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DRawCommentList.cpp24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment, in getCommentKind() argument
27 if ((Comment.size() < MinCommentLength) || Comment[0] != '/') in getCommentKind()
31 if (Comment[1] == '/') { in getCommentKind()
32 if (Comment.size() < 3) in getCommentKind()
35 if (Comment[2] == '/') in getCommentKind()
37 else if (Comment[2] == '!') in getCommentKind()
42 assert(Comment.size() >= 4); in getCommentKind()
46 if (Comment[1] != '*' || in getCommentKind()
47 Comment[Comment.size() - 2] != '*' || in getCommentKind()
48 Comment[Comment.size() - 1] != '/') in getCommentKind()
[all …]
H A DComment.cpp22 const char *Comment::getCommentKindName() const { in getCommentKindName()
41 good implements_child_begin_end(Comment::child_iterator (T::*)() const) { in implements_child_begin_end()
47 Comment::child_iterator (Comment::*)() const) { in implements_child_begin_end()
69 Comment::child_iterator Comment::child_begin() const { in child_begin()
83 Comment::child_iterator Comment::child_end() const { in child_end()
H A DCommentSema.cpp98 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) { in checkFunctionDeclVerbatimLine() argument
99 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkFunctionDeclVerbatimLine()
104 switch (Comment->getCommandID()) { in checkFunctionDeclVerbatimLine()
125 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch) in checkFunctionDeclVerbatimLine()
126 << Comment->getCommandMarker() in checkFunctionDeclVerbatimLine()
128 << Comment->getSourceRange(); in checkFunctionDeclVerbatimLine()
131 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) { in checkContainerDeclVerbatimLine() argument
132 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkContainerDeclVerbatimLine()
136 switch (Comment->getCommandID()) { in checkContainerDeclVerbatimLine()
142 if (DiagSelect && Comment->getCommandMarker() && isObjCInterfaceDecl()) in checkContainerDeclVerbatimLine()
[all …]
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCXComment.cpp46 const Comment *C = getASTNode(CXC); in clang_Comment_getKind()
51 case Comment::NoCommentKind: in clang_Comment_getKind()
54 case Comment::TextCommentKind: in clang_Comment_getKind()
57 case Comment::InlineCommandCommentKind: in clang_Comment_getKind()
60 case Comment::HTMLStartTagCommentKind: in clang_Comment_getKind()
63 case Comment::HTMLEndTagCommentKind: in clang_Comment_getKind()
66 case Comment::ParagraphCommentKind: in clang_Comment_getKind()
69 case Comment::BlockCommandCommentKind: in clang_Comment_getKind()
72 case Comment::ParamCommandCommentKind: in clang_Comment_getKind()
75 case Comment::TParamCommandCommentKind: in clang_Comment_getKind()
[all …]
H A DCXComment.h31 static inline CXComment createCXComment(const comments::Comment *C, in createCXComment()
39 static inline const comments::Comment *getASTNode(CXComment CXC) { in getASTNode()
40 return static_cast<const comments::Comment *>(CXC.ASTNode); in getASTNode()
45 const comments::Comment *C = getASTNode(CXC); in getASTNodeAs()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DComment.h53 class Comment {
62 friend class Comment; variable
197 Comment(CommentKind K, in Comment() function
228 typedef Comment * const *child_iterator;
242 class InlineContentComment : public Comment {
247 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
252 static bool classof(const Comment *C) { in classof()
279 static bool classof(const Comment *C) { in classof()
337 static bool classof(const Comment *C) { in classof()
396 static bool classof(const Comment *C) { in classof()
[all …]
H A DCommentVisitor.h29 RetTy visit(PTR(Comment) C) { in visit()
37 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS); in visit()
53 RetTy visitComment(PTR(Comment) C) { return RetTy(); } in visitComment()
H A DCommentSema.h197 void checkDeprecatedCommand(const BlockCommandComment *Comment);
199 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment);
201 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment);
203 void checkContainerDecl(const BlockCommandComment *Comment);
/minix3/external/bsd/llvm/dist/clang/test/Index/
H A Dannotate-comments-objc.m6 /// Comment for 'functionBeforeImports'.
81 // WRONG-NOT: notdoxy{{.*}}Comment=
82 // WRONG-NOT: test{{.*}}Comment=
106 …ents-objc.m:7:6: FunctionDecl=functionBeforeImports:{{.*}} BriefComment=[Comment for 'functionBefo…
107 …entsA.h:2:6: FunctionDecl=functionFromDocCommentsA1:{{.*}} BriefComment=[Comment for 'functionFrom…
108 …entsA.h:7:6: FunctionDecl=functionFromDocCommentsA2:{{.*}} BriefComment=[Comment for 'functionFrom…
109 …entsB.h:2:6: FunctionDecl=functionFromDocCommentsB1:{{.*}} BriefComment=[Comment for 'functionFrom…
110 …entsB.h:7:6: FunctionDecl=functionFromDocCommentsB2:{{.*}} BriefComment=[Comment for 'functionFrom…
111 …mentsC.h:2:6: FunctionDecl=functionFromDocCommentsC:{{.*}} BriefComment=[Comment for 'functionFrom…
H A Dannotate-comments-typedef.m34 /** Comment about Foo */
38Comment about Foo </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" lin…
39Comment about Foo] FullCommentAsHTML=[<p class="para-brief"> Comment about Foo </p>] FullCommentAs…
/minix3/external/bsd/llvm/dist/clang/lib/Index/
H A DCommentToXML.cpp100 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); in FullCommentParts()
102 const Comment *Child = *I; in FullCommentParts()
106 case Comment::NoCommentKind: in FullCommentParts()
109 case Comment::ParagraphCommentKind: { in FullCommentParts()
120 case Comment::BlockCommandCommentKind: { in FullCommentParts()
143 case Comment::ParamCommandCommentKind: { in FullCommentParts()
155 case Comment::TParamCommandCommentKind: { in FullCommentParts()
167 case Comment::VerbatimBlockCommentKind: in FullCommentParts()
171 case Comment::VerbatimLineCommentKind: { in FullCommentParts()
179 case Comment::TextCommentKind: in FullCommentParts()
[all …]
/minix3/external/bsd/llvm/dist/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp15 struct Comment { struct
16 Comment(const std::string &Message, unsigned Line, unsigned Col) in Comment() argument
24 typedef std::vector<Comment> CommentList;
52 Comments.push_back(Comment(C, CLine, CCol)); in HandleComment()
112 const Comment &C = *Current; in Match()
/minix3/external/bsd/llvm/dist/clang/unittests/AST/
H A DCommentParser.cpp80 ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) { in HasChildCount()
93 ::testing::AssertionResult GetChildAt(const Comment *C, in GetChildAt()
104 Comment::child_iterator I = C->child_begin() + Idx; in GetChildAt()
105 Comment *CommentChild = *I; in GetChildAt()
118 ::testing::AssertionResult HasTextAt(const Comment *C, in HasTextAt()
139 ::testing::AssertionResult HasTextWithNewlineAt(const Comment *C, in HasTextWithNewlineAt()
160 ::testing::AssertionResult HasBlockCommandAt(const Comment *C, in HasBlockCommandAt()
182 const Comment *C, in HasParamCommandAt()
230 const Comment *C, in HasTParamCommandAt()
263 ::testing::AssertionResult HasInlineCommandAt(const Comment *C, in HasInlineCommandAt()
[all …]
/minix3/external/bsd/pkg_install/dist/create/
H A Dperform.c48 if (!Comment) in sanity_check()
159 get_dash_string(&Comment); in pkg_perform()
237 free(Comment); in pkg_perform()
H A Dmain.c32 char *Comment = NULL; variable
121 Comment = optarg; in main()
/minix3/external/bsd/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c363 CXComment Comment) { in DumpCXCommentInternal() argument
366 enum CXCommentKind Kind = clang_Comment_getKind(Comment); in DumpCXCommentInternal()
380 clang_TextComment_getText(Comment)); in DumpCXCommentInternal()
381 if (clang_Comment_isWhitespace(Comment)) in DumpCXCommentInternal()
383 if (clang_InlineContentComment_hasTrailingNewline(Comment)) in DumpCXCommentInternal()
390 clang_InlineCommandComment_getCommandName(Comment)); in DumpCXCommentInternal()
391 switch (clang_InlineCommandComment_getRenderKind(Comment)) { in DumpCXCommentInternal()
405 for (i = 0, e = clang_InlineCommandComment_getNumArgs(Comment); in DumpCXCommentInternal()
409 clang_InlineCommandComment_getArgText(Comment, i)); in DumpCXCommentInternal()
411 if (clang_InlineContentComment_hasTrailingNewline(Comment)) in DumpCXCommentInternal()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/YAMLParser/
H A Dspec-06-02.data3 # Comment
H A Dspec-05-05.data3 # Comment only.
H A Dspec-05-01-utf8.data3 # Comment only.
H A Dspec-09-28.data10 # Comment
/minix3/external/bsd/llvm/dist/llvm/utils/vim/
H A Dtablegen.vim44 HiLink tgComment Comment
45 HiLink tgComment2 Comment

12345