1eb8650a7SLouis Dionne //===----------------------------------------------------------------------===//
20d3d8de0SEric Fiselier //
357b08b09SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
457b08b09SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
557b08b09SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60d3d8de0SEric Fiselier //
70d3d8de0SEric Fiselier //===----------------------------------------------------------------------===//
80d3d8de0SEric Fiselier 
9*bbb0f2c7SArthur O'Dwyer #include <variant>
100d3d8de0SEric Fiselier 
110d3d8de0SEric Fiselier namespace std {
120d3d8de0SEric Fiselier 
what() const130d3d8de0SEric Fiselier const char* bad_variant_access::what() const noexcept {
140d3d8de0SEric Fiselier   return "bad_variant_access";
150d3d8de0SEric Fiselier }
160d3d8de0SEric Fiselier 
170d3d8de0SEric Fiselier }  // namespace std
18