summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-08 15:36:55 +0000
committered <ed@FreeBSD.org>2009-06-08 15:36:55 +0000
commit6514d87c1aa5b544d02c3822fe41217e2051673d (patch)
tree7ab9fa5634c95f5df8575db81b24ea5586e65b28 /tools
parent2ae812c77b393190175c91233c3348f526ddab1b (diff)
downloadFreeBSD-src-6514d87c1aa5b544d02c3822fe41217e2051673d.zip
FreeBSD-src-6514d87c1aa5b544d02c3822fe41217e2051673d.tar.gz
Import Clang r73070.
Diffstat (limited to 'tools')
-rw-r--r--tools/clang-cc/clang-cc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp
index f38c6bd..c58340c 100644
--- a/tools/clang-cc/clang-cc.cpp
+++ b/tools/clang-cc/clang-cc.cpp
@@ -808,7 +808,8 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
if (PascalStrings.getPosition())
Options.PascalStrings = PascalStrings;
- Options.Microsoft = MSExtensions;
+ if (MSExtensions.getPosition())
+ Options.Microsoft = MSExtensions;
Options.WritableStrings = WritableStrings;
if (NoLaxVectorConversions.getPosition())
Options.LaxVectorConversions = 0;
OpenPOWER on IntegriCloud