diff options
-rw-r--r-- | clang/include/clang/Driver/CLCompatOptions.td | 1 | ||||
-rw-r--r-- | clang/test/Driver/cl-options.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Driver/CLCompatOptions.td b/clang/include/clang/Driver/CLCompatOptions.td index 2728829a05c..fab12be8309 100644 --- a/clang/include/clang/Driver/CLCompatOptions.td +++ b/clang/include/clang/Driver/CLCompatOptions.td @@ -304,6 +304,7 @@ def _SLASH_openmp_ : CLIgnoredFlag<"openmp-">; def _SLASH_RTC : CLIgnoredJoined<"RTC">; def _SLASH_sdl : CLIgnoredFlag<"sdl">; def _SLASH_sdl_ : CLIgnoredFlag<"sdl-">; +def _SLASH_utf8 : CLIgnoredFlag<"utf-8">; def _SLASH_w : CLIgnoredJoined<"w">; def _SLASH_Zc_auto : CLIgnoredFlag<"Zc:auto">; def _SLASH_Zc_forScope : CLIgnoredFlag<"Zc:forScope">; diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index 52b40c716da..ba70378b2f2 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -307,6 +307,7 @@ // RUN: /sdl \ // RUN: /sdl- \ // RUN: /source-charset:utf-8 \ +// RUN: /utf-8 \ // RUN: /vmg \ // RUN: /volatile:iso \ // RUN: /w12345 \ |