Searched refs:Comments (Results 1 - 19 of 19) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DByteStreamer.h79 std::vector<std::string> &Comments; member in class:llvm::final
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 aligned
104 Comments.push_back("");
113 Comments.push_back(Comment.str());
114 // Add some empty comments to keep the Buffer and Comments vector
87 BufferByteStreamer(SmallVectorImpl<char> &Buffer, std::vector<std::string> &Comments, bool GenerateComments) argument
[all...]
H A DDebugLocStream.cpp32 Comments.erase(Comments.begin() + Entries.back().CommentOffset,
33 Comments.end());
H A DDebugLocStream.h51 std::vector<std::string> Comments; member in class:llvm::DebugLocStream
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;
H A DDwarfExpression.h363 std::vector<std::string> Comments;
366 TempBuffer(bool GenerateComments) : BS(Bytes, Comments, GenerateComments) {}
H A DDwarfDebug.cpp227 const char *Comment = (Byte.index() < TmpBuf->Comments.size())
228 ? TmpBuf->Comments[Byte.index()].c_str()
233 TmpBuf->Comments.clear();
2441 auto &&Comments = DebugLocs.getComments(Entry);
2442 auto Comment = Comments.begin();
2443 auto End = Comments.end();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp142 StringRef Comments = DC->CommentsToEmit.str(); local
148 while (!Comments.empty()) {
153 size_t Position = Comments.find('\n');
154 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position);
156 Comments = Comments.substr(Position+1);
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dcomment.mk15 # Comments can be indented with spaces, but that is rather unusual.
17 # Comments can be indented with a tab.
H A Descape.mk8 # Comments start with a <number-sign> ( '#' ) and continue until an
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DModuleSummaryIndex.cpp319 std::string Comments;
342 if (Comments.empty())
343 Comments = " // ";
345 Comments += ", ";
346 Comments += Comment.str();
359 Ret += Comments;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.h150 // Comments specifies the sequence of comment tokens to analyze. They get
157 void distributeComments(const SmallVectorImpl<FormatToken *> &Comments,
186 // Comments are sorted into unwrapped lines by whether they are in the same
H A DUnwrappedLineParser.cpp314 // as a semicolon. Comments after the last entry that have been determined to
2948 const SmallVectorImpl<FormatToken *> &Comments,
2953 // Define a trail of Comments to be a nonempty proper postfix of Comments such
2968 if (Comments.empty())
2975 for (unsigned i = Comments.size() - 1; i > 0; --i) {
2976 if (Comments[i]->OriginalColumn == NextTok->OriginalColumn) {
2982 for (unsigned i = 0, e = Comments.size(); i < e; ++i) {
2983 FormatToken *FormatTok = Comments[i];
3003 SmallVector<FormatToken *, 1> Comments; local
2947 distributeComments( const SmallVectorImpl<FormatToken *> &Comments, const FormatToken *NextTok) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmStreamer.cpp91 // Dump Explicit Comments here.
384 StringRef Comments = CommentToEmit; local
386 assert(Comments.back() == '\n' &&
391 size_t Position = Comments.find('\n');
392 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n';
394 Comments = Comments.substr(Position+1);
395 } while (!Comments.empty());
450 StringRef Comments = ExplicitCommentToEmit; local
451 if (!Comments
452 OS << Comments; local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp233 Comments.getCommentBeginLine(CommentBehindDecl, DeclLocDecomp.first,
256 Comments.getCommentEndOffset(CommentBeforeDecl);
290 if (Comments.empty())
294 const auto CommentsInThisFile = Comments.getCommentsInFile(File);
304 Comments.addComment(RC, LangOpts.CommentOpts, BumpAlloc);
476 if (Comments.empty() || Decls.empty())
493 auto CommentsInThisFile = Comments.getCommentsInFile(File);
967 BuiltinInfo(builtins), DeclarationNames(*this), Comments(SM),
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1746 SmallString<40> Comments;
1747 raw_svector_ostream CommentStream(Comments);
1940 Comments.clear();
H A DMachODump.cpp7161 StringRef Comments = CommentsToEmit.str(); local
7166 while (!Comments.empty()) {
7171 size_t Position = Comments.find('\n');
7172 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position);
7174 Comments = Comments.substr(Position + 1);
/freebsd-13-stable/sys/tools/
H A Dmakesyscalls.lua286 -- here, but ignore blank lines. Comments are already
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h682 RawCommentList Comments; member in class:clang::ASTContext
689 /// Raw comments are owned by Comments list. This mapping is populated
696 /// Raw comments are owned by Comments list. This mapping is populated
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9082 std::vector<RawComment *> Comments;
9088 Comments.clear();
9131 Comments.push_back(new (Context) RawComment(
9140 for (RawComment *C : Comments) {
9146 Context.Comments.OrderedComments[Loc.first].emplace(Loc.second, C);
H A DASTWriter.cpp829 // Comments Block.
2965 for (const auto &FO : Context->Comments.OrderedComments) {

Completed in 214 milliseconds