Home
last modified time | relevance | path

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

123456

/freebsd-13.1/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h277 clang_InlineCommandComment_getRenderKind(CXComment Comment);
285 unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment);
295 CXString clang_InlineCommandComment_getArgText(CXComment Comment,
312 unsigned clang_HTMLStartTagComment_isSelfClosing(CXComment Comment);
355 unsigned clang_BlockCommandComment_getNumArgs(CXComment Comment);
365 CXString clang_BlockCommandComment_getArgText(CXComment Comment,
375 CXComment clang_BlockCommandComment_getParagraph(CXComment Comment);
383 CXString clang_ParamCommandComment_getParamName(CXComment Comment);
401 unsigned clang_ParamCommandComment_getParamIndex(CXComment Comment);
455 unsigned clang_TParamCommandComment_getDepth(CXComment Comment);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp77 StringRef Comment(CommentText); in HandleComment() local
78 if (Comment.empty()) 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()
91 if (Position < Comment.size()) in HandleComment()
92 Comment = Comment.drop_front(Position); in HandleComment()
93 Regions.endRegion(Comment, Loc); in HandleComment()
103 if (Position < Comment.size()) in HandleComment()
104 Comment = Comment.drop_front(Position); in HandleComment()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h44 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument
45 AP.OutStreamer->AddComment(Comment); in emitInt8()
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
70 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() argument
94 Comments.push_back(Comment.str()); in emitInt8()
100 Comments.push_back(Comment.str()); in emitSLEB128()
108 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() 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);
385 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
415 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
H A DAsmPrinterDwarf.cpp202 const Twine &Comment) const { in emitDwarfUnitLength()
203 OutStreamer->emitDwarfUnitLength(Length, Comment); in emitDwarfUnitLength()
207 const Twine &Comment) const { in emitDwarfUnitLength()
208 return OutStreamer->emitDwarfUnitLength(Prefix, Comment); in emitDwarfUnitLength()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp103 emitComment(Comment); in mapByteVectorTail()
210 emitComment(Comment); in mapStringZ()
231 emitComment(Comment); in mapGuid()
256 emitComment(Comment); in mapStringZVectorZ()
284 emitComment(Comment); in emitEncodedSignedInteger()
289 emitComment(Comment); in emitEncodedSignedInteger()
294 emitComment(Comment); in emitEncodedSignedInteger()
299 emitComment(Comment); in emitEncodedSignedInteger()
308 emitComment(Comment); in emitEncodedUnsignedInteger()
313 emitComment(Comment); in emitEncodedUnsignedInteger()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h102 emitComment(Comment);
124 if (auto EC = mapInteger(X, Comment))
137 Error mapGuid(GUID &Guid, const Twine &Comment = "");
140 const Twine &Comment = "");
144 const Twine &Comment = "") {
148 emitComment(Comment);
181 const Twine &Comment = "") {
182 emitComment(Comment);
202 const Twine &Comment = "");
236 void emitComment(const Twine &Comment) { in emitComment() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DRawCommentList.cpp28 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()
47 if (Comment[1] != '*' || in getCommentKind()
48 Comment[Comment.size() - 2] != '*' || in getCommentKind()
49 Comment[Comment.size() - 1] != '/') in getCommentKind()
52 if (Comment[2] == '*') in getCommentKind()
59 const bool TrailingComment = (Comment.size() > 3) && (Comment[3] == '<'); in getCommentKind()
[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()
H A DCommentSema.cpp104 switch (Comment->getCommandID()) { in checkFunctionDeclVerbatimLine()
126 << Comment->getCommandMarker() in checkFunctionDeclVerbatimLine()
128 << Comment->getSourceRange(); in checkFunctionDeclVerbatimLine()
136 switch (Comment->getCommandID()) { in checkContainerDeclVerbatimLine()
165 << Comment->getCommandMarker() in checkContainerDeclVerbatimLine()
167 << Comment->getSourceRange(); in checkContainerDeclVerbatimLine()
170 void Sema::checkContainerDecl(const BlockCommandComment *Comment) { in checkContainerDecl() argument
175 switch (Comment->getCommandID()) { in checkContainerDecl()
214 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch) in checkContainerDecl()
215 << Comment->getCommandMarker() in checkContainerDecl()
[all …]
/freebsd-13.1/contrib/llvm-project/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;
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()
535 Comment(K, LocBegin, LocEnd) in BlockContentComment()
[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);
/freebsd-13.1/contrib/llvm-project/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>;
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp517 static MatchTableRecord Comment(StringRef Comment) { in Comment() function in __anon612774070111::MatchTable
1421 << MatchTable::Comment("RC") in emitPredicateOpcodes()
1666 std::string Comment; in emitPredicateOpcodes() local
1667 raw_string_ostream CommentOS(Comment); in emitPredicateOpcodes()
1920 << MatchTable::Comment("Expected") in emitPredicateOpcodes()
2235 << MatchTable::Comment("FnId") in emitPredicateOpcodes()
2472 << MatchTable::Comment("DefineMI") in emitCaptureOpcodes()
3005 << MatchTable::Comment("OpIdx") in emitRenderOpcodes()
3226 << MatchTable::Comment("TypeID") in emitActionOpcodes()
3506 << MatchTable::Comment("OtherMI") in emitPredicateOpcodes()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp102 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()
167 case Comment::VerbatimBlockCommentKind: in FullCommentParts()
179 case Comment::TextCommentKind: in FullCommentParts()
180 case Comment::InlineCommandCommentKind: in FullCommentParts()
181 case Comment::HTMLStartTagCommentKind: in FullCommentParts()
182 case Comment::HTMLEndTagCommentKind: in FullCommentParts()
[all …]
/freebsd-13.1/contrib/bc/tests/bc/
H A Dstdin.txt7 1 /* Comment with partial "string */ + 2
8 2 /* Comment with full "string" */ + 3
9 3 /* Comment with a # hash comment */ + 4
/freebsd-13.1/sys/contrib/dev/acpica/compiler/
H A Dcvcompiler.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 AslGbl_CommentListTail->Comment = ToAdd; in CvAddToCommentList()
H A Ddtcompilerparser.l195 Comment \[[^\n\[\]]*\]
196 CommentField {LabelName}{WhiteSpace}*:{WhiteSpace}{Comment}?$
214 <INITIAL,DATA_STATE>{Comment} { DbgPrint(ASL_PARSE_OUTPUT,"Comment matched\n"); }
H A Dcvdisasm.c197 if (Current->Comment) in CvPrintOneCommentList()
200 AcpiOsPrintf("%s\n", Current->Comment); in CvPrintOneCommentList()
201 Current->Comment = NULL; in CvPrintOneCommentList()
H A Dcvparser.c765 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
791 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
816 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
896 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); in CvCaptureCommentsOnly()
912 CommentNode->Comment); in CvCaptureCommentsOnly()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp345 if (const RawComment *Comment = in getAssociatedRange() local
353 if (SM.isBeforeInTranslationUnit(Comment->getBeginLoc(), in getAssociatedRange()
356 SM, skipWhitespaceAndNewline(SM, Comment->getEndLoc(), LangOpts), in getAssociatedRange()
359 const StringRef CommentText = Comment->getRawText(SM); in getAssociatedRange()
362 Range.setBegin(Comment->getBeginLoc()); in getAssociatedRange()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp369 const Twine &Comment = Twine());
370 void addComment(const Twine &Comment);
386 const Twine &Comment) { in add() argument
392 addComment(Comment); in add()
395 void Attributes::addComment(const Twine &Comment) { in addComment() argument
396 if (!Comment.isTriviallyEmpty()) { in addComment()
401 Comments += Comment.str(); in addComment()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h466 std::string Comment; variable
469 StringRef Comment = "")
471 Values(V.begin(), V.end()), Comment(Comment) { in Operation()
588 StringRef Comment = "") {
589 return MCCFIInstruction(OpEscape, L, 0, 0, Vals, Comment);
633 return Comment; in getComment()

123456