aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-05-19 10:40:14 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-05-19 10:40:14 +0100
commitc10138a54f7f50c7a4d92b79a8887c51c52e2c20 (patch)
treefae6b18d71f48c022438901778e8bde8a549903f /clang/lib/Interpreter/Interpreter.cpp
parentb87e5a046f6e3ee117c9f8cbe9ae368b30127b37 (diff)
downloadllvm-c10138a54f7f50c7a4d92b79a8887c51c52e2c20.zip
llvm-c10138a54f7f50c7a4d92b79a8887c51c52e2c20.tar.gz
llvm-c10138a54f7f50c7a4d92b79a8887c51c52e2c20.tar.bz2
Fix MSVC "not all control paths return a value" warning. NFC.
Diffstat (limited to 'clang/lib/Interpreter/Interpreter.cpp')
-rw-r--r--clang/lib/Interpreter/Interpreter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Interpreter/Interpreter.cpp b/clang/lib/Interpreter/Interpreter.cpp
index bf0c987..e41024a 100644
--- a/clang/lib/Interpreter/Interpreter.cpp
+++ b/clang/lib/Interpreter/Interpreter.cpp
@@ -540,6 +540,7 @@ public:
E->getBeginLoc(), Args, E->getEndLoc());
}
}
+ llvm_unreachable("Unhandled Interpreter::InterfaceKind");
}
Interpreter::InterfaceKind VisitRecordType(const RecordType *Ty) {