From 77362bcbc4c036b9f20f7a7444841fe0eb804674 Mon Sep 17 00:00:00 2001 From: Andrea Di Biagio Date: Wed, 27 Mar 2019 16:22:36 +0000 Subject: [PATCH] [MCA] Fix -Wparentheses warning breaking the -Werror build. Waring was introduced at r357074. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357085 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MCA/Pipeline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/MCA/Pipeline.cpp b/lib/MCA/Pipeline.cpp index 6860a8caf55..22b9d0799f7 100644 --- a/lib/MCA/Pipeline.cpp +++ b/lib/MCA/Pipeline.cpp @@ -64,7 +64,8 @@ Error Pipeline::runCycle() { // Update stages in preparation for a new cycle. for (const std::unique_ptr &S : Stages) { - if (Err = S->cycleEnd()) + Err = S->cycleEnd(); + if (Err) break; } -- 2.50.1