diff --git a/clang/include/clang/Driver/CLCompatOptions.td b/clang/include/clang/Driver/CLCompatOptions.td index e05d68700e19..3a3d82e59fc0 100644 --- a/clang/include/clang/Driver/CLCompatOptions.td +++ b/clang/include/clang/Driver/CLCompatOptions.td @@ -253,6 +253,7 @@ def _SLASH_GS : CLFlag<"GS">; def _SLASH_Gs : CLJoined<"Gs">; def _SLASH_GT : CLFlag<"GT">; def _SLASH_GX : CLFlag<"GX">; +def _SLASH_Gv : CLFlag<"Gv">; def _SLASH_Gz : CLFlag<"Gz">; def _SLASH_GZ : CLFlag<"GZ">; def _SLASH_H : CLFlag<"H">; diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index 44242c8c9c27..12501f11205e 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -248,6 +248,7 @@ // RUN: /Gs1000 \ // RUN: /GT \ // RUN: /GX \ +// RUN: /Gv \ // RUN: /Gz \ // RUN: /GZ \ // RUN: /H \