From: Simon Pilgrim Date: Tue, 9 Aug 2022 08:55:35 +0000 (+0100) Subject: Fix MSVC "not all control paths return a value" warning. NFC. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af0052ef741f9bcfa3c7f0038d49f0cb1eaa59a4;p=platform%2Fupstream%2Fllvm.git Fix MSVC "not all control paths return a value" warning. NFC. --- diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp index fa2f07a..c368a61 100644 --- a/clang/lib/AST/ASTImporter.cpp +++ b/clang/lib/AST/ASTImporter.cpp @@ -3390,6 +3390,7 @@ private: // A template passed as argument can be not in ParentDC. return false; } + llvm_unreachable("Unknown TemplateArgument::ArgKind enum"); }; }; } // namespace