diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2015-09-22 21:58:30 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2015-09-22 21:58:30 +0000 |
| commit | 286a74e93dcc99179495b47167b0328c3410aa10 (patch) | |
| tree | 10654919e82ba4e18da584c9a4e8a21cfbd22a8a /libcxx | |
| parent | 7908b129677f3c328cf9f52836c2742cedd77a65 (diff) | |
| download | bcm5719-llvm-286a74e93dcc99179495b47167b0328c3410aa10.tar.gz bcm5719-llvm-286a74e93dcc99179495b47167b0328c3410aa10.zip | |
Fix Typo in GCC no RTTI detection. Fixes PR#24901. Thanks to Bernhard Rosenkraenzer for the report and the patch.
llvm-svn: 248329
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/include/__config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 554109727fd..73e653c1990 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -744,7 +744,7 @@ extern "C" void __sanitizer_annotate_contiguous_container( // g++ and cl.exe have RTTI on by default and define a macro when it is. // g++ only defines the macro in 4.3.2 and onwards. #if !defined(_LIBCPP_NO_RTTI) -# if defined(__GNUG__) && ((__GNUC__ >= 5) || (__GNUC__ == 4 && \ +# if defined(__GNUC__) && ((__GNUC__ >= 5) || (__GNUC__ == 4 && \ (__GNUC_MINOR__ >= 3 || __GNUC_PATCHLEVEL__ >= 2))) && !defined(__GXX_RTTI) # define _LIBCPP_NO_RTTI # elif (defined(_MSC_VER) && !defined(__clang__)) && !defined(_CPPRTTI) |

