Home
last modified time | relevance | path

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

12345678910>>...26

/netbsd-src/external/apache2/llvm/dist/clang/include/clang-c/
H A DDocumentation.h217 CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment);
224 CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment);
234 CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx);
245 CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment);
253 unsigned clang_InlineContentComment_hasTrailingNewline(CXComment Comment);
260 CINDEX_LINKAGE CXString clang_TextComment_getText(CXComment Comment);
268 CXString clang_InlineCommandComment_getCommandName(CXComment Comment);
277 clang_InlineCommandComment_getRenderKind(CXComment Comment);
285 unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment);
295 CXString clang_InlineCommandComment_getArgText(CXComment Comment,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp77 StringRef Comment(CommentText); in HandleComment() local
78 if (Comment.empty()) in HandleComment()
82 unsigned Position = Comment.find_first_not_of(" \t"); in HandleComment()
83 if (Position >= Comment.size()) in HandleComment()
87 Comment = Comment.drop_front(Position); in HandleComment()
88 if (Comment.consume_front("LLVM-MCA-END")) { in HandleComment()
90 Position = Comment.find_first_not_of(" \t"); in HandleComment()
91 if (Position < Comment.size()) in HandleComment()
92 Comment = Comment.drop_front(Position); in HandleComment()
93 Regions.endRegion(Comment, Loc); in HandleComment()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h32 virtual void emitInt8(uint8_t Byte, const Twine &Comment = "") = 0;
33 virtual void emitSLEB128(uint64_t DWord, const Twine &Comment = "") = 0;
34 virtual void emitULEB128(uint64_t DWord, const Twine &Comment = "",
44 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
45 AP.OutStreamer->AddComment(Comment); in emitInt8()
48 void emitSLEB128(uint64_t DWord, const Twine &Comment) override { in emitSLEB128() argument
49 AP.OutStreamer->AddComment(Comment); in emitSLEB128()
52 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() argument
54 AP.OutStreamer->AddComment(Comment); in emitULEB128()
64 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
[all …]
H A DDwarfExpression.h112 const char *Comment; member
115 static Register createRegister(int RegNo, const char *Comment) { in createRegister()
116 return {RegNo, 0, Comment}; in createRegister()
121 const char *Comment) { in createSubRegister()
122 return {RegNo, SizeInBits, Comment}; in createSubRegister()
188 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0;
226 void addReg(int DwarfReg, const char *Comment = nullptr);
384 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
414 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp101 const Twine &Comment) { in mapByteVectorTail() argument
103 emitComment(Comment); in mapByteVectorTail()
117 const Twine &Comment) { in mapByteVectorTail() argument
119 if (auto EC = mapByteVectorTail(BytesRef, Comment)) in mapByteVectorTail()
127 Error CodeViewRecordIO::mapInteger(TypeIndex &TypeInd, const Twine &Comment) { in mapInteger() argument
131 emitComment(Comment + ": " + TypeNameStr); in mapInteger()
133 emitComment(Comment); in mapInteger()
149 const Twine &Comment) { in mapEncodedInteger() argument
152 emitEncodedUnsignedInteger(static_cast<uint64_t>(Value), Comment); in mapEncodedInteger()
154 emitEncodedSignedInteger(Value, Comment); in mapEncodedInteger()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h67 Error mapInteger(TypeIndex &TypeInd, const Twine &Comment = "");
100 template <typename T> Error mapInteger(T &Value, const Twine &Comment = "") {
102 emitComment(Comment);
114 template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
124 if (auto EC = mapInteger(X, Comment))
133 Error mapEncodedInteger(int64_t &Value, const Twine &Comment = "");
134 Error mapEncodedInteger(uint64_t &Value, const Twine &Comment = "");
135 Error mapEncodedInteger(APSInt &Value, const Twine &Comment = "");
136 Error mapStringZ(StringRef &Value, const Twine &Comment = "");
137 Error mapGuid(GUID &Guid, const Twine &Comment = "");
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DRawCommentList.cpp25 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment, in getCommentKind() argument
28 if ((Comment.size() < MinCommentLength) || Comment[0] != '/') in getCommentKind()
32 if (Comment[1] == '/') { in getCommentKind()
33 if (Comment.size() < 3) in getCommentKind()
36 if (Comment[2] == '/') in getCommentKind()
38 else if (Comment[2] == '!') in getCommentKind()
43 assert(Comment.size() >= 4); in getCommentKind()
47 if (Comment[1] != '*' || in getCommentKind()
48 Comment[Comment.size() - 2] != '*' || in getCommentKind()
49 Comment[Comment.size() - 1] != '/') in getCommentKind()
[all …]
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()
144 if (DiagSelect && Comment->getCommandMarker() && isObjCInterfaceDecl()) in checkContainerDeclVerbatimLine()
[all …]
H A DComment.cpp35 const char *Comment::getCommentKindName() const { in getCommentKindName()
54 good implements_child_begin_end(Comment::child_iterator (T::*)() const) { in implements_child_begin_end()
60 Comment::child_iterator (Comment::*)() const) { in implements_child_begin_end()
82 Comment::child_iterator Comment::child_begin() const { in child_begin()
96 Comment::child_iterator Comment::child_end() const { in child_end()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXComment.cpp42 const Comment *C = getASTNode(CXC); in clang_Comment_getKind()
47 case Comment::NoCommentKind: in clang_Comment_getKind()
50 case Comment::TextCommentKind: in clang_Comment_getKind()
53 case Comment::InlineCommandCommentKind: in clang_Comment_getKind()
56 case Comment::HTMLStartTagCommentKind: in clang_Comment_getKind()
59 case Comment::HTMLEndTagCommentKind: in clang_Comment_getKind()
62 case Comment::ParagraphCommentKind: in clang_Comment_getKind()
65 case Comment::BlockCommandCommentKind: in clang_Comment_getKind()
68 case Comment::ParamCommandCommentKind: in clang_Comment_getKind()
71 case Comment::TParamCommandCommentKind: in clang_Comment_getKind()
[all …]
H A DCXComment.h30 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DComment.h52 class Comment {
61 friend class Comment; variable
197 Comment(CommentKind K, in Comment() function
222 typedef Comment * const *child_iterator;
236 class InlineContentComment : public Comment {
241 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
246 static bool classof(const Comment *C) { in classof()
273 static bool classof(const Comment *C) { in classof()
332 static bool classof(const Comment *C) { in classof()
390 static bool classof(const Comment *C) { in classof()
[all …]
H A DCommentVisitor.h27 RetTy visit(PTR(Comment) C, ParamTys... P) { in visit()
35 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS); in visit()
51 RetTy visitComment(PTR(Comment) C, ParamTys... P) { return RetTy(); } in visitComment()
H A DCommentSema.h192 void checkDeprecatedCommand(const BlockCommandComment *Comment);
194 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment);
196 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment);
198 void checkContainerDecl(const BlockCommandComment *Comment);
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp504 static MatchTableRecord Comment(StringRef Comment) { in Comment() function in __anon332dbd1e0111::MatchTable
505 return MatchTableRecord(None, Comment, 0, MatchTableRecord::MTRF_Comment); in Comment()
1057 Table << MatchTable::Comment(getNoPredicateComment()) in emitPredicateListOpcodes()
1077 Table << MatchTable::Comment(getNoPredicateComment()) in emitFilteredPredicateListOpcodes()
1265 Table << MatchTable::Opcode("GIM_CheckType") << MatchTable::Comment("MI") in emitPredicateOpcodes()
1266 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1267 << MatchTable::IntValue(OpIdx) << MatchTable::Comment("Type") in emitPredicateOpcodes()
1306 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1307 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes()
1308 << MatchTable::Comment("SizeInBits") in emitPredicateOpcodes()
[all …]
/netbsd-src/sys/external/bsd/acpica/dist/tools/acpisrc/
H A Dasremove.c154 char *Comment; in AsRemoveConditionalCompile() local
175 Comment = NULL; in AsRemoveConditionalCompile()
179 Comment = strstr (SubString, AS_START_IGNORE); in AsRemoveConditionalCompile()
182 if ((Comment) && in AsRemoveConditionalCompile()
183 (Comment < SubBuffer)) in AsRemoveConditionalCompile()
185 SubString = strstr (Comment, AS_STOP_IGNORE); in AsRemoveConditionalCompile()
197 Comment = strstr (SubString, "/*"); in AsRemoveConditionalCompile()
199 if ((Comment) && in AsRemoveConditionalCompile()
200 (Comment < SubBuffer)) in AsRemoveConditionalCompile()
202 SubString = strstr (Comment, "*/"); in AsRemoveConditionalCompile()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DCommentNodes.td8 def Comment : CommentNode<?, 1>;
9 def InlineContentComment : CommentNode<Comment, 1>;
16 def BlockContentComment : CommentNode<Comment, 1>;
24 def VerbatimBlockLineComment : CommentNode<Comment>;
26 def FullComment : CommentNode<Comment>;
/netbsd-src/external/apache2/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 …]
/netbsd-src/doc/roadmaps/
H A Dnetworking47 Comment[christos]: This will add VAP support too, and needs changes to all
55 Comment[christos]: XXX: Fill in the project description and justification.
62 Comment[christos]: XXX: Fill in the project description and justification.
70 Comment[christos]: The ALTQ code and interface is very messy and there
82 Comment[christos]: XXX: Fill in the project description and justification.
83 Comment[nia]: isn't this completed? we have mdnsd(8) and multicast support
94 Comment[christos]: XXX: Why? What's going to use it?
105 Comment[christos]: Not very interesting
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp89 const FormatToken *Comment = RBraceTok->Next; in validEndComment() local
104 NamespaceMacroCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment()
110 !NamespaceCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment()
128 if (!(Comment->Next && Comment->Next->is(TT_LineComment))) in validEndComment()
135 if (!CommentPattern.match(Comment->Next->TokenText, &Groups)) { in validEndComment()
159 const FormatToken *Comment = RBraceTok->Next; in updateEndComment() local
160 auto Range = CharSourceRange::getCharRange(Comment->getStartOfNonWhitespace(), in updateEndComment()
161 Comment->Tok.getEndLoc()); in updateEndComment()
/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Dcvcompiler.c314 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
316 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
327 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
329 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
431 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlDefBlockComment()
432 CvDbgPrint ("Printing comment: %s\n", Current->Comment); in CgWriteAmlDefBlockComment()
562 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
572 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
801 AslGbl_CommentListTail->Comment = ToAdd; in CvAddToCommentList()
H A Ddtcompilerparser.l87 Comment \[[^\n\[\]]*\]
88 CommentField {LabelName}{WhiteSpace}*:{WhiteSpace}{Comment}?$
106 <INITIAL,DATA_STATE>{Comment} { DbgPrint(ASL_PARSE_OUTPUT,"Comment matched\n"); }
/netbsd-src/external/gpl2/rcs/dist/src/
H A Drcsfcmp.c283 for (ccnt=Comment.size; ccnt--; )
284 c1 += Comment.string[ccnt] == '\n';
295 ccnt = RCSversion<VERSION(5) ? Comment.size : leaderlen;
349 Comment.string = argv[1];
350 Comment.size = strlen(argv[1]);
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-refactor/
H A DTestSupport.cpp325 StringRef Comment = in findTestSelectionRanges() local
331 if (Comment.contains_lower("range") && Comment.contains("=") && in findTestSelectionRanges()
332 !Comment.contains_lower("run") && !Comment.contains("CHECK")) { in findTestSelectionRanges()
333 llvm::errs() << "error: suspicious comment '" << Comment in findTestSelectionRanges()
341 if (!RangeRegex.match(Comment, &Matches) || Comment.contains("CHECK")) { in findTestSelectionRanges()
/netbsd-src/external/gpl2/groff/dist/contrib/pdfmark/
H A DTODO26 * Comment added 2005-02-26 by Keith Marshall <keith.d.marshall@ntlworld.com>
38 * Comment added 2005-02-26 by Keith Marshall <keith.d.marshall@ntlworld.com>
49 * Comment added 2005-02-26 by Keith Marshall <keith.d.marshall@ntlworld.com>

12345678910>>...26