HomeSort by: relevance | last modified time | path
    Searched refs:Comment (Results 1 - 25 of 109) sorted by relevancy

1 2 3 4 5

  /src/external/apache2/llvm/dist/clang/include/clang-c/
Documentation.h 1 /*==-- clang-c/Documentation.h - Utilities for comment processing -*- C -*-===*\
24 * \defgroup CINDEX_COMMENT Comment introspection
34 * A parsed comment.
43 * declaration), return the associated parsed comment as a
49 * Describes the type of the comment AST node (\c CXComment). A comment
55 * Null comment. No AST node is constructed at the requested location
94 * A paragraph, contains inline comment. The paragraph itself is
155 * A full comment attached to a declaration, contains block content.
213 * \param Comment AST node of any kind
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
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 {
45 AP.OutStreamer->AddComment(Comment);
48 void emitSLEB128(uint64_t DWord, const Twine &Comment) override {
49 AP.OutStreamer->AddComment(Comment);
52 void emitULEB128(uint64_t DWord, const Twine &Comment,
54 AP.OutStreamer->AddComment(Comment);
64 void emitInt8(uint8_t Byte, const Twine &Comment) override
    [all...]
DwarfExpression.h 112 const char *Comment;
115 static Register createRegister(int RegNo, const char *Comment) {
116 return {RegNo, 0, Comment};
121 const char *Comment) {
122 return {RegNo, SizeInBits, Comment};
187 /// Output a dwarf operand and an optional assembler comment.
188 virtual void emitOp(uint8_t Op, const char *Comment = nullptr) = 0;
226 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
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/
CodeRegionGenerator.cpp 32 // A comment consumer that parses strings. The only valid tokens are strings.
77 StringRef Comment(CommentText);
78 if (Comment.empty())
82 unsigned Position = Comment.find_first_not_of(" \t");
83 if (Position >= Comment.size())
84 // We reached the end of the comment. Bail out.
87 Comment = Comment.drop_front(Position);
88 if (Comment.consume_front("LLVM-MCA-END")) {
90 Position = Comment.find_first_not_of(" \t")
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CXComment.h 20 #include "clang/AST/Comment.h"
30 static inline CXComment createCXComment(const comments::Comment *C,
38 static inline const comments::Comment *getASTNode(CXComment CXC) {
39 return static_cast<const comments::Comment *>(CXC.ASTNode);
44 const comments::Comment *C = getASTNode(CXC);
CXComment.cpp 9 // This file defines all libclang APIs related to walking comment AST.
42 const Comment *C = getASTNode(CXC);
47 case Comment::NoCommentKind:
50 case Comment::TextCommentKind:
53 case Comment::InlineCommandCommentKind:
56 case Comment::HTMLStartTagCommentKind:
59 case Comment::HTMLEndTagCommentKind:
62 case Comment::ParagraphCommentKind:
65 case Comment::BlockCommandCommentKind:
68 case Comment::ParamCommandCommentKind
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
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...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
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) {
131 emitComment(Comment + ": " + TypeNameStr);
133 emitComment(Comment);
149 const Twine &Comment) {
152 emitEncodedUnsignedInteger(static_cast<uint64_t>(Value), Comment);
154 emitEncodedSignedInteger(Value, Comment);
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
RawCommentList.cpp 11 #include "clang/AST/Comment.h"
24 /// Get comment kind and bool describing if it is a trailing comment.
25 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment,
28 if ((Comment.size() < MinCommentLength) || Comment[0] != '/')
32 if (Comment[1] == '/') {
33 if (Comment.size() < 3)
36 if (Comment[2] == '/')
38 else if (Comment[2] == '!'
    [all...]
Comment.cpp 1 //===--- Comment.cpp - Comment AST node implementation --------------------===//
9 #include "clang/AST/Comment.h"
21 // Check that no comment class has a non-trival destructor. They are allocated
23 #define ABSTRACT_COMMENT(COMMENT)
24 #define COMMENT(CLASS, PARENT) \
28 #undef COMMENT
35 const char *Comment::getCommentKindName() const {
38 #define ABSTRACT_COMMENT(COMMENT)
39 #define COMMENT(CLASS, PARENT)
    [all...]
CommentSema.cpp 1 //===--- CommentSema.cpp - Doxygen comment semantic analysis --------------===//
73 // These checks only make sense if the comment is attached to a
98 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) {
99 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID());
104 switch (Comment->getCommandID()) {
125 Diag(Comment->getLocation(), diag::warn_doc_function_method_decl_mismatch)
126 << Comment->getCommandMarker()
128 << Comment->getSourceRange();
131 void Sema::checkContainerDeclVerbatimLine(const BlockCommandComment *Comment) {
132 const CommandInfo *Info = Traits.getCommandInfo(Comment->getCommandID())
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Index/
CommentToXML.cpp 12 #include "clang/AST/Comment.h"
83 /// Take a full comment apart and initialize members accordingly.
100 for (Comment::child_iterator I = C->child_begin(), E = C->child_end();
102 const Comment *Child = *I;
106 case Comment::NoCommentKind:
109 case Comment::ParagraphCommentKind: {
120 case Comment::BlockCommandCommentKind: {
143 case Comment::ParamCommandCommentKind: {
155 case Comment::TParamCommandCommentKind: {
167 case Comment::VerbatimBlockCommentKind
    [all...]
  /src/sys/external/bsd/acpica/dist/tools/acpisrc/
asremove.c 154 char *Comment;
175 Comment = NULL;
179 Comment = strstr (SubString, AS_START_IGNORE);
182 if ((Comment) &&
183 (Comment < SubBuffer))
185 SubString = strstr (Comment, AS_STOP_IGNORE);
195 /* Check for ordinary comment */
197 Comment = strstr (SubString, "/*");
199 if ((Comment) &&
200 (Comment < SubBuffer)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
CommentVisitor.h 1 //===- CommentVisitor.h - Visitor for Comment subclasses --------*- C++ -*-===//
12 #include "clang/AST/Comment.h"
27 RetTy visit(PTR(Comment) C, ParamTys... P) {
32 default: llvm_unreachable("Unknown comment kind!");
33 #define ABSTRACT_COMMENT(COMMENT)
34 #define COMMENT(CLASS, PARENT) \
35 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS);
38 #undef COMMENT
44 #define ABSTRACT_COMMENT(COMMENT) COMMENT
    [all...]
Comment.h 1 //===--- Comment.h - Comment AST nodes --------------------------*- C++ -*-===//
9 // This file defines comment AST nodes.
50 /// Any part of the comment.
52 class Comment {
61 friend class Comment;
87 /// True if this comment AST node contains only whitespace.
120 /// spelling in comment (plain <br> would not set this flag).
133 /// True if this comment AST node contains only whitespace.
160 /// True if direction was specified explicitly in the comment
    [all...]
  /src/external/bsd/pkg_install/dist/create/
create.h 40 extern char *Comment;
main.c 33 char *Comment = NULL;
66 " -c comment -d description -f packlist\n"
115 Comment = optarg;
perform.c 48 if (!Comment)
49 errx(2, "required package comment string is missing (-c comment)");
159 get_dash_string(&Comment);
232 free(Comment);
  /src/external/bsd/flex/dist/tests/
extended.l 42 abc(?# Single Line Comment )def ECHO;
45 comment
50 comment with ##
57 /* comment */
  /src/external/gpl2/rcs/dist/src/
rcsfcmp.c 74 * Fix comment leader bug.
77 * Permit arbitrary data in logs and comment leaders.
279 * in the comment leader, and L is the number of
283 for (ccnt=Comment.size; ccnt--; )
284 c1 += Comment.string[ccnt] == '\n';
292 /* skip last comment leader */
295 ccnt = RCSversion<VERSION(5) ? Comment.size : leaderlen;
299 * Read to the end of the comment leader or '\n',
344 /* first argument: comment leader; 2nd: log message, 3rd: expanded file,
349 Comment.string = argv[1]
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Format/
NamespaceEndCommentsFixer.cpp 34 // Collects all the non-comment tokens between opening parenthesis
83 return RBraceTok->Next && RBraceTok->Next->is(tok::comment);
89 const FormatToken *Comment = RBraceTok->Next;
91 // Matches a valid namespace end comment.
104 NamespaceMacroCommentPattern.match(Comment->TokenText, &Groups)) {
110 !NamespaceCommentPattern.match(Comment->TokenText, &Groups)) {
111 // Comment does not match regex.
125 // Has namespace comment flowed onto the next line.
128 if (!(Comment->Next && Comment->Next->is(TT_LineComment))
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
GlobalISelEmitter.cpp 413 /// Causes EmitStr to be formatted as comment when emitted.
420 /// comment to be emitted containing the index of the label.
423 /// LabelID along with a comment indicating where that label is.
436 /// The string to emit. Depending on the MTRF_* flags it may be a comment, a
504 static MatchTableRecord Comment(StringRef Comment) {
505 return MatchTableRecord(None, Comment, 0, MatchTableRecord::MTRF_Comment);
1006 /// for the comment emitted when there are no predicates.
1057 Table << MatchTable::Comment(getNoPredicateComment())
1077 Table << MatchTable::Comment(getNoPredicateComment()
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
cvcompiler.c 55 * PARAMETERS: CurrentState Current comment parse state
56 * StringBuffer Buffer containing the comment being processed
61 * DESCRIPTION: Process a single line comment of a c Style comment. This
62 * function captures a line of a c style comment in a char* and
63 * places the comment in the appropriate global buffer.
87 CvDbgPrint ("Multi-line comment\n");
94 * Determine whether if this comment spans multiple lines. If so,
95 * break apart the comment by storing each line in a different node
96 * within the comment list. This allows the disassembler t
    [all...]
cvdisasm.c 89 if (Current->Comment)
92 AcpiOsPrintf("%s\n", Current->Comment);
93 Current->Comment = NULL;
139 * EndStr - String to print after printing the comment
140 * Level - indentation level for comment lists.
145 * clears the printed comment from the Op.
287 * If this op has a BLOCK_BRACE, then output the comment when the
  /src/external/apache2/llvm/dist/clang/tools/clang-refactor/
TestSupport.cpp 305 // See the doc comment for this function for the explanation of this
323 if (Tok.isNot(tok::comment))
325 StringRef Comment =
331 if (Comment.contains_lower("range") && Comment.contains("=") &&
332 !Comment.contains_lower("run") && !Comment.contains("CHECK")) {
333 llvm::errs() << "error: suspicious comment '" << Comment
341 if (!RangeRegex.match(Comment, &Matches) || Comment.contains("CHECK"))
    [all...]

Completed in 104 milliseconds

1 2 3 4 5