diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-11-15 02:10:04 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-11-15 02:10:04 +0000 |
| commit | e21432efa94079aa1a62f7d5ff3b47a92d3c8296 (patch) | |
| tree | 967d67e82d4b858f3534543187138a06def3b629 /lib/CodeGen/CGExprComplex.cpp | |
| parent | 0de6bc8ea32e2813aac5f98c348ce735a5bdca08 (diff) | |
| download | clang-e21432efa94079aa1a62f7d5ff3b47a92d3c8296.tar.gz clang-e21432efa94079aa1a62f7d5ff3b47a92d3c8296.tar.bz2 clang-e21432efa94079aa1a62f7d5ff3b47a92d3c8296.tar.xz | |
Modern gcc is happy to constant evaluate __builtin_strlen in various cases
where we didn't. Extend our constant evaluation for __builtin_strlen to handle
any constant array of chars, not just string literals, to match.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
