/freebsd-12-stable/contrib/llvm-project/clang/include/clang-c/ |
H A D | Documentation.h | 24 * \defgroup CINDEX_COMMENT Comment introspection 213 * \param Comment AST node of any kind. 217 CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment); 220 * \param Comment AST node of any kind. 224 CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment); 227 * \param Comment AST node of any kind. 234 CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx); 243 * \returns non-zero if \c Comment is whitespace. 245 CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment); 248 * \returns non-zero if \c Comment i [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A 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 = "", unsigned PadTo = 0) = 0; 43 void EmitInt8(uint8_t Byte, const Twine &Comment) override { 44 AP.OutStreamer->AddComment(Comment); 47 void EmitSLEB128(uint64_t DWord, const Twine &Comment) override { 48 AP.OutStreamer->AddComment(Comment); 51 void EmitULEB128(uint64_t DWord, const Twine &Comment, unsigned PadTo) override { 52 AP.OutStreamer->AddComment(Comment); 62 void EmitInt8(uint8_t Byte, const Twine &Comment) overrid [all...] |
H A D | DwarfExpression.h | 111 const char *Comment; member in struct:llvm::DwarfExpression::Register 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;
|
H A D | DwarfExpression.cpp | 42 void DwarfExpression::addReg(int DwarfReg, const char *Comment) { argument 48 emitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); 50 emitOp(dwarf::DW_OP_regx, Comment); 251 addReg(Reg.DwarfRegNo, Reg.Comment);
|
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-mca/ |
H A D | CodeRegionGenerator.cpp | 77 StringRef Comment(CommentText); 78 if (Comment.empty()) 82 unsigned Position = Comment.find_first_not_of(" \t"); 83 if (Position >= Comment.size()) 87 Comment = Comment.drop_front(Position); 88 if (Comment.consume_front("LLVM-MCA-END")) { 90 Position = Comment.find_first_not_of(" \t"); 91 if (Position < Comment.size()) 92 Comment [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | CodeViewRecordIO.h | 66 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 235 emitComment(const Twine &Comment) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | CodeViewRecordIO.cpp | 101 const Twine &Comment) { 103 emitComment(Comment); 117 const Twine &Comment) { 119 if (auto EC = mapByteVectorTail(BytesRef, Comment)) 127 Error CodeViewRecordIO::mapInteger(TypeIndex &TypeInd, const Twine &Comment) { argument 131 emitComment(Comment + ": " + TypeNameStr); 133 emitComment(Comment); 149 const Twine &Comment) { 152 emitEncodedUnsignedInteger(static_cast<uint64_t>(Value), Comment); local 154 emitEncodedSignedInteger(Value, Comment); 100 mapByteVectorTail(ArrayRef<uint8_t> &Bytes, const Twine &Comment) argument 116 mapByteVectorTail(std::vector<uint8_t> &Bytes, const Twine &Comment) argument 148 mapEncodedInteger(int64_t &Value, const Twine &Comment) argument 173 mapEncodedInteger(uint64_t &Value, const Twine &Comment) argument 189 mapEncodedInteger(APSInt &Value, const Twine &Comment) argument 204 mapStringZ(StringRef &Value, const Twine &Comment) argument 222 mapGuid(GUID &Guid, const Twine &Comment) argument 249 mapStringZVectorZ(std::vector<StringRef> &Value, const Twine &Comment) argument 274 emitEncodedSignedInteger(const int64_t &Value, const Twine &Comment) argument 300 emitEncodedUnsignedInteger(const uint64_t &Value, const Twine &Comment) argument [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | RawCommentList.cpp | 11 #include "clang/AST/Comment.h" 24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment, argument 27 if ((Comment.size() < MinCommentLength) || Comment[0] != '/') 31 if (Comment[1] == '/') { 32 if (Comment.size() < 3) 35 if (Comment[2] == '/') 37 else if (Comment[2] == '!') 42 assert(Comment.size() >= 4); 44 // Comment lexe 62 mergedCommentIsTrailingComment(StringRef Comment) argument [all...] |
H A D | Comment.cpp | 1 //===--- Comment.cpp - Comment AST node implementation --------------------===// 9 #include "clang/AST/Comment.h" 35 const char *Comment::getCommentKindName() const { 54 good implements_child_begin_end(Comment::child_iterator (T::*)() const) { 60 Comment::child_iterator (Comment::*)() const) { 82 Comment::child_iterator Comment::child_begin() const { 96 Comment [all...] |
H A D | CommentSema.cpp | 97 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) { argument 98 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); 103 switch (Comment->getCommandID()) { 124 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch) 125 << Comment->getCommandMarker() 127 << Comment->getSourceRange(); 130 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) { argument 131 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID()); 135 switch (Comment->getCommandID()) { 141 if (DiagSelect && Comment 167 checkContainerDecl(const BlockCommandComment *Comment) argument [all...] |
H A D | ASTDumper.cpp | 254 // Comment method implementations 257 LLVM_DUMP_METHOD void Comment::dump() const { 261 LLVM_DUMP_METHOD void Comment::dump(const ASTContext &Context) const { 266 void Comment::dump(raw_ostream &OS, const CommandTraits *Traits, 275 LLVM_DUMP_METHOD void Comment::dumpColor() const {
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | CommentToXML.cpp | 12 #include "clang/AST/Comment.h" 98 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); 100 const Comment *Child = *I; 104 case Comment::NoCommentKind: 107 case Comment::ParagraphCommentKind: { 118 case Comment::BlockCommandCommentKind: { 141 case Comment::ParamCommandCommentKind: { 153 case Comment::TParamCommandCommentKind: { 165 case Comment::VerbatimBlockCommentKind: 169 case Comment [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CommentVisitor.h | 1 //===- CommentVisitor.h - Visitor for Comment subclasses --------*- C++ -*-===// 12 #include "clang/AST/Comment.h" 27 RetTy visit(PTR(Comment) C, ParamTys... P) { 35 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS); 51 RetTy visitComment(PTR(Comment) C, ParamTys... P) { return RetTy(); }
|
H A D | Comment.h | 1 //===--- Comment.h - Comment AST nodes --------------------------*- C++ -*-===// 52 class Comment { class in namespace:clang::comments 61 friend class Comment; 197 Comment(CommentKind K, function in class:clang::comments::Comment 224 typedef Comment * const *child_iterator; 238 class InlineContentComment : public Comment { 243 Comment(K, LocBegin, LocEnd) { 248 static bool classof(const Comment *C) { 275 static bool classof(const Comment * [all...] |
H A D | CommentSema.h | 16 #include "clang/AST/Comment.h" 51 /// Comment AST nodes that correspond to parameter names in 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/llvm/utils/TableGen/ |
H A D | GlobalISelEmitter.cpp | 498 static MatchTableRecord Comment(StringRef Comment) { argument 499 return MatchTableRecord(None, Comment, 0, MatchTableRecord::MTRF_Comment); 1039 Table << MatchTable::Comment(getNoPredicateComment()) 1216 Table << MatchTable::Opcode("GIM_CheckType") << MatchTable::Comment("MI") 1217 << MatchTable::IntValue(InsnVarID) << MatchTable::Comment("Op") 1218 << MatchTable::IntValue(OpIdx) << MatchTable::Comment("Type") 1252 << MatchTable::Comment("MI") << MatchTable::IntValue(InsnVarID) 1253 << MatchTable::Comment("Op") << MatchTable::IntValue(OpIdx) 1254 << MatchTable::Comment("SizeInBit 1531 std::string Comment; local [all...] |
/freebsd-12-stable/sys/contrib/dev/acpica/compiler/ |
H A D | cvcompiler.c | 422 CommentLength = strlen (Current->Comment)+3; 424 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); 435 CommentLength = strlen (Current->Comment)+3; 437 CvDbgPrint (" Comment string: %s\n\n", Current->Comment); 447 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.InlineComment); 455 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.EndNodeComment); 463 CvDbgPrint (" Comment string: %s\n\n", Op->Asl.CloseBraceComment); 539 CgWriteOneAmlComment(Op, Current->Comment, CommentOptio [all...] |
H A D | cvdisasm.c | 197 if (Current->Comment) 200 AcpiOsPrintf("%s\n", Current->Comment); 201 Current->Comment = NULL;
|
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 | cvparser.c | 765 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); 791 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); 816 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); 896 CommentNode->Comment = ACPI_CAST_PTR (char, Aml); 912 CommentNode->Comment);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | NamespaceEndCommentsFixer.cpp | 91 const FormatToken *Comment = RBraceTok->Next; local 106 NamespaceMacroCommentPattern.match(Comment->TokenText, &Groups)) { 112 !NamespaceCommentPattern.match(Comment->TokenText, &Groups)) { 113 // Comment does not match regex. 143 const FormatToken *Comment = RBraceTok->Next; local 144 auto Range = CharSourceRange::getCharRange(Comment->getStartOfNonWhitespace(), 145 Comment->Tok.getEndLoc());
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 261 const Twine &Comment = Twine()); 262 void addComment(const Twine &Comment); 278 const Twine &Comment) { 284 addComment(Comment); 287 void Attributes::addComment(const Twine &Comment) { 288 if (!Comment.isTriviallyEmpty()) { 293 Comments += Comment.str();
|
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | PrettyCompilandDumper.cpp | 66 WithColor(Printer, PDB_ColorItem::Comment).get() 142 WithColor(Printer, PDB_ColorItem::Comment).get() 150 WithColor(Printer, PDB_ColorItem::Comment).get()
|
H A D | PrettyClassDefinitionDumper.cpp | 62 WithColor(Printer, PDB_ColorItem::Comment).get() << " [sizeof = " << Size
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCAsmMacro.h | 39 Comment, enumerator in enum:llvm::AsmToken::TokenKind
|