Home
last modified time | relevance | path

Searched refs:comments (Results 1 – 25 of 235) sorted by relevance

12345678910

/llvm-project-15.0.7/clang/test/Index/
H A Dannotate-comments-objc.m16 // Check that we attach comments to properties correctly.
37 // Check that we attach comments to enums declared using the NS_ENUM macro.
45 // In the implementation of attaching comments to enums declared using the
48 // attach unrelated comments in the following cases where tag decls are
81 // Declarations without Doxygen comments should not pick up some Doxygen comments.
85 // Non-Doxygen comments should not be attached to anything.
88 // Some Doxygen comments are not attached to anything.
91 // Ensure we don't pick up extra comments.
103 // checks that documentation comments are attached to declarations correctly.
105 // documentation comments will only test a single code path.
[all …]
H A Dannotate-comments-property-accessor.m3 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s…
16 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
22 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
23 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
32 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
33 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
42 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
52 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
53 // CHECK: FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments-propert…
H A Dannotate-comments-typedef.m3 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s…
20 …ion for MyEnum </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" line="…
30 …cumentation for E </p>] FullCommentAsXML=[<Enum file="{{[^"]+}}annotate-comments-typedef.m" line="…
31 …entation for E </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" line="…
38 …ment about Foo </p>] FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments-typedef.m" line="…
39 …omment about Foo </p>] FullCommentAsXML=[<Class file="{{[^"]+}}annotate-comments-typedef.m" line="…
48 …pedef file="{{[^"]+}}annotate-comments-typedef.m" line="[[@LINE-2]]" column="21"><Name>Foo1T</Name…
H A Doverriding-method-comments.mm3 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s…
22 …tAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE…
31 …tAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE…
37 …tAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE…
64 …tAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE…
70 …tAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE…
86 …tAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE…
97 // CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE-2…
101 // CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE-2…
107 // CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}overriding-method-comments.mm" line="[[@LINE-2…
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DJSONNodeDumper.h118 public comments::ConstCommentVisitor<JSONNodeDumper, void,
131 const comments::CommandTraits *Traits;
137 comments::ConstCommentVisitor<JSONNodeDumper, void,
190 const comments::CommandTraits *Traits) in JSONNodeDumper()
201 void Visit(const comments::Comment *C, const comments::FullComment *FC);
333 void visitTextComment(const comments::TextComment *C,
334 const comments::FullComment *);
338 const comments::FullComment *);
340 const comments::FullComment *);
342 const comments::FullComment *);
[all …]
H A DTextNodeDumper.h129 public comments::ConstCommentVisitor<TextNodeDumper, void,
154 const comments::CommandTraits *Traits = nullptr;
169 void Visit(const comments::Comment *C, const comments::FullComment *FC);
208 void visitTextComment(const comments::TextComment *C,
209 const comments::FullComment *);
211 const comments::FullComment *);
213 const comments::FullComment *);
215 const comments::FullComment *);
217 const comments::FullComment *);
226 const comments::FullComment *);
[all …]
H A DASTNodeTraverser.h64 public comments::ConstCommentVisitor<Derived, void,
65 const comments::FullComment *>,
102 if (const comments::FullComment *Comment = in Visit()
259 void Visit(const comments::Comment *C, const comments::FullComment *FC) { in Visit()
265 comments::ConstCommentVisitor<Derived, void, in Visit()
266 const comments::FullComment *>::visit(C, in Visit()
268 for (comments::Comment::child_iterator I = C->child_begin(), in Visit()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXComment.h24 namespace comments {
30 static inline CXComment createCXComment(const comments::Comment *C, in createCXComment()
38 static inline const comments::Comment *getASTNode(CXComment CXC) { in getASTNode()
39 return static_cast<const comments::Comment *>(CXC.ASTNode); in getASTNode()
44 const comments::Comment *C = getASTNode(CXC); in getASTNodeAs()
55 static inline comments::CommandTraits &getCommandTraits(CXComment CXC) { in getCommandTraits()
/llvm-project-15.0.7/clang/include/clang/Index/
H A DCommentToXML.h17 namespace comments {
28 void convertCommentToHTML(const comments::FullComment *FC,
32 void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC,
36 void convertCommentToXML(const comments::FullComment *FC,
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dargument-comment.rst6 Checks that argument comments match parameter names.
8 The check understands argument comments in the form ``/*parameter_name=*/``
37 When `true`, the check will add argument comments in the format
58 When true, the check will add argument comments in the format
79 When true, the check will add argument comments in the format
100 When true, the check will add argument comments in the format
125 When true, the check will add argument comments in the format
146 When true, the check will add argument comments in the format
171 When true, the check will add argument comments in the format
/llvm-project-15.0.7/clang/lib/AST/
H A DRawCommentList.cpp188 comments::Lexer L(Allocator, Context.getDiagnostics(), in extractBriefText()
192 comments::BriefParser P(L, Context.getCommentCommandTraits()); in extractBriefText()
204 comments::FullComment *RawComment::parse(const ASTContext &Context, in parse()
210 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(), in parse()
214 comments::Sema S(Context.getAllocator(), Context.getSourceManager(), in parse()
388 comments::CommandTraits EmptyTraits(Allocator, DefOpts); in getFormattedLines()
414 comments::Token Tok; in getFormattedLines()
418 if (Tok.is(comments::tok::eof)) in getFormattedLines()
420 if (Tok.is(comments::tok::newline)) { in getFormattedLines()
460 for (L.lex(Tok); Tok.isNot(comments::tok::eof); L.lex(Tok)) { in getFormattedLines()
[all …]
H A DJSONNodeDumper.cpp1568 if (const comments::CommandInfo *Info = in getCommentCommandName()
1580 const comments::InlineCommandComment *C, const comments::FullComment *) { in visitInlineCommandComment()
1610 const comments::HTMLStartTagComment *C, const comments::FullComment *) { in visitHTMLStartTagComment()
1625 const comments::HTMLEndTagComment *C, const comments::FullComment *) { in visitHTMLEndTagComment()
1630 const comments::BlockCommandComment *C, const comments::FullComment *) { in visitBlockCommandComment()
1642 const comments::ParamCommandComment *C, const comments::FullComment *FC) { in visitParamCommandComment()
1644 case comments::ParamCommandComment::In: in visitParamCommandComment()
1665 const comments::TParamCommandComment *C, const comments::FullComment *FC) { in visitTParamCommandComment()
1680 const comments::VerbatimBlockComment *C, const comments::FullComment *) { in visitVerbatimBlockComment()
1687 const comments::FullComment *) { in visitVerbatimBlockLineComment()
[all …]
H A DTextNodeDumper.cpp749 const comments::CommandInfo *Info = in getCommandName()
769 const comments::InlineCommandComment *C, const comments::FullComment *) { in visitInlineCommandComment()
794 const comments::HTMLStartTagComment *C, const comments::FullComment *) { in visitHTMLStartTagComment()
808 const comments::HTMLEndTagComment *C, const comments::FullComment *) { in visitHTMLEndTagComment()
813 const comments::BlockCommandComment *C, const comments::FullComment *) { in visitBlockCommandComment()
820 const comments::ParamCommandComment *C, const comments::FullComment *FC) { in visitParamCommandComment()
841 const comments::TParamCommandComment *C, const comments::FullComment *FC) { in visitTParamCommandComment()
861 const comments::VerbatimBlockComment *C, const comments::FullComment *) { in visitVerbatimBlockComment()
869 const comments::VerbatimBlockLineComment *C, in visitVerbatimBlockLineComment()
870 const comments::FullComment *) { in visitVerbatimBlockLineComment()
[all …]
/llvm-project-15.0.7/llvm/test/YAMLParser/
H A Dspec-09-23.test7 # comments:
10 # comments:
13 # comments.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dreadability-namespace-comments.rst1 .. title:: clang-tidy - google-readability-namespace-comments
5 google-readability-namespace-comments
8 The google-readability-namespace-comments check is an alias, please see
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dprep-diag1.td7 // DIAG1: error: Only comments are supported after #define NAME
19 // DIAG2: error: Only comments are supported after #ifdef NAME
22 // DIAG3: error: Only comments are supported after #ifdef NAME
H A Dprep-diag2.td5 // DIAG1: error: Only comments are supported after #else
8 // DIAG2: error: Only comments are supported after #else
H A Dprep-diag3.td5 // DIAG1: error: Only comments are supported after #endif
8 // DIAG2: error: Only comments are supported after #endif
/llvm-project-15.0.7/llvm/test/MC/AsmParser/
H A Dpreserve-comments.s1 #RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
3 …#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %p/Inputs/no-newline-at-end-of-file.s…
H A Dround-trip.s1 # RUN: llvm-mc -preserve-comments -triple i386-unknown-unknown %s >%t-1.s
2 # RUN: llvm-mc -preserve-comments -triple i386-unknown-unknown %t-1.s >%t-2.s
/llvm-project-15.0.7/llvm/utils/vscode/llvm/
H A Dlanguage-configuration-tablegen.json3 …bol used for single line comment. Remove this entry if your language does not support line comments
5 …r start and end a block comment. Remove this entry if your language does not support block comments
/llvm-project-15.0.7/llvm/test/MC/AMDGPU/
H A Dround-trip.s1 # RUN: llvm-mc -preserve-comments -triple amdgcn-amd- %s >%t-1.s
2 # RUN: llvm-mc -preserve-comments -triple amdgcn-amd- %t-1.s >%t-2.s
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DMapper.h24 using namespace clang::comments;
50 comments::FullComment *getComment(const NamedDecl *D,
/llvm-project-15.0.7/clang/test/Parser/
H A Dms-inline-asm.c15 int 0x2c ; } asm comments are fun! }{ in t5()
20 __asm int 3 ; } comments for single-line asm
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Ddocumentation.m19 // RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:15:8 %s -o …
23 // RUN: %clang_cc1 -fsyntax-only -code-completion-brief-comments -code-completion-at=%s:16:9 %s -o …

12345678910