diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-03 11:17:05 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-11-03 11:17:05 +0000 |
commit | 81ba611e88d9cf31988e84380da98a3bc0b0c138 (patch) | |
tree | 0a52893118fa21d1b63e892b7a6dc4106eb970d9 /llvm/lib/Transforms/Vectorize | |
parent | 297d96bb603f8a02fa45ef65cec6ca29222e9193 (diff) | |
download | bcm5719-llvm-81ba611e88d9cf31988e84380da98a3bc0b0c138.tar.gz bcm5719-llvm-81ba611e88d9cf31988e84380da98a3bc0b0c138.zip |
Ensure VPlanPrinter::Depth is initialized to fix static analyzer warning. NFCI.
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/VPlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h index 44d8a198f27..6eeec0f21fd 100644 --- a/llvm/lib/Transforms/Vectorize/VPlan.h +++ b/llvm/lib/Transforms/Vectorize/VPlan.h @@ -1267,7 +1267,7 @@ class VPlanPrinter { private: raw_ostream &OS; VPlan &Plan; - unsigned Depth; + unsigned Depth = 0; unsigned TabWidth = 2; std::string Indent; unsigned BID = 0; |