Home
last modified time | relevance | path

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

12345678

/freebsd-11-stable/contrib/llvm-project/clang/include/clang-c/
HDDocumentation.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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/
HDCodeRegionGenerator.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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
HDByteStreamer.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 = "", unsigned PadTo = 0) = 0;
43 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8() argument
44 AP.OutStreamer->AddComment(Comment); in EmitInt8()
47 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override { in EmitSLEB128() argument
48 AP.OutStreamer->AddComment(Comment); in EmitSLEB128()
51 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override { in EmitULEB128() argument
52 AP.OutStreamer->AddComment(Comment); in EmitULEB128()
62 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8() argument
[all …]
HDDwarfExpression.h111 const char *Comment; member
179 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0;
216 void addReg(int DwarfReg, const char *Comment = nullptr);
364 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
393 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
HDCodeViewRecordIO.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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
HDCodeViewRecordIO.h66 Error mapInteger(TypeIndex &TypeInd, const Twine &Comment = "");
99 template <typename T> Error mapInteger(T &Value, const Twine &Comment = "") {
101 emitComment(Comment);
113 template <typename T> Error mapEnum(T &Value, const Twine &Comment = "") {
123 if (auto EC = mapInteger(X, Comment))
132 Error mapEncodedInteger(int64_t &Value, const Twine &Comment = "");
133 Error mapEncodedInteger(uint64_t &Value, const Twine &Comment = "");
134 Error mapEncodedInteger(APSInt &Value, const Twine &Comment = "");
135 Error mapStringZ(StringRef &Value, const Twine &Comment = "");
136 Error mapGuid(GUID &Guid, const Twine &Comment = "");
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDRawCommentList.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 …]
HDComment.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()
HDCommentSema.cpp97 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) { in checkFunctionDeclVerbatimLine() argument
98 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkFunctionDeclVerbatimLine()
103 switch (Comment->getCommandID()) { in checkFunctionDeclVerbatimLine()
124 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch) in checkFunctionDeclVerbatimLine()
125 << Comment->getCommandMarker() in checkFunctionDeclVerbatimLine()
127 << Comment->getSourceRange(); in checkFunctionDeclVerbatimLine()
130 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) { in checkContainerDeclVerbatimLine() argument
131 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); in checkContainerDeclVerbatimLine()
135 switch (Comment->getCommandID()) { in checkContainerDeclVerbatimLine()
141 if (DiagSelect && Comment->getCommandMarker() && isObjCInterfaceDecl()) in checkContainerDeclVerbatimLine()
[all …]
HDASTDumper.cpp257 LLVM_DUMP_METHOD void Comment::dump() const { in dump()
261 LLVM_DUMP_METHOD void Comment::dump(const ASTContext &Context) const { in dump()
266 void Comment::dump(raw_ostream &OS, const CommandTraits *Traits, in dump()
275 LLVM_DUMP_METHOD void Comment::dumpColor() const { in dumpColor()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDComment.h52 class Comment {
61 friend class Comment; variable
197 Comment(CommentKind K, in Comment() function
224 typedef Comment * const *child_iterator;
238 class InlineContentComment : public Comment {
243 Comment(K, LocBegin, LocEnd) { in InlineContentComment()
248 static bool classof(const Comment *C) { in classof()
275 static bool classof(const Comment *C) { in classof()
334 static bool classof(const Comment *C) { in classof()
392 static bool classof(const Comment *C) { in classof()
[all …]
HDCommentVisitor.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()
HDCommentSema.h192 void checkDeprecatedCommand(const BlockCommandComment *Comment);
194 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment);
196 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment);
198 void checkContainerDecl(const BlockCommandComment *Comment);
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
HDGlobalISelEmitter.cpp498 static MatchTableRecord Comment(StringRef Comment) { in Comment() argument
499 return MatchTableRecord(None, Comment, 0, MatchTableRecord::MTRF_Comment); in Comment()
1039 Table << MatchTable::Comment(getNoPredicateComment()) in emitPredicateListOpcodes()
1216 Table << MatchTable::Opcode("GIM_CheckType") << MatchTable::Comment("MI") in emitPredicateOpcodes()
1217 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes()
1218 << MatchTable::IntValue(OpIdx) << MatchTable::Comment("Type") in emitPredicateOpcodes()
1252 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
1253 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes()
1254 << MatchTable::Comment("SizeInBits") in emitPredicateOpcodes()
1284 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDCommentNodes.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>;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
HDCommentToXML.cpp98 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); in FullCommentParts()
100 const Comment *Child = *I; in FullCommentParts()
104 case Comment::NoCommentKind: in FullCommentParts()
107 case Comment::ParagraphCommentKind: { in FullCommentParts()
118 case Comment::BlockCommandCommentKind: { in FullCommentParts()
141 case Comment::ParamCommandCommentKind: { in FullCommentParts()
153 case Comment::TParamCommandCommentKind: { in FullCommentParts()
165 case Comment::VerbatimBlockCommentKind: in FullCommentParts()
169 case Comment::VerbatimLineCommentKind: { in FullCommentParts()
177 case Comment::TextCommentKind: in FullCommentParts()
[all …]
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
HDcvcompiler.c422 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
424 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
435 CommentLength = strlen (Current->Comment)+3; in CvCalculateCommentLengths()
437 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); in CvCalculateCommentLengths()
539 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlDefBlockComment()
540 CvDbgPrint ("Printing comment: %s\n", Current->Comment); in CgWriteAmlDefBlockComment()
670 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
680 CgWriteOneAmlComment(Op, Current->Comment, CommentOption); in CgWriteAmlComment()
909 Gbl_CommentListTail->Comment = ToAdd; in CvAddToCommentList()
HDcvdisasm.c197 if (Current->Comment) in CvPrintOneCommentList()
200 AcpiOsPrintf("%s\n", Current->Comment); in CvPrintOneCommentList()
201 Current->Comment = NULL; in CvPrintOneCommentList()
HDcvparser.c761 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
787 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
812 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
892 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
908 CommentNode->Comment); in CvCaptureCommentsOnly()
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
HDrcsfcmp.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]);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
HDNamespaceEndCommentsFixer.cpp91 const FormatToken *Comment = RBraceTok->Next; in validEndComment() local
106 NamespaceMacroCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment()
112 !NamespaceCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment()
143 const FormatToken *Comment = RBraceTok->Next; in updateEndComment() local
144 auto Range = CharSourceRange::getCharRange(Comment->getStartOfNonWhitespace(), in updateEndComment()
145 Comment->Tok.getEndLoc()); in updateEndComment()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDModuleSummaryIndex.cpp261 const Twine &Comment = Twine());
262 void addComment(const Twine &Comment);
278 const Twine &Comment) { in add() argument
284 addComment(Comment); in add()
287 void Attributes::addComment(const Twine &Comment) { in addComment() argument
288 if (!Comment.isTriviallyEmpty()) { in addComment()
293 Comments += Comment.str(); in addComment()
/freebsd-11-stable/contrib/groff/contrib/pdfmark/
HDTODO26 * 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>
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
HDPrettyCompilandDumper.cpp66 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
142 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
150 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
/freebsd-11-stable/contrib/file/magic/Magdir/
HDssh36 # next line says "Comment: " plus the comment string
37 >>>&0 search/3 Comment:\040

12345678