diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-04 06:24:32 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-04 06:24:32 +0000 |
| commit | f016bbcc610ba2d468b2966fd77831415c23149c (patch) | |
| tree | cb4e5012065e050fe3539b379bfc7e292ac5f4c3 /clang/INPUTS | |
| parent | 0e60cd78cc3c071870bba865663d09c09f184544 (diff) | |
| download | bcm5719-llvm-f016bbcc610ba2d468b2966fd77831415c23149c.tar.gz bcm5719-llvm-f016bbcc610ba2d468b2966fd77831415c23149c.zip | |
For PR11916: Add support for g++'s __int128 keyword. Unlike __int128_t, this is
a type specifier and can be combined with unsigned. This allows libstdc++4.7 to
be used with clang in c++98 mode.
Several other changes are still required for libstdc++4.7 to work with clang in
c++11 mode.
llvm-svn: 153999
Diffstat (limited to 'clang/INPUTS')
| -rw-r--r-- | clang/INPUTS/all-std-headers.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/INPUTS/all-std-headers.cpp b/clang/INPUTS/all-std-headers.cpp index 13e378dfc9f..5f13b9d5e8a 100644 --- a/clang/INPUTS/all-std-headers.cpp +++ b/clang/INPUTS/all-std-headers.cpp @@ -44,7 +44,9 @@ #include <stdexcept> #include <streambuf> #include <string> -#include <strstream> +#if __has_include(<strstream>) +#include <strstream> +#endif #include <typeinfo> #include <utility> #include <valarray> |

