Since the HexFloats option only controls a warning, it shouldn't depend
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
diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp
index 395f89d..0bc250d 100644
--- a/tools/clang-cc/clang-cc.cpp
+++ b/tools/clang-cc/clang-cc.cpp
@@ -750,7 +750,7 @@
if (Options.CPlusPlus) {
Options.C99 = 0;
- Options.HexFloats = Options.GNUMode;
+ Options.HexFloats = 0;
}
if (LangStd == lang_c89 || LangStd == lang_c94 || LangStd == lang_gnu89)