[llvm] 0d209c6 - Revert "[clangd] fix warning by adding missing parens"

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 8 15:59:15 PST 2025


Author: Douglas Yung
Date: 2025-03-08T23:54:18Z
New Revision: 0d209c6d905e3da7eae28e5f27c7f0ad33f60c91

URL: https://github.com/llvm/llvm-project/commit/0d209c6d905e3da7eae28e5f27c7f0ad33f60c91
DIFF: https://github.com/llvm/llvm-project/commit/0d209c6d905e3da7eae28e5f27c7f0ad33f60c91.diff

LOG: Revert "[clangd] fix warning by adding missing parens"

This reverts commit df79000896101acc9b8d7435e59f767b36c00ac8.

Reverting follow-up commit to ce9e1d3c15ed6290f1cb07b482939976fa8115cd since the original commit test is flaky.

Added: 
    

Modified: 
    llvm/lib/Debuginfod/Debuginfod.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Debuginfod/Debuginfod.cpp b/llvm/lib/Debuginfod/Debuginfod.cpp
index db316a1b37b3b..e570982e357e3 100644
--- a/llvm/lib/Debuginfod/Debuginfod.cpp
+++ b/llvm/lib/Debuginfod/Debuginfod.cpp
@@ -309,7 +309,7 @@ Expected<std::string> getCachedOrDownloadArtifact(
       Error Err = Client.perform(Request, Handler);
       if (Err)
         return std::move(Err);
-      if ((Err = Handler.commit()))
+      if (Err = Handler.commit())
         return std::move(Err);
 
       unsigned Code = Client.responseCode();


        


More information about the llvm-commits mailing list