[PATCH] D67613: [DWARF-5] Support for DWARF-5 C++ language tags

Mikael Holmén via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 24 02:46:20 PDT 2019


uabelho added a comment.

In D67613#1680176 <https://reviews.llvm.org/D67613#1680176>, @uabelho wrote:

> In D67613#1679879 <https://reviews.llvm.org/D67613#1679879>, @xbolva00 wrote:
>
> > /srv/llvm-buildbot-srcatch/llvm-build-dir/clang-x86_64-debian-fast/llvm.src/tools/clang/tools/extra/modularize/Modularize.cpp:583:13: warning: enumeration values 'lang_cxx_11' and 'lang_cxx_14' not handled in switch [-Wswitch]
> >  1 warning generated.
>
>
> We also get that warning when compiling with clang 8:
>
>   ../../clang-tools-extra/modularize/Modularize.cpp:583:13: error: enumeration values 'lang_cxx_11' and 'lang_cxx_14' not handled in switch [-Werror,-Wswitch]
>       switch (D->getLanguage()) {
>               ^
>   1 error generated.
>


I did something about it in r372714. Please take a look and see if it should be fixed differently.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67613/new/

https://reviews.llvm.org/D67613





More information about the cfe-commits mailing list