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

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
ByteStreamer.h 79 std::vector<std::string> &Comments;
82 /// Only verbose textual output needs comments. This will be set to
83 /// true for that case, and false otherwise. If false, comments passed in to
88 std::vector<std::string> &Comments, bool GenerateComments)
89 : Buffer(Buffer), Comments(Comments), GenerateComments(GenerateComments) {
94 Comments.push_back(Comment.str());
100 Comments.push_back(Comment.str());
101 // Add some empty comments to keep the Buffer and Comments vectors aligne
    [all...]
DebugLocStream.cpp 32 Comments.erase(Comments.begin() + Entries.back().CommentOffset,
33 Comments.end());
DebugLocStream.h 51 std::vector<std::string> Comments;
54 /// Only verbose textual output needs comments. This will be set to
99 Entries.push_back({BeginSym, EndSym, DWARFBytes.size(), Comments.size()});
107 return BufferByteStreamer(DWARFBytes, Comments, GenerateComments);
123 return makeArrayRef(Comments)
150 return Comments.size() - Entries[EI].CommentOffset;
DwarfExpression.h 371 std::vector<std::string> Comments;
374 TempBuffer(bool GenerateComments) : BS(Bytes, Comments, GenerateComments) {}
DwarfDebug.cpp 222 const char *Comment = (Byte.index() < TmpBuf->Comments.size())
223 ? TmpBuf->Comments[Byte.index()].c_str()
228 TmpBuf->Comments.clear();
2441 auto &&Comments = DebugLocs.getComments(Entry);
2442 auto Comment = Comments.begin();
2443 auto End = Comments.end();
2471 // Make sure comments stay aligned.
  /src/external/apache2/llvm/dist/llvm/lib/MC/MCDisassembler/
Disassembler.cpp 138 /// Emits the comments that are stored in \p DC comment stream.
143 StringRef Comments = DC->CommentsToEmit.str();
149 while (!Comments.empty()) {
152 // Emit a line of comments.
154 size_t Position = Comments.find('\n');
155 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position);
157 Comments = Comments.substr(Position+1);
  /src/usr.bin/make/unit-tests/
comment.mk 3 # Demonstrate how comments are written in makefiles.
15 # Comments can be indented with spaces, but that is rather unusual.
17 # Comments can be indented with a tab.
19 # they are just makefile comments. Before that commit, these comments
22 .if 1 # There can be comments after conditions.
escape.mk 8 # Comments start with a <number-sign> ( '#' ) and continue until an
directive-include-guard.mk 69 # Comments and empty lines do not affect the multiple-inclusion guard.
70 CASES+= comments
71 LINES.comments= \
74 '.ifndef COMMENTS' \
76 'COMMENTS=\#comment' \
79 # expect: Parse_PushInput: comments.tmp:1
80 # expect: Skipping 'comments.tmp' because 'COMMENTS' is defined
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ModuleSummaryIndex.cpp 374 std::string Comments;
397 if (Comments.empty())
398 Comments = " // ";
400 Comments += ", ";
401 Comments += Comment.str();
414 Ret += Comments;
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCAsmStreamer.cpp 99 // Dump Explicit Comments here.
101 // If we don't have any comments, just emit a \n.
127 /// Return a raw_ostream that comments can be written to.
128 /// Unlike AddComment, you are required to terminate comments with \n if you
132 return nulls(); // Discard comments unless in verbose asm mode.
416 StringRef Comments = CommentToEmit;
418 assert(Comments.back() == '\n' &&
421 // Emit a line of comments.
423 size_t Position = Comments.find('\n');
424 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Format/
UnwrappedLineParser.h 160 // should be added as comments before the next token.
162 // Comments specifies the sequence of comment tokens to analyze. They get
163 // either pushed to the current line or added to the comments before the next
169 void distributeComments(const SmallVectorImpl<FormatToken *> &Comments,
198 // Comments are sorted into unwrapped lines by whether they are in the same
201 // store the comments belonging to that token.
UnwrappedLineParser.cpp 314 // as a semicolon. Comments after the last entry that have been determined to
319 // Here we add this newline before end-of-file comments.
828 // comments, it could be an include guard.
3121 // Line comments that belong to the same line comment section are put on the
3154 const SmallVectorImpl<FormatToken *> &Comments,
3159 // Define a trail of Comments to be a nonempty proper postfix of Comments such
3173 // second one consisting of the next two comments.
3174 if (Comments.empty())
3181 for (unsigned i = Comments.size() - 1; i > 0; --i)
    [all...]
  /src/external/gpl3/gcc/dist/contrib/vim-gcc-dev/syntax/
gimple.vim 25 " Comments for Phi nodes, value ranges, use/def-chains, etc.
33 " General-purpose comments.
  /src/external/gpl3/gcc.old/dist/contrib/vim-gcc-dev/syntax/
gimple.vim 25 " Comments for Phi nodes, value ranges, use/def-chains, etc.
33 " General-purpose comments.
  /src/tests/usr.bin/indent/
t_misc.sh 240 * It is possible to embed comments in the middle of an option, but nobody
302 # means that all kinds of comments are effectively ignored. When a
306 # words can be used for comments.
308 /* Comments are effectively ignored since they never match. */
  /src/external/bsd/ipf/dist/perl/
ipfmeta.pl 22 s/#.*$//; # remove comments
112 output as comments.
116 by square brackets. A value is delimited by whitespace. Comments
132 Include metarules in output as comments. Default is 1, the top level
134 Level 0 does not add comments at all.
  /src/external/gpl3/gdb.old/dist/gdb/contrib/ari/
update-web-ari.sh 825 print_toc 0 0 comment Comments <<EOF
826 Problems concerning comments in source files.
  /src/external/gpl3/gdb/dist/gdb/contrib/ari/
update-web-ari.sh 825 print_toc 0 0 comment Comments <<EOF
826 Problems concerning comments in source files.
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTContext.cpp 107 /// \returns location that is relevant when searching for Doc comments related
151 // TODO: handle comments for function parameters properly.
209 // If there are no comments anywhere, we won't find anything.
234 Comments.getCommentBeginLine(CommentBehindDecl, DeclLocDecomp.first,
257 Comments.getCommentEndOffset(CommentBeforeDecl);
291 if (Comments.empty())
295 const auto CommentsInThisFile = Comments.getCommentsInFile(File);
305 Comments.addComment(RC, LangOpts.CommentOpts, BumpAlloc);
416 // Any redeclarations of D that we haven't checked for comments yet?
477 if (Comments.empty() || Decls.empty()
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
llvm-objdump.cpp 1219 SmallString<40> Comments;
1220 raw_svector_ostream CommentStream(Comments);
1404 Comments.clear();
MachODump.cpp 3383 // comments for disassembly. While these are part of the ABI they are no
7142 /// Emits the comments that are stored in the CommentStream.
7149 StringRef Comments = CommentsToEmit.str();
7154 while (!Comments.empty()) {
7156 // Emit a line of comments.
7158 size_t Position = Comments.find('\n');
7159 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position);
7161 Comments = Comments.substr(Position + 1);
7255 // if it is done then arm64 comments for string literals don't get printe
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTContext.h 150 namespace comments { namespace in namespace:clang
154 } // namespace comments
739 /// All comments in this translation unit.
740 RawCommentList Comments;
742 /// True if comments are already loaded from ExternalASTSource.
747 /// Raw comments are owned by Comments list. This mapping is populated
754 /// Raw comments are owned by Comments list. This mapping is populated
760 /// comments attached to any redeclaration. Specifically it's mapping t
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReader.cpp 3062 Error("malformed comments block in AST file");
9047 std::vector<RawComment *> Comments;
9053 Comments.clear();
9096 Comments.push_back(new (Context) RawComment(
9105 for (RawComment *C : Comments) {
9111 Context.Comments.OrderedComments[Loc.first].emplace(Loc.second, C);
ASTWriter.cpp 830 // Comments Block.
2971 for (const auto &FO : Context->Comments.OrderedComments) {

Completed in 52 milliseconds