]> granicus.if.org Git - clang/commitdiff
Since the HexFloats option only controls a warning, it shouldn't depend
authorEli Friedman <eli.friedman@gmail.com>
Wed, 26 Aug 2009 20:15:14 +0000 (20:15 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 26 Aug 2009 20:15:14 +0000 (20:15 +0000)
on whether we're in GNUMode.  Adjust the code appropriately.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80132 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-cc/clang-cc.cpp

index 395f89dd30b4506d351b736a4d19eec481330c20..0bc250d1899177c7f8ce0953adfbfc023deefabe 100644 (file)
@@ -750,7 +750,7 @@ static void InitializeLanguageStandard(LangOptions &Options, LangKind LK,
   
   if (Options.CPlusPlus) {
     Options.C99 = 0;
-    Options.HexFloats = Options.GNUMode;
+    Options.HexFloats = 0;
   }
   
   if (LangStd == lang_c89 || LangStd == lang_c94 || LangStd == lang_gnu89)