aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-01-07 00:39:13 -0800
committerKazu Hirata <kazu@google.com>2022-01-07 00:39:14 -0800
commit2aed08131df569809ab4826036cb963e6d2eb16c (patch)
treeadfa6671aa65baf628a6e8a3b97957b6c436545c /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent34646a2f7ee1564b0f6ff706b32d7206e39aac9f (diff)
downloadllvm-2aed08131df569809ab4826036cb963e6d2eb16c.zip
llvm-2aed08131df569809ab4826036cb963e6d2eb16c.tar.gz
llvm-2aed08131df569809ab4826036cb963e6d2eb16c.tar.bz2
[llvm] Use true/false instead of 1/0 (NFC)
Identified with modernize-use-bool-literals.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index e6661e5..6d80613 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -152,7 +152,7 @@ public:
}
}
- DbgVariableValue() : LocNoCount(0), WasIndirect(0), WasList(0) {}
+ DbgVariableValue() : LocNoCount(0), WasIndirect(false), WasList(false) {}
DbgVariableValue(const DbgVariableValue &Other)
: LocNoCount(Other.LocNoCount), WasIndirect(Other.getWasIndirect()),
WasList(Other.getWasList()), Expression(Other.getExpression()) {