aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/InstrProfWriter.cpp
diff options
context:
space:
mode:
authorMingming Liu <mingmingl@google.com>2025-05-15 10:13:51 -0700
committerGitHub <noreply@github.com>2025-05-15 10:13:51 -0700
commitd6b73da15211d2286c6b0750b68d139104d463b9 (patch)
treeaf87904ace481ffb48305fb33688f4856db14bb7 /llvm/lib/ProfileData/InstrProfWriter.cpp
parent2bc9f43ba1116fb3989e28ecc3934209145a6250 (diff)
downloadllvm-d6b73da15211d2286c6b0750b68d139104d463b9.zip
llvm-d6b73da15211d2286c6b0750b68d139104d463b9.tar.gz
llvm-d6b73da15211d2286c6b0750b68d139104d463b9.tar.bz2
[NFC] One-liner clang-format (#140104)
`InstrProfWriter::setOutputSparse` gets re-formatted when InstrProfWriter.cpp is modified. So formatted this line.
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfWriter.cpp')
-rw-r--r--llvm/lib/ProfileData/InstrProfWriter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index 2759346..9dc1a0d 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) {