aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2022-06-06 21:21:15 -0700
committerVitaly Buka <vitalybuka@google.com>2022-06-07 14:08:43 -0700
commit5d9de5f446601d80ebbe5e281f783912b3585bad (patch)
treec3e1e286282b0864c147ff03907c8fe3433f9ff0 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentf49a5844b6c8804985743061a994f42b9d54ebc5 (diff)
downloadllvm-5d9de5f446601d80ebbe5e281f783912b3585bad.zip
llvm-5d9de5f446601d80ebbe5e281f783912b3585bad.tar.gz
llvm-5d9de5f446601d80ebbe5e281f783912b3585bad.tar.bz2
[NFC] Clang-format parts of D126929 and D126100
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 66445c8..4e1729f 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1362,9 +1362,7 @@ void ModuleBitcodeWriter::writeModuleInfo() {
GV.getUnnamedAddr() != GlobalValue::UnnamedAddr::None ||
GV.isExternallyInitialized() ||
GV.getDLLStorageClass() != GlobalValue::DefaultStorageClass ||
- GV.hasComdat() ||
- GV.hasAttributes() ||
- GV.isDSOLocal() ||
+ GV.hasComdat() || GV.hasAttributes() || GV.isDSOLocal() ||
GV.hasPartition()) {
Vals.push_back(getEncodedVisibility(GV));
Vals.push_back(getEncodedThreadLocalMode(GV));