Home
last modified time | relevance | path

Searched full:comments (Results 1 – 25 of 2044) sorted by relevance

12345678910>>...82

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
DByteStreamer.h63 // Return how many comments to skip in DwarfDebug::emitDebugLocEntry to keep in emitDIERef()
64 // comments aligned with debug loc entries. in emitDIERef()
93 std::vector<std::string> &Comments; variable
96 /// Only verbose textual output needs comments. This will be set to
97 /// true for that case, and false otherwise. If false, comments passed in to
102 std::vector<std::string> &Comments, bool GenerateComments) in BufferByteStreamer() argument
103 : Buffer(Buffer), Comments(Comments), GenerateComments(GenerateComments) { in BufferByteStreamer()
108 Comments.push_back(Comment.str()); in emitInt8()
114 Comments.push_back(Comment.str()); in emitSLEB128()
115 // Add some empty comments to keep the Buffer and Comments vectors aligned in emitSLEB128()
[all …]
DDebugLocStream.h51 std::vector<std::string> Comments; variable
54 /// Only verbose textual output needs comments. This will be set to
99 Entries.push_back({BeginSym, EndSym, DWARFBytes.size(), Comments.size()}); in startEntry()
107 return BufferByteStreamer(DWARFBytes, Comments, GenerateComments); in getStreamer()
122 return ArrayRef(Comments).slice(Entries[EI].CommentOffset, in getComments()
149 return Comments.size() - Entries[EI].CommentOffset; in getNumComments()
DDebugLocStream.cpp32 Comments.erase(Comments.begin() + Entries.back().CommentOffset, in finalizeEntry()
33 Comments.end()); in finalizeEntry()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DJSONNodeDumper.h118 public comments::ConstCommentVisitor<JSONNodeDumper, void,
119 const comments::FullComment *>,
131 const comments::CommandTraits *Traits;
137 comments::ConstCommentVisitor<JSONNodeDumper, void,
138 const comments::FullComment *>;
190 const comments::CommandTraits *Traits) in JSONNodeDumper()
201 void Visit(const comments::Comment *C, const comments::FullComment *FC);
338 void visitTextComment(const comments::TextComment *C,
339 const comments::FullComment *);
340 void visitInlineCommandComment(const comments::InlineCommandComment *C,
[all …]
DTextNodeDumper.h129 public comments::ConstCommentVisitor<TextNodeDumper, void,
130 const comments::FullComment *>,
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 *);
210 void visitInlineCommandComment(const comments::InlineCommandComment *C,
211 const comments::FullComment *);
212 void visitHTMLStartTagComment(const comments::HTMLStartTagComment *C,
213 const comments::FullComment *);
[all …]
DRawCommentList.h1 //===--- RawCommentList.h - Classes for processing raw comments -*- C++ -*-===//
28 namespace comments {
30 } // end namespace comments
36 RCK_OrdinaryBCPL, ///< Any normal BCPL comments
42 RCK_Merged ///< Two or more documentation comments merged together
122 /// /* The comments styles might be mixed. */
126 /// "The comments styles might be mixed."
158 comments::FullComment *parse(const ASTContext &Context,
193 /// This class represents all comments included in the translation unit,
203 /// comment itself, or nullptr in case there are no comments in \p File.
/openbsd/src/usr.bin/indent/
Dindent.1175 The column in which comments on code start.
178 The column in which comments on declarations start.
180 is for these comments to start in the same column as those on code.
183 With this option enabled, comments look like this:
195 This only affects block comments, not comments to the right of
230 Controls the placement of comments which are not to the
234 means that such comments are placed one indentation level to the
238 lines up these comments with the code.
266 Enables (disables) the formatting of comments that start in column 1.
267 Often, comments whose leading
[all …]
Dindent_globs.h109 extern char *combuf; /* buffer for comments */
111 extern char *e_com; /* ... and end of stored comments */
168 extern int format_col1_comments; /* If comments which start in column 1
170 * (just like comments that begin in
253 int com_ind; /* the column in which comments to the right
255 int com_lines; /* the number of lines with comments, set by
258 int decl_com_ind; /* the column in which comments after
279 int out_coms; /* the number of comments processed, set by
294 int unindent_displace; /* comments not to the right of code
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
Dcxxcom2.c5 #line 5 "cxx-comments-2.c" 3 /* { dg-warning "extra tokens" "#line extension" } */
7 /* A system header may contain C++ comments irrespective of mode. */
11 { dg-final { if ![file exists cxx-comments-2.i] { return } } }
12 { dg-final { set tmp [grep cxx-comments-2.i "is not in C89" line] } }
15 { dg-final { fail "cxx-comments-2: comment strip check" } }
17 { dg-final { pass "cxx-comments-2: comment strip check" } }
Dcmdlne-C.c7 being the only directive that remembers its comments.
9 -C treats comments as tokens in their own right, so e.g. comment at
12 #define simple no comments
30 /* Check OK to redefine fun_like without comments in the params. */
33 /* Check comments in macros in directives are OK. */
Dcxxcom1.c11 { dg-final { if ![file exists cxx-comments-1.i] { return } } }
12 { dg-final { set tmp [grep cxx-comments-1.i "is not in C89" line] } }
15 { dg-final { fail "cxx-comments-1: comment strip check" } }
17 { dg-final { pass "cxx-comments-1: comment strip check" } }
Dcmdlne-C2.c6 /* This tests that C++ comments are either dropped, or converted to C
7 comments in macro expansions. The + in the regexp stops it from
19 { dg-final { fail "cmdlne-C2.i: C++ comments in macros with -C" } }
/openbsd/src/gnu/llvm/clang/lib/AST/
DRawCommentList.cpp1 //===--- RawCommentList.cpp - Processing raw comments -----------*- C++ -*-===//
188 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()
219 comments::Parser P(L, S, Context.getAllocator(), Context.getSourceManager(), in parse()
280 // Ordinary comments are not interesting for us. in addComment()
301 // Merge comments only if there is only whitespace between them. in addComment()
302 // Can't merge trailing and non-trailing comments unless the second is in addComment()
[all …]
DJSONNodeDumper.cpp133 void JSONNodeDumper::Visit(const comments::Comment *C, in Visit()
134 const comments::FullComment *FC) { in Visit()
1600 if (const comments::CommandInfo *Info = in getCommentCommandName()
1601 comments::CommandTraits::getBuiltinCommandInfo(CommandID)) in getCommentCommandName()
1606 void JSONNodeDumper::visitTextComment(const comments::TextComment *C, in visitTextComment()
1607 const comments::FullComment *) { in visitTextComment()
1612 const comments::InlineCommandComment *C, const comments::FullComment *) { in visitInlineCommandComment()
1616 case comments::InlineCommandComment::RenderNormal: in visitInlineCommandComment()
1619 case comments::InlineCommandComment::RenderBold: in visitInlineCommandComment()
1622 case comments::InlineCommandComment::RenderEmphasized: in visitInlineCommandComment()
[all …]
/openbsd/src/gnu/llvm/clang/tools/libclang/
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()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/trad/
Dcmdlne-C.c7 being the only directive that remembers its comments.
9 -C treats comments as tokens in their own right, so e.g. comment at
12 #define simple no comments
30 /* Check OK to redefine fun_like without comments in the params. */
33 /* Check comments in macros in directives are OK. */
/openbsd/src/gnu/llvm/clang/include/clang/Index/
DCommentToXML.h1 //===--- CommentToXML.h - Convert comments to XML representation ----------===//
17 namespace comments {
28 void convertCommentToHTML(const comments::FullComment *FC,
32 void convertHTMLTagNodeToText(const comments::HTMLTagComment *HTC,
36 void convertCommentToXML(const comments::FullComment *FC,
/openbsd/src/gnu/usr.bin/perl/qnx/
Dcpp6 # -C pass comments through to the output
10 typeset lines=l comments="" redir=""
14 -C) comments=c; shift; continue;;
22 cc -c -Wc,-p$lines$comments -Wc,-pw=0 $* $redir |
/openbsd/src/usr.sbin/rpki-client/
Dtak.c51 STACK_OF(ASN1_UTF8STRING) *comments;
64 ASN1_SEQUENCE_OF(TAKey, comments, ASN1_UTF8STRING),
97 res->num_comments = sk_ASN1_UTF8STRING_num(takey->comments); in parse_takey()
99 res->comments = calloc(res->num_comments, sizeof(char *)); in parse_takey()
100 if (res->comments == NULL) in parse_takey()
104 comment = sk_ASN1_UTF8STRING_value(takey->comments, i); in parse_takey()
105 res->comments[i] = strndup(comment->data, in parse_takey()
107 if (res->comments[i] == NULL) in parse_takey()
284 free(t->comments[i]); in takey_free()
289 free(t->comments); in takey_free()
/openbsd/src/gnu/llvm/clang/include/clang/Basic/
DCommentOptions.h1 //===- CommentOptions.h - Options for parsing comments ----------*- C++ -*-===//
26 /// Command names to treat as block commands in comments.
30 /// Treat ordinary comments as documentation comments.
/openbsd/src/gnu/llvm/llvm/utils/vscode/llvm/
Dlanguage-configuration-tablegen.json2 "comments": { object
3 …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
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-local/yaml-roundtrip/
Dcomment.tml4 === Properly ignore comments
47 # Repeat, with otherwise illegal characters in the comments
48 === Properly ignore comments (with otherwise illegal characters)
102 # Empty comments
/openbsd/src/usr.bin/dig/lib/isc/
Dlex.c52 unsigned int comments; member
100 lex->comments = 0; in isc_lex_create()
134 isc_lex_setcomments(isc_lex_t *lex, unsigned int comments) { in isc_lex_setcomments() argument
139 lex->comments = comments; in isc_lex_setcomments()
383 (lex->comments & in isc_lex_gettoken()
391 ((lex->comments & ISC_LEXCOMMENT_SHELL) in isc_lex_gettoken()
468 (lex->comments & ISC_LEXCOMMENT_C) != 0) { in isc_lex_gettoken()
472 (lex->comments & ISC_LEXCOMMENT_CPLUSPLUS) != 0) { in isc_lex_gettoken()
496 * C-style comments become a single space. in isc_lex_gettoken()
/openbsd/src/gnu/llvm/clang/include/clang/Tooling/Transformer/
DSourceCode.h32 /// Node. See comments on `getExtendedText()` for examples.
41 /// comments and whitespace before and after the node, and associated
46 /// Note that parsing comments is disabled by default. In order to select a
47 /// range containing associated comments, you may need to invoke the tool with
48 /// `-fparse-all-comments`.
/openbsd/src/gnu/usr.bin/gcc/gcc/doc/
Dcppopts.texi92 independently. Warnings are not given for trigraphs within comments, as
149 The second and third @code{FOO} should be in comments, but often are not
456 The preprocessor still recognizes and removes comments, so that you can
545 Do not discard comments. All comments are passed through to the output
546 file, except for comments in processed directives, which are deleted
550 causes the preprocessor to treat comments as tokens in their own right.
551 For example, comments appearing at the start of what would be a
556 Do not discard comments, including during macro expansion. This is
557 like @option{-C}, except that comments contained within macros are
561 @option{-CC} option causes all C++-style comments inside a macro
[all …]

12345678910>>...82