| /freebsd-12-stable/contrib/llvm-project/clang/include/clang-c/ |
| D | Documentation.h | 217 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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| D | ByteStreamer.h | 32 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 …]
|
| D | DwarfExpression.h | 112 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;
|
| D | AsmPrinterDwarf.cpp | 202 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-12-stable/contrib/llvm-project/llvm/tools/llvm-mca/ |
| D | CodeRegionGenerator.cpp | 77 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-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
| D | CodeViewRecordIO.cpp | 101 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-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| D | CodeViewRecordIO.h | 67 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | RawCommentList.cpp | 25 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 …]
|
| D | Comment.cpp | 35 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()
|
| D | CommentSema.cpp | 98 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
| D | Comment.h | 52 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 …]
|
| D | CommentVisitor.h | 27 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()
|
| D | CommentSema.h | 192 void checkDeprecatedCommand(const BlockCommandComment *Comment); 194 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment); 196 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment); 198 void checkContainerDecl(const BlockCommandComment *Comment);
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| 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-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
| D | GlobalISelEmitter.cpp | 517 static MatchTableRecord Comment(StringRef Comment) { in Comment() argument 518 return MatchTableRecord(None, Comment, 0, MatchTableRecord::MTRF_Comment); in Comment() 1070 Table << MatchTable::Comment(getNoPredicateComment()) in emitPredicateListOpcodes() 1090 Table << MatchTable::Comment(getNoPredicateComment()) in emitFilteredPredicateListOpcodes() 1278 Table << MatchTable::Opcode("GIM_CheckType") << MatchTable::Comment("MI") in emitPredicateOpcodes() 1279 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") in emitPredicateOpcodes() 1280 << MatchTable::IntValue(OpIdx) << MatchTable::Comment("Type") in emitPredicateOpcodes() 1319 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) in emitPredicateOpcodes() 1320 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) in emitPredicateOpcodes() 1321 << MatchTable::Comment("SizeInBits") in emitPredicateOpcodes() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Format/ |
| D | NamespaceEndCommentsFixer.cpp | 89 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-12-stable/contrib/llvm-project/clang/lib/Index/ |
| D | CommentToXML.cpp | 100 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 …]
|
| /freebsd-12-stable/contrib/bc/tests/bc/ |
| 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-12-stable/sys/contrib/dev/acpica/compiler/ |
| 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()
|
| D | dtcompilerparser.l | 195 Comment \[[^\n\[\]]*\] 196 CommentField {LabelName}{WhiteSpace}*:{WhiteSpace}{Comment}?$ 214 <INITIAL,DATA_STATE>{Comment} { DbgPrint(ASL_PARSE_OUTPUT,"Comment matched\n"); }
|
| D | cvdisasm.c | 197 if (Current->Comment) in CvPrintOneCommentList() 200 AcpiOsPrintf("%s\n", Current->Comment); in CvPrintOneCommentList() 201 Current->Comment = NULL; in CvPrintOneCommentList()
|
| 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()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| D | SourceCode.cpp | 345 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-12-stable/contrib/llvm-project/llvm/lib/IR/ |
| D | ModuleSummaryIndex.cpp | 369 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-12-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
| D | MCDwarf.h | 466 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()
|