From: Simon Pilgrim Date: Fri, 27 Mar 2020 10:49:36 +0000 (+0000) Subject: Revert rGa3c715e9788d829031989b0a5ea4eb43c7288be9 "Twine - fix uninitialized variable... X-Git-Tag: llvmorg-12-init~10960 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e15ade47814ee07581f58e1c7443902814140632;p=platform%2Fupstream%2Fllvm.git Revert rGa3c715e9788d829031989b0a5ea4eb43c7288be9 "Twine - fix uninitialized variable warnings. NFCI." @dblaikie noticed that this may interfere with msan analysis --- diff --git a/llvm/include/llvm/ADT/Twine.h b/llvm/include/llvm/ADT/Twine.h index 2dc7486..4140c22 100644 --- a/llvm/include/llvm/ADT/Twine.h +++ b/llvm/include/llvm/ADT/Twine.h @@ -153,11 +153,11 @@ namespace llvm { /// LHS - The prefix in the concatenation, which may be uninitialized for /// Null or Empty kinds. - Child LHS = {0}; + Child LHS; /// RHS - The suffix in the concatenation, which may be uninitialized for /// Null or Empty kinds. - Child RHS = {0}; + Child RHS; /// LHSKind - The NodeKind of the left hand side, \see getLHSKind(). NodeKind LHSKind = EmptyKind;