[llvm] d6b73da - [NFC] One-liner clang-format (#140104)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 10:13:55 PDT 2025
Author: Mingming Liu
Date: 2025-05-15T10:13:51-07:00
New Revision: d6b73da15211d2286c6b0750b68d139104d463b9
URL: https://github.com/llvm/llvm-project/commit/d6b73da15211d2286c6b0750b68d139104d463b9
DIFF: https://github.com/llvm/llvm-project/commit/d6b73da15211d2286c6b0750b68d139104d463b9.diff
LOG: [NFC] One-liner clang-format (#140104)
`InstrProfWriter::setOutputSparse` gets re-formatted when
InstrProfWriter.cpp is modified. So formatted this line.
Added:
Modified:
llvm/lib/ProfileData/InstrProfWriter.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index 2759346935b14..9dc1a0d0b4678 100644
--- a/llvm/lib/ProfileData/InstrProfWriter.cpp
+++ b/llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -152,9 +152,7 @@ void InstrProfWriter::setValueProfDataEndianness(llvm::endianness Endianness) {
InfoObj->ValueProfDataEndianness = Endianness;
}
-void InstrProfWriter::setOutputSparse(bool Sparse) {
- this->Sparse = Sparse;
-}
+void InstrProfWriter::setOutputSparse(bool Sparse) { this->Sparse = Sparse; }
void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
function_ref<void(Error)> Warn) {
More information about the llvm-commits
mailing list