aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-09 00:19:47 -0800
committerKazu Hirata <kazu@google.com>2022-01-09 00:19:47 -0800
commit40446663c73831f166c4432edb2997d88fd167a9 (patch)
treeaab09c69baaed6d7db2d82ae84f4708f44b1dc15 /clang/lib/CodeGen/CodeGenModule.cpp
parent4cd768ed5e735da5f97be22c6da9483a39e20f3d (diff)
downloadllvm-40446663c73831f166c4432edb2997d88fd167a9.zip
llvm-40446663c73831f166c4432edb2997d88fd167a9.tar.gz
llvm-40446663c73831f166c4432edb2997d88fd167a9.tar.bz2
[clang] Use true/false instead of 1/0 (NFC)
Identified with modernize-use-bool-literals.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index bf74f4d3..79e7197 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -610,7 +610,7 @@ void CodeGenModule::Release() {
if (Context.getLangOpts().SemanticInterposition)
// Require various optimization to respect semantic interposition.
- getModule().setSemanticInterposition(1);
+ getModule().setSemanticInterposition(true);
if (CodeGenOpts.EmitCodeView) {
// Indicate that we want CodeView in the metadata.