[clang] e256a77 - clang-cl: Parse /QIntel-jcc-erratum
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 23 09:02:12 PST 2020
Author: Hans Wennborg
Date: 2020-01-23T18:00:38+01:00
New Revision: e256a775ebfcda5fd5f4d05fe40f6bb029e88f29
URL: https://github.com/llvm/llvm-project/commit/e256a775ebfcda5fd5f4d05fe40f6bb029e88f29
DIFF: https://github.com/llvm/llvm-project/commit/e256a775ebfcda5fd5f4d05fe40f6bb029e88f29.diff
LOG: clang-cl: Parse /QIntel-jcc-erratum
It appears to be a new flag, see
https://github.com/MicrosoftDocs/cpp-docs/commit/c7ac1c2635a631c61d3bed9f12b31dee6d6716fe
Added:
Modified:
clang/include/clang/Driver/CLCompatOptions.td
clang/test/Driver/cl-options.c
Removed:
################################################################################
diff --git a/clang/include/clang/Driver/CLCompatOptions.td b/clang/include/clang/Driver/CLCompatOptions.td
index 50d4622009c9..90be1d3f3c04 100644
--- a/clang/include/clang/Driver/CLCompatOptions.td
+++ b/clang/include/clang/Driver/CLCompatOptions.td
@@ -446,6 +446,7 @@ def _SLASH_LN : CLFlag<"LN">;
def _SLASH_MP : CLJoined<"MP">;
def _SLASH_Qfast_transcendentals : CLFlag<"Qfast_transcendentals">;
def _SLASH_QIfist : CLFlag<"QIfist">;
+def _SLASH_QIntel_jcc_erratum : CLFlag<"QIntel-jcc-erratum">;
def _SLASH_Qimprecise_fwaits : CLFlag<"Qimprecise_fwaits">;
def _SLASH_Qpar : CLFlag<"Qpar">;
def _SLASH_Qpar_report : CLJoined<"Qpar-report">;
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index 49f5166b95e4..b5dd667943d2 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -458,6 +458,7 @@
// RUN: /openmp:experimental \
// RUN: /Qfast_transcendentals \
// RUN: /QIfist \
+// RUN: /QIntel-jcc-erratum \
// RUN: /Qimprecise_fwaits \
// RUN: /Qpar \
// RUN: /Qpar-report:1 \
More information about the cfe-commits
mailing list