diff options
| -rw-r--r-- | clang/include/clang/Driver/CLCompatOptions.td | 2 | ||||
| -rw-r--r-- | clang/test/Driver/cl-options.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/clang/include/clang/Driver/CLCompatOptions.td b/clang/include/clang/Driver/CLCompatOptions.td index 66d424209d0..0edf8ebdde1 100644 --- a/clang/include/clang/Driver/CLCompatOptions.td +++ b/clang/include/clang/Driver/CLCompatOptions.td @@ -198,6 +198,8 @@ def _SLASH_sdl : CLIgnoredFlag<"sdl">; def _SLASH_sdl_ : CLIgnoredFlag<"sdl-">; def _SLASH_w : CLIgnoredJoined<"w">; def _SLASH_Zc_forScope : CLIgnoredFlag<"Zc:forScope">; +def _SLASH_Zc_inline : CLIgnoredFlag<"Zc:inline">; +def _SLASH_Zc_rvalueCast : CLIgnoredFlag<"Zc:rvalueCast">; def _SLASH_Zc_wchar_t : CLIgnoredFlag<"Zc:wchar_t">; def _SLASH_Zm : CLIgnoredJoined<"Zm">; diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index 38cbb347c6b..cd98ec3b72f 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -178,6 +178,8 @@ // RUN: /wd1234 \ // RUN: /Zc:forScope \ // RUN: /Zc:wchar_t \ +// RUN: /Zc:inline \ +// RUN: /Zc:rvalueCast \ // RUN: -### -- %s 2>&1 | FileCheck -check-prefix=IGNORED %s // IGNORED-NOT: argument unused during compilation |

