Author: Timm Bäder
Date: 2024-02-05T13:05:52+01:00
New Revision: 60732c0fae56829c5475091de678ad46f0ce6287

URL: 
https://github.com/llvm/llvm-project/commit/60732c0fae56829c5475091de678ad46f0ce6287
DIFF: 
https://github.com/llvm/llvm-project/commit/60732c0fae56829c5475091de678ad46f0ce6287.diff

LOG: [clang][Interp][NFC] Remove superfluous return statement

Added: 
    

Modified: 
    clang/lib/AST/Interp/EvaluationResult.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/Interp/EvaluationResult.cpp 
b/clang/lib/AST/Interp/EvaluationResult.cpp
index 05105862a53a8..b44e8f84a1c42 100644
--- a/clang/lib/AST/Interp/EvaluationResult.cpp
+++ b/clang/lib/AST/Interp/EvaluationResult.cpp
@@ -151,8 +151,6 @@ bool EvaluationResult::checkFullyInitialized(InterpState 
&S) const {
   const auto *CAT =
       cast<ConstantArrayType>(Ptr.getType()->getAsArrayTypeUnsafe());
   return CheckArrayInitialized(S, InitLoc, Ptr, CAT);
-
-  return true;
 }
 
 void EvaluationResult::dump() const {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to