Home
last modified time | relevance | path

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

1234567

/freebsd-12.1/contrib/llvm/tools/clang/include/clang-c/
H A DDocumentation.h273 clang_InlineCommandComment_getRenderKind(CXComment Comment);
281 unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment);
291 CXString clang_InlineCommandComment_getArgText(CXComment Comment,
308 unsigned clang_HTMLStartTagComment_isSelfClosing(CXComment Comment);
351 unsigned clang_BlockCommandComment_getNumArgs(CXComment Comment);
361 CXString clang_BlockCommandComment_getArgText(CXComment Comment,
371 CXComment clang_BlockCommandComment_getParagraph(CXComment Comment);
379 CXString clang_ParamCommandComment_getParamName(CXComment Comment);
397 unsigned clang_ParamCommandComment_getParamIndex(CXComment Comment);
451 unsigned clang_TParamCommandComment_getDepth(CXComment Comment);
[all …]
/freebsd-12.1/contrib/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()
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) override { in EmitULEB128() argument
53 AP.OutStreamer->AddComment(Comment); in EmitULEB128()
63 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8() argument
89 void EmitInt8(uint8_t Byte, const Twine &Comment) override { in EmitInt8() argument
92 Comments.push_back(Comment.str()); in EmitInt8()
98 Comments.push_back(Comment.str()); in EmitSLEB128()
[all …]
H A DDwarfExpression.h105 const char *Comment; member
133 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0;
150 void addReg(int DwarfReg, const char *Comment = nullptr);
257 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
274 void emitOp(uint8_t Op, const char *Comment = nullptr) override;
H A DDwarfExpression.cpp41 void DwarfExpression::addReg(int DwarfReg, const char *Comment) { in addReg() argument
47 emitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); in addReg()
49 emitOp(dwarf::DW_OP_regx, Comment); in addReg()
248 addReg(Reg.DwarfRegNo, Reg.Comment); in addMachineRegExpression()
H A DWinException.cpp543 auto AddComment = [&](const Twine &Comment) { in emitCSpecificHandlerTable() argument
545 OS.AddComment(Comment); in emitCSpecificHandlerTable()
609 auto AddComment = [&](const Twine &Comment) { in emitSEHActionsForRange() argument
611 OS.AddComment(Comment); in emitSEHActionsForRange()
684 auto AddComment = [&](const Twine &Comment) { in emitCXXFrameHandler3Table() argument
686 OS.AddComment(Comment); in emitCXXFrameHandler3Table()
964 auto AddComment = [&](const Twine &Comment) { in emitExceptHandlerTable() argument
966 OS.AddComment(Comment); in emitExceptHandlerTable()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A DCodeRegionGenerator.cpp79 StringRef Comment(CommentText); in HandleComment() local
80 if (Comment.empty()) in HandleComment()
84 unsigned Position = Comment.find_first_not_of(" \t"); in HandleComment()
85 if (Position >= Comment.size()) in HandleComment()
89 Comment = Comment.drop_front(Position); in HandleComment()
90 if (Comment.consume_front("LLVM-MCA-END")) { in HandleComment()
96 if (!Comment.consume_front("LLVM-MCA-BEGIN")) in HandleComment()
100 Position = Comment.find_first_not_of(" \t"); in HandleComment()
101 if (Position < Comment.size()) in HandleComment()
102 Comment = Comment.drop_front(Position); in HandleComment()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DCommentNodes.td1 class Comment<bit abstract = 0> {
5 class DComment<Comment base, bit abstract = 0> : Comment<abstract> {
6 Comment Base = base;
9 def InlineContentComment : Comment<1>;
16 def BlockContentComment : Comment<1>;
24 def VerbatimBlockLineComment : Comment;
26 def FullComment : Comment;
/freebsd-12.1/contrib/llvm/tools/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 DCommentSema.cpp104 switch (Comment->getCommandID()) { in checkFunctionDeclVerbatimLine()
126 << Comment->getCommandMarker() in checkFunctionDeclVerbatimLine()
128 << Comment->getSourceRange(); in checkFunctionDeclVerbatimLine()
136 switch (Comment->getCommandID()) { in checkContainerDeclVerbatimLine()
163 << Comment->getCommandMarker() in checkContainerDeclVerbatimLine()
165 << Comment->getSourceRange(); in checkContainerDeclVerbatimLine()
168 void Sema::checkContainerDecl(const BlockCommandComment *Comment) { in checkContainerDecl() argument
173 switch (Comment->getCommandID()) { in checkContainerDecl()
212 Diag(Comment->getLocation(), diag::warn_doc_container_decl_mismatch) in checkContainerDecl()
213 << Comment->getCommandMarker() in checkContainerDecl()
[all …]
H A DComment.cpp21 const char *Comment::getCommentKindName() const { in getCommentKindName()
40 good implements_child_begin_end(Comment::child_iterator (T::*)() const) { in implements_child_begin_end()
46 Comment::child_iterator (Comment::*)() const) { in implements_child_begin_end()
68 Comment::child_iterator Comment::child_begin() const { in child_begin()
82 Comment::child_iterator Comment::child_end() const { in child_end()
H A DASTDumper.cpp315 void dumpComment(const Comment *C, const FullComment *FC);
512 if (const FullComment *Comment = in dumpDecl() local
514 dumpComment(Comment, Comment); in dumpDecl()
1527 void ASTDumper::dumpComment(const Comment *C, const FullComment *FC) { in dumpComment()
1534 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); in dumpComment()
1636 LLVM_DUMP_METHOD void Comment::dump() const { in dump()
1640 LLVM_DUMP_METHOD void Comment::dump(const ASTContext &Context) const { in dump()
1645 void Comment::dump(raw_ostream &OS, const CommandTraits *Traits, in dump()
1654 LLVM_DUMP_METHOD void Comment::dumpColor() const { in dumpColor()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DComment.h53 class Comment {
62 friend class Comment; variable
197 Comment(CommentKind K, in Comment() function
224 typedef Comment * const *child_iterator;
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()
333 static bool classof(const Comment *C) { in classof()
391 static bool classof(const Comment *C) { in classof()
536 Comment(K, LocBegin, LocEnd) in BlockContentComment()
[all …]
H A DCommentVisitor.h28 RetTy visit(PTR(Comment) C, ParamTys... P) { in visit()
36 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS); in visit()
52 RetTy visitComment(PTR(Comment) C, ParamTys... P) { return RetTy(); } in visitComment()
H A DCommentSema.h193 void checkDeprecatedCommand(const BlockCommandComment *Comment);
195 void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment);
197 void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment);
199 void checkContainerDecl(const BlockCommandComment *Comment);
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp469 static MatchTableRecord Comment(StringRef Comment) { in Comment() function in __anon7e76e5f80111::MatchTable
1273 << MatchTable::Comment("RC") in emitPredicateOpcodes()
1437 std::string Comment; in emitPredicateOpcodes() local
1438 raw_string_ostream CommentOS(Comment); in emitPredicateOpcodes()
1644 << MatchTable::Comment("Expected") in emitPredicateOpcodes()
1853 << MatchTable::Comment("FnId") in emitPredicateOpcodes()
2056 << MatchTable::Comment("DefineMI") in emitCaptureOpcodes()
2469 << MatchTable::Comment("Renderer") in emitRenderOpcodes()
2686 << MatchTable::Comment("TypeID") in emitActionOpcodes()
2947 << MatchTable::Comment("OtherMI") in emitPredicateOpcodes()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCommentToXML.cpp101 const Comment *Child = *I; in FullCommentParts()
105 case Comment::NoCommentKind: in FullCommentParts()
108 case Comment::ParagraphCommentKind: { in FullCommentParts()
119 case Comment::BlockCommandCommentKind: { in FullCommentParts()
142 case Comment::ParamCommandCommentKind: { in FullCommentParts()
166 case Comment::VerbatimBlockCommentKind: in FullCommentParts()
178 case Comment::TextCommentKind: in FullCommentParts()
179 case Comment::InlineCommandCommentKind: in FullCommentParts()
180 case Comment::HTMLStartTagCommentKind: in FullCommentParts()
181 case Comment::HTMLEndTagCommentKind: in FullCommentParts()
[all …]
/freebsd-12.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 Dcvdisasm.c197 if (Current->Comment) in CvPrintOneCommentList()
200 AcpiOsPrintf("%s\n", Current->Comment); in CvPrintOneCommentList()
201 Current->Comment = NULL; in CvPrintOneCommentList()
H A Dcvparser.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-12.1/contrib/llvm/tools/clang/lib/Format/
H A DNamespaceEndCommentsFixer.cpp62 const FormatToken *Comment = RBraceTok->Next; in validEndComment() local
71 if (NamespaceCommentPattern->match(Comment->TokenText, &Groups)) { in validEndComment()
101 const FormatToken *Comment = RBraceTok->Next; in updateEndComment() local
102 auto Range = CharSourceRange::getCharRange(Comment->getStartOfNonWhitespace(), in updateEndComment()
103 Comment->Tok.getEndLoc()); in updateEndComment()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSubtargetInfo.cpp72 std::string Comment; in createSchedInfoStr() local
73 raw_string_ostream CS(Comment); in createSchedInfoStr()
80 return Comment; in createSchedInfoStr()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DModuleSummaryIndex.cpp201 const Twine &Comment = Twine());
202 void addComment(const Twine &Comment);
218 const Twine &Comment) { in add() argument
224 addComment(Comment); in add()
227 void Attributes::addComment(const Twine &Comment) { in addComment() argument
228 if (!Comment.isTriviallyEmpty()) { in addComment()
233 Comments += Comment.str(); in addComment()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp67 WithColor(Printer, PDB_ColorItem::Comment).get() in start()
143 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
151 WithColor(Printer, PDB_ColorItem::Comment).get() in dump()
/freebsd-12.1/contrib/ntp/sntp/tests/data/
H A Dkey-test-comments3 10 MD5 010101010101010101010101010101 #Comment after hex key.
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp606 SourceRange Comment) { in HandleComment() argument
613 SourceLocation CommentBegin = Comment.getBegin(); in HandleComment()
616 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
685 std::string Comment = RawLex.getSpelling(Tok, SM, LangOpts); in findDirectives() local
686 if (Comment.empty()) continue; in findDirectives()
689 if (ParseDirective(Comment, nullptr, SM, nullptr, Tok.getLocation(), in findDirectives()

1234567