summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CodeGenOptions.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-11-29 02:31:40 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-11-29 02:31:40 +0000
commitf9d34dfbe4b50935b5a53ac35584f844c055864a (patch)
tree0f62681656a7a567a488c2927decdbc11e7d8c49 /clang/lib/Frontend/CodeGenOptions.cpp
parentbfcf9800b815ee2aba4165a1c0a4b33e6f6d5dc1 (diff)
downloadbcm5719-llvm-f9d34dfbe4b50935b5a53ac35584f844c055864a.tar.gz
bcm5719-llvm-f9d34dfbe4b50935b5a53ac35584f844c055864a.zip
builtins: switch to c11 from c99
This fixes an incorrect standard usage of GNU99 when the compiler check was for the ISO standard C99. Furthermore, bump the dependency up to C11. The motivation for this change is ARM EHABI compatibility with clang 3.8. We rely on a type definition redefinition which causes an error with -Werror builds. This is problematic for FreeBSD builds. Switching to C11 allows the compatibility without the unnecessary pedantic warning. The alternative would be to clutter the support header with a `pragma clang diagnostic ignore`. GCC 4.8+ and the supported clang revisions along with MSVC support enough of C11 to allow building the builtins in C11 mode. No functional change intended. llvm-svn: 288099
Diffstat (limited to 'clang/lib/Frontend/CodeGenOptions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud