[clang] 04cc892 - Speculatively fix Clang build bots

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 12:12:02 PDT 2023


Author: Aaron Ballman
Date: 2023-07-20T15:11:52-04:00
New Revision: 04cc892eedf579584f642670efd71a5e6fd1494d

URL: https://github.com/llvm/llvm-project/commit/04cc892eedf579584f642670efd71a5e6fd1494d
DIFF: https://github.com/llvm/llvm-project/commit/04cc892eedf579584f642670efd71a5e6fd1494d.diff

LOG: Speculatively fix Clang build bots

This is intended to address the issues found in:
https://lab.llvm.org/buildbot/#/builders/192/builds/3337
https://lab.llvm.org/buildbot/#/builders/124/builds/7968

Added: 
    

Modified: 
    clang/lib/Sema/SemaDeclCXX.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp
index 9e2845384bc170..30e8e380e6596b 100644
--- a/clang/lib/Sema/SemaDeclCXX.cpp
+++ b/clang/lib/Sema/SemaDeclCXX.cpp
@@ -16925,7 +16925,7 @@ bool Sema::EvaluateStaticAssertMessageAsString(Expr *Message,
     OverloadCandidateSet::iterator Best;
     switch (Candidates.BestViableFunction(*this, Loc, Best)) {
     case OR_Success:
-      return MemberLookup;
+      return std::move(MemberLookup);
     default:
       if (Diag)
         Candidates.NoteCandidates(


        


More information about the cfe-commits mailing list