From 315d44f77348ab80824353df2622c3d3d5445518 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Wed, 30 Nov 2016 13:44:50 -0500
Subject: [PATCH] VS: Add v141 flag table entry for `-Zc:inline-`

The negative form of the `-Zc:inline` flag is missing from

    c:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/VC/VCTargets/1033/cl.xml

so it was not included in our flag table automatically.  Add it manually.

Suggested-by: Serti Ayoub <ayb.serti@gmail.com>
---
 Source/cmVS141CLFlagTable.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Source/cmVS141CLFlagTable.h b/Source/cmVS141CLFlagTable.h
index 895b3e854f..f751fc875d 100644
--- a/Source/cmVS141CLFlagTable.h
+++ b/Source/cmVS141CLFlagTable.h
@@ -171,6 +171,7 @@ static cmVS7FlagTable cmVS141CLFlagTable[] = {
   { "TreatWChar_tAsBuiltInType", "Zc:wchar_t", "", "true", 0 },
   { "ForceConformanceInForLoopScope", "Zc:forScope-", "", "false", 0 },
   { "ForceConformanceInForLoopScope", "Zc:forScope", "", "true", 0 },
+  { "RemoveUnreferencedCodeData", "Zc:inline-", "", "false", 0 },
   { "RemoveUnreferencedCodeData", "Zc:inline", "", "true", 0 },
   { "EnforceTypeConversionRules", "Zc:rvalueCast-", "", "false", 0 },
   { "EnforceTypeConversionRules", "Zc:rvalueCast", "", "true", 0 },
-- 
GitLab