| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | ByteStreamer.h | 93 std::vector<std::string> &Comments; variable 102 std::vector<std::string> &Comments, bool GenerateComments) in BufferByteStreamer() argument 103 : Buffer(Buffer), Comments(Comments), GenerateComments(GenerateComments) { in BufferByteStreamer() 108 Comments.push_back(Comment.str()); in emitInt8() 114 Comments.push_back(Comment.str()); in emitSLEB128() 118 Comments.push_back(""); in emitSLEB128() 127 Comments.push_back(Comment.str()); in emitULEB128() 131 Comments.push_back(""); in emitULEB128()
|
| H A D | DebugLocStream.cpp | 32 Comments.erase(Comments.begin() + Entries.back().CommentOffset, in finalizeEntry() 33 Comments.end()); in finalizeEntry()
|
| H A D | DebugLocStream.h | 51 std::vector<std::string> Comments; variable 99 Entries.push_back({BeginSym, EndSym, DWARFBytes.size(), Comments.size()}); in startEntry() 107 return BufferByteStreamer(DWARFBytes, Comments, GenerateComments); in getStreamer() 123 return makeArrayRef(Comments) in getComments() 150 return Comments.size() - Entries[EI].CommentOffset; in getNumComments()
|
| H A D | DwarfExpression.h | 372 std::vector<std::string> Comments; member 375 TempBuffer(bool GenerateComments) : BS(Bytes, Comments, GenerateComments) {} in TempBuffer()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ArgumentCommentCheck.cpp | 84 std::vector<std::pair<SourceLocation, StringRef>> Comments; in getCommentsInRange() local 90 return Comments; in getCommentsInRange() 95 return Comments; in getCommentsInRange() 114 Comments.emplace_back( in getCommentsInRange() 119 Comments.clear(); in getCommentsInRange() 123 return Comments; in getCommentsInRange() 136 Comments.emplace_back( in getCommentsBeforeLoc() 142 return Comments; in getCommentsBeforeLoc() 304 Comments = getCommentsInRange(Ctx, BeforeArgument); in checkCallArgs() 312 for (auto Comment : Comments) { in checkCallArgs() [all …]
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | CommentHandlerTest.cpp | 51 Comments.push_back(Comment(C, CLine, CCol)); in HandleComment() 64 CommentList Comments; member in clang::CommentHandlerVisitor 94 CommentVerifier(const CommentList &Comments, Preprocessor *PP) in CommentVerifier() argument 95 : Current(Comments.begin()), End(Comments.end()), PP(PP) in CommentVerifier() 127 return CommentVerifier(Comments, PP); in GetVerifier()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-equals-default.cpp | 179 struct Comments { struct 180 Comments() { in Comments() argument 184 ~Comments() { in ~Comments() argument
|
| H A D | use-equals-default-copy.cpp | 83 struct Comments { struct 84 Comments(const Comments &Other) in Comments() argument
|
| /llvm-project-15.0.7/llvm/lib/MC/MCDisassembler/ |
| H A D | Disassembler.cpp | 142 StringRef Comments = DC->CommentsToEmit.str(); in emitComments() local 148 while (!Comments.empty()) { in emitComments() 153 size_t Position = Comments.find('\n'); in emitComments() 154 FormattedOS << CommentBegin << ' ' << Comments.substr(0, Position); in emitComments() 156 Comments = Comments.substr(Position+1); in emitComments()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ModuleSummaryIndex.cpp | 380 std::string Comments; member 403 if (Comments.empty()) in addComment() 404 Comments = " // "; in addComment() 406 Comments += ", "; in addComment() 407 Comments += Comment.str(); in addComment() 420 Ret += Comments; in getAsString()
|
| /llvm-project-15.0.7/llvm/test/tools/split-file/Inputs/ |
| H A D | basic-bb.txt | 4 ; Comments are preserved.
|
| /llvm-project-15.0.7/llvm/test/YAMLParser/ |
| H A D | spec-09-23.test | 4 # Comments:
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 427 StringRef Comments = CommentToEmit; in EmitCommentsAndEOL() local 429 assert(Comments.back() == '\n' && in EmitCommentsAndEOL() 434 size_t Position = Comments.find('\n'); in EmitCommentsAndEOL() 435 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL() 437 Comments = Comments.substr(Position+1); in EmitCommentsAndEOL() 438 } while (!Comments.empty()); in EmitCommentsAndEOL() 493 StringRef Comments = ExplicitCommentToEmit; in emitExplicitComments() local 494 if (!Comments.empty()) in emitExplicitComments() 495 OS << Comments; in emitExplicitComments() 2299 StringRef Comments = CommentToEmit; in emitInstruction() local [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-agpr-small.ll | 5 ; COM: Comments for each kernel
|
| /llvm-project-15.0.7/llvm/test/tools/split-file/ |
| H A D | basic.test | 4 ; Comments are preserved.
|
| /llvm-project-15.0.7/llvm/resources/ |
| H A D | windows_version_resource.rc | 73 VALUE "Comments", RC_COMMENTS
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | libomp.rc.var | 50 VALUE "Comments",
|
| /llvm-project-15.0.7/clang/unittests/Format/ |
| H A D | SortImportsTestJS.cpp | 118 TEST_F(SortImportsTestJS, Comments) { in TEST_F() argument
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | UnwrappedLineParser.cpp | 4202 const SmallVectorImpl<FormatToken *> &Comments, in distributeComments() argument 4222 if (Comments.empty()) in distributeComments() 4237 FormatToken *FormatTok = Comments[i]; in distributeComments() 4256 SmallVector<FormatToken *, 1> Comments; in readToken() local 4297 distributeComments(Comments, FormatTok); in readToken() 4298 Comments.clear(); in readToken() 4327 distributeComments(Comments, FormatTok); in readToken() 4328 Comments.clear(); in readToken() 4332 Comments.push_back(FormatTok); in readToken() 4335 distributeComments(Comments, nullptr); in readToken() [all …]
|
| H A D | UnwrappedLineParser.h | 201 void distributeComments(const SmallVectorImpl<FormatToken *> &Comments,
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | dbg_value_list_clobbers.mir | 5 # expected. Comments and test directives inline.
|
| H A D | dbg_value_list_emission.mir | 6 # Comments and test directives inline.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | macro-to-enum.rst | 42 continue refactoring to a scoped enum if desired. Comments on the
|
| H A D | loop-convert.rst | 171 Comments inside loop headers 174 Comments inside the original loop header are ignored and deleted when
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 1219 StringRef Comments, in emitPostInstructionInfo() argument 1222 if (!Comments.empty()) { in emitPostInstructionInfo() 1225 std::tie(Comment, Comments) = Comments.split('\n'); in emitPostInstructionInfo() 1235 } while (!Comments.empty()); in emitPostInstructionInfo() 1460 SmallString<40> Comments; in disassembleObject() local 1461 raw_svector_ostream CommentStream(Comments); in disassembleObject() 1779 Comments.clear(); in disassembleObject()
|