| /freebsd-14.2/contrib/llvm-project/clang/include/clang-c/ |
| H A D | Documentation.h | 278 clang_InlineCommandComment_getRenderKind(CXComment Comment); 286 unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment); 296 CXString clang_InlineCommandComment_getArgText(CXComment Comment, 313 unsigned clang_HTMLStartTagComment_isSelfClosing(CXComment Comment); 356 unsigned clang_BlockCommandComment_getNumArgs(CXComment Comment); 366 CXString clang_BlockCommandComment_getArgText(CXComment Comment, 376 CXComment clang_BlockCommandComment_getParagraph(CXComment Comment); 384 CXString clang_ParamCommandComment_getParamName(CXComment Comment); 402 unsigned clang_ParamCommandComment_getParamIndex(CXComment Comment); 456 unsigned clang_TParamCommandComment_getDepth(CXComment Comment); [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | CodeRegionGenerator.cpp | 79 StringRef Comment(CommentText); in HandleComment() local 80 if (Comment.empty()) in HandleComment() 85 if (Position >= Comment.size()) in HandleComment() 89 Comment = Comment.drop_front(Position); in HandleComment() 94 Comment = Comment.drop_front(Position); in HandleComment() 105 if (Position < Comment.size()) in HandleComment() 106 Comment = Comment.drop_front(Position); in HandleComment() 114 StringRef Comment(CommentText); in HandleComment() local 115 if (Comment.empty()) in HandleComment() 123 Comment = Comment.drop_front(Position); in HandleComment() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | GlobalISelMatchTable.cpp | 208 MatchTableRecord MatchTable::Comment(StringRef Comment) { in Comment() function in llvm::gi::MatchTable 633 << MatchTable::Comment("Op") in emitPredicateSpecificOpcodes() 1216 << MatchTable::Comment("RC") in emitPredicateOpcodes() 1320 std::string Comment; in emitPredicateOpcodes() local 1327 Table << MatchTable::Comment(Comment) << MatchTable::LineBreak; in emitPredicateOpcodes() 1545 << MatchTable::Comment("MMO") in emitPredicateOpcodes() 1827 << MatchTable::Comment("OpIdx") in emitRenderOpcodes() 1842 << MatchTable::Comment("OpIdx") in emitRenderOpcodes() 1858 << MatchTable::Comment("OpIdx") in emitRenderOpcodes() 1909 << MatchTable::Comment("OpIdx") in emitRenderOpcodes() [all …]
|
| H A D | GlobalISelMatchTableExecutorEmitter.h | 84 StringRef Comment) { in emitCxxPredicateFns() argument 85 if (!Comment.empty()) in emitCxxPredicateFns() 86 OS << "// " << Comment << "\n"; in emitCxxPredicateFns() 140 StringRef Comment = "") { 143 AdditionalDecls, Predicates, GetPredEnumName, GetPredCode, Comment); 165 StringRef Comment = "") { 168 Comment);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | ByteStreamer.h | 45 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument 46 AP.OutStreamer->AddComment(Comment); in emitInt8() 50 AP.OutStreamer->AddComment(Comment); in emitSLEB128() 53 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() argument 55 AP.OutStreamer->AddComment(Comment); in emitULEB128() 80 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() argument 105 void emitInt8(uint8_t Byte, const Twine &Comment) override { in emitInt8() argument 108 Comments.push_back(Comment.str()); in emitInt8() 114 Comments.push_back(Comment.str()); in emitSLEB128() 122 void emitULEB128(uint64_t DWord, const Twine &Comment, in emitULEB128() argument [all …]
|
| H A D | DwarfExpression.h | 111 const char *Comment; member 114 static Register createRegister(int RegNo, const char *Comment) { in createRegister() 115 return {RegNo, 0, Comment}; in createRegister() 120 const char *Comment) { in createSubRegister() 121 return {RegNo, SizeInBits, Comment}; in createSubRegister() 187 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0; 225 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;
|
| H A D | AsmPrinterDwarf.cpp | 176 const Twine &Comment) const { in emitDwarfUnitLength() 177 OutStreamer->emitDwarfUnitLength(Length, Comment); in emitDwarfUnitLength() 181 const Twine &Comment) const { in emitDwarfUnitLength() 182 return OutStreamer->emitDwarfUnitLength(Prefix, Comment); in emitDwarfUnitLength()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | API.cpp | 75 const DocComment &Comment, DeclarationFragments Declaration, in addGlobalVariableTemplate() argument 87 const DocComment &Comment, DeclarationFragments Fragments, in addGlobalFunction() argument 138 const DocComment &Comment, in addEnum() argument 149 AvailabilityInfo Availability, const DocComment &Comment, in addRecordField() argument 163 const DocComment &Comment, in addRecord() argument 176 const DocComment &Comment, in addStaticField() argument 202 AvailabilityInfo Availability, const DocComment &Comment, in addCXXFieldTemplate() argument 232 AvailabilityInfo Availability, const DocComment &Comment, in addClassTemplate() argument 247 AvailabilityInfo Availability, const DocComment &Comment, in addClassTemplateSpecialization() argument 304 const DocComment &Comment, in addConcept() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | API.h | 232 DocComment Comment; member 266 Comment(Comment), Declaration(Declaration), SubHeading(SubHeading), in APIRecord() 296 const DocComment &Comment, in GlobalFunctionRecord() 365 const DocComment &Comment, in GlobalVariableRecord() 558 const DocComment &Comment, in CXXFieldTemplateRecord() 630 const DocComment &Comment, in CXXStaticMethodRecord() 649 const DocComment &Comment, in CXXInstanceMethodRecord() 671 const DocComment &Comment, in CXXMethodTemplateRecord() 718 const DocComment &Comment, in ObjCPropertyRecord() 843 const DocComment &Comment, in ObjCClassMethodRecord() [all …]
|
| H A D | ExtractAPIVisitor.h | 258 DocComment Comment; in VisitVarDecl() local 328 DocComment Comment; in VisitFunctionDecl() local 342 Comment, in VisitFunctionDecl() 374 DocComment Comment; in VisitEnumDecl() local 489 DocComment Comment; in VisitNamespaceDecl() local 522 DocComment Comment; in VisitRecordDecl() local 564 DocComment Comment; in VisitCXXRecordDecl() local 620 DocComment Comment; in VisitCXXMethodDecl() local 681 DocComment Comment; in VisitCXXConstructorDecl() local 713 DocComment Comment; in VisitCXXDestructorDecl() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | CodeViewRecordIO.cpp | 106 emitComment(Comment); in mapByteVectorTail() 213 emitComment(Comment); in mapStringZ() 234 emitComment(Comment); in mapGuid() 259 emitComment(Comment); in mapStringZVectorZ() 286 emitComment(Comment); in emitEncodedSignedInteger() 292 emitComment(Comment); in emitEncodedSignedInteger() 298 emitComment(Comment); in emitEncodedSignedInteger() 304 emitComment(Comment); in emitEncodedSignedInteger() 309 emitComment(Comment); in emitEncodedSignedInteger() 318 emitComment(Comment); in emitEncodedUnsignedInteger() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | CodeViewRecordIO.h | 102 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-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | RawCommentList.cpp | 29 if ((Comment.size() < MinCommentLength) || Comment[0] != '/') in getCommentKind() 33 if (Comment[1] == '/') { in getCommentKind() 34 if (Comment.size() < 3) in getCommentKind() 37 if (Comment[2] == '/') in getCommentKind() 39 else if (Comment[2] == '!') in getCommentKind() 48 if (Comment[1] != '*' || in getCommentKind() 49 Comment[Comment.size() - 2] != '*' || in getCommentKind() 50 Comment[Comment.size() - 1] != '/') in getCommentKind() 53 if (Comment[2] == '*') in getCommentKind() 60 const bool TrailingComment = (Comment.size() > 3) && (Comment[3] == '<'); in getCommentKind() [all …]
|
| H A D | CommentSema.cpp | 104 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() 175 switch (Comment->getCommandID()) { in checkContainerDecl() 215 << Comment->getCommandMarker() in checkContainerDecl() 217 << Comment->getSourceRange(); in checkContainerDecl() 270 Comment::Argument{SourceRange(ArgLocBegin, ArgLocEnd), Arg}; in actOnParamCommandParamNameArg() [all …]
|
| H A D | Comment.cpp | 35 const char *Comment::getCommentKindName() const { in getCommentKindName() 55 good implements_child_begin_end(Comment::child_iterator (T::*)() const) { in implements_child_begin_end() 61 Comment::child_iterator (Comment::*)() const) { in implements_child_begin_end() 83 Comment::child_iterator Comment::child_begin() const { in child_begin() 98 Comment::child_iterator Comment::child_end() const { in child_end()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Comment.h | 65 class Comment { 74 friend class Comment; variable 226 Comment(CommentKind K, 251 typedef Comment * const *child_iterator; 270 Comment(K, LocBegin, LocEnd) { 275 static bool classof(const Comment *C) { 301 static bool classof(const Comment *C) { 351 static bool classof(const Comment *C) { 410 static bool classof(const Comment *C) { 543 Comment(K, LocBegin, LocEnd) [all …]
|
| H A D | CommentSema.h | 134 ArrayRef<Comment::Argument> Args); 187 void checkDeprecatedCommand(const BlockCommandComment *Comment); 189 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment); 191 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment); 193 void checkContainerDecl(const BlockCommandComment *Comment);
|
| H A D | CommentVisitor.h | 27 RetTy visit(PTR(Comment) C, ParamTys... P) { in visit() 52 RetTy visitComment(PTR(Comment) C, ParamTys... P) { return RetTy(); } in visitComment()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | CommentNodes.td | 8 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-14.2/contrib/bc/tests/bc/ |
| H A D | stdin.txt | 7 1 /* Comment with partial "string */ + 2 8 2 /* Comment with full "string" */ + 3 9 3 /* Comment with a # hash comment */ + 4
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Format/ |
| H A D | NamespaceEndCommentsFixer.cpp | 167 const FormatToken *Comment = RBraceTok->Next; in validEndComment() local 182 NamespaceMacroCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment() 188 !NamespaceCommentPattern.match(Comment->TokenText, &Groups)) { in validEndComment() 206 if (!(Comment->Next && Comment->Next->is(TT_LineComment))) in validEndComment() 213 if (!CommentPattern.match(Comment->Next->TokenText, &Groups)) in validEndComment() 236 const FormatToken *Comment = RBraceTok->Next; in updateEndComment() local 237 auto Range = CharSourceRange::getCharRange(Comment->getStartOfNonWhitespace(), in updateEndComment() 238 Comment->Tok.getEndLoc()); in updateEndComment()
|
| /freebsd-14.2/sys/contrib/dev/acpica/compiler/ |
| H A D | cvcompiler.c | 422 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 D | dtcompilerparser.l | 195 Comment \[[^\n\[\]]*\] 196 CommentField {LabelName}{WhiteSpace}*:{WhiteSpace}{Comment}?$ 214 <INITIAL,DATA_STATE>{Comment} { DbgPrint(ASL_PARSE_OUTPUT,"Comment matched\n"); }
|
| H A D | cvdisasm.c | 197 if (Current->Comment) in CvPrintOneCommentList() 200 AcpiOsPrintf("%s\n", Current->Comment); in CvPrintOneCommentList() 201 Current->Comment = NULL; in CvPrintOneCommentList()
|
| H A D | cvparser.c | 765 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()
|