Author: Simon Pilgrim
Date: 2023-05-19T10:40:14+01:00
New Revision: c10138a54f7f50c7a4d92b79a8887c51c52e2c20

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

LOG: Fix MSVC "not all control paths return a value" warning. NFC.

Added: 
    

Modified: 
    clang/lib/Interpreter/Interpreter.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Interpreter/Interpreter.cpp 
b/clang/lib/Interpreter/Interpreter.cpp
index bf0c98785ab7..e41024a25652 100644
--- a/clang/lib/Interpreter/Interpreter.cpp
+++ b/clang/lib/Interpreter/Interpreter.cpp
@@ -540,6 +540,7 @@ class RuntimeInterfaceBuilder
           E->getBeginLoc(), Args, E->getEndLoc());
     }
     }
+    llvm_unreachable("Unhandled Interpreter::InterfaceKind");
   }
 
   Interpreter::InterfaceKind VisitRecordType(const RecordType *Ty) {


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

Reply via email to