From 92391ceb9abc5c84bd7b81da8c73c8e77b141c79 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Sat, 13 Dec 2014 22:06:23 +0000 Subject: [PATCH] clang-cl: Add unsupported /Gv option (PR21892) We don't currently support any of the calling convention options. llvm-svn: 224199 --- clang/include/clang/Driver/CLCompatOptions.td | 1 + clang/test/Driver/cl-options.c | 1 + 2 files changed, 2 insertions(+) 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 \