commit | edfdc498b8c3b60a548118051c8af96bcf97e731 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Thu Dec 06 13:52:20 2018 +0000 |
committer | Louis Dionne <ldionne@apple.com> | Thu Dec 06 13:52:20 2018 +0000 |
tree | 23991ff1ed4db05397d14dee7ca529eab1c2cd0e | |
parent | 8bcb9cabcd045b57f3fde41b7df532a331915bd3 [diff] |
[libcxx] Make return value of array<T, 0>.data() checked only for libc++ The section array.zero says: "The return value of data() is unspecified". This patch marks all checks of the array<T, 0>.data() return value as libc++ specific. Reviewed as https://reviews.llvm.org/D55364. Thanks to Andrey Maksimov for the patch. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@348485 91177308-0d34-0410-b5e6-96231b3b80d8