[cfe-commits] r80132 - /cfe/trunk/tools/clang-cc/clang-cc.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Aug 26 13:15:14 PDT 2009
Author: efriedma
Date: Wed Aug 26 15:15:14 2009
New Revision: 80132
URL: http://llvm.org/viewvc/llvm-project?rev=80132&view=rev
Log:
Since the HexFloats option only controls a warning, it shouldn't depend
on whether we're in GNUMode. Adjust the code appropriately.
Modified:
cfe/trunk/tools/clang-cc/clang-cc.cpp
Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=80132&r1=80131&r2=80132&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Wed Aug 26 15:15:14 2009
@@ -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)
More information about the cfe-commits
mailing list