commit | f15924d1d1310527d7d78e8c66655e6b94bc241b | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Mar 27 08:55:47 2025 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Mar 27 08:55:47 2025 +0000 |
tree | 5788468f675b09b8bca6cb6ac560d4df58c4e3c9 | |
parent | 58a0c9570c69ecdf23e998637d2b82cfa455bf14 [diff] |
Fix MSVC "not all control paths return a value" warning. NFC.
diff --git a/clang/lib/AST/NestedNameSpecifier.cpp b/clang/lib/AST/NestedNameSpecifier.cpp index 206e462..d3195e6 100644 --- a/clang/lib/AST/NestedNameSpecifier.cpp +++ b/clang/lib/AST/NestedNameSpecifier.cpp
@@ -289,6 +289,7 @@ // These are not representable as types. return nullptr; } + llvm_unreachable("Unhandled SpecifierKind enum"); } /// Print this nested name specifier to the given output