summaryrefslogtreecommitdiff
path: root/lib/Lex/PreprocessorLexer.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2017-12-04 21:58:43 +0000
committerErich Keane <erich.keane@intel.com>2017-12-04 21:58:43 +0000
commit30ba5010aac14b017e0df78fdc855ffa888ea325 (patch)
treea75543c34ba414ac062bc04fc3f05527c1d8a9ae /lib/Lex/PreprocessorLexer.cpp
parent76f57b28554f0c281b1e5e3dc2749fe8c4893193 (diff)
downloadclang-30ba5010aac14b017e0df78fdc855ffa888ea325.tar.gz
Add _Float128 as alias to __float128 to enable compilations on Fedora27/glibc2-26
Fedora27 is using a new version of glibc that refers to the _Float128 type. This patch adds that name as an alias to float128. I also added some predefined macro values for the digits, mantissa, epilon, etc (FloatMacros). For the test case, I copied an existing float128 test. This functionality needs work long term, but it should be sufficient to tread water for a while. At Intel we have test servers running our LLVM compiler with various open source workloads, the server has been upgraded to Fedora27 so many workloads are failing due to _Float128. Patch-By: mibintc Differential Revision: https://reviews.llvm.org/D40673 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
0 files changed, 0 insertions, 0 deletions