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 | e6c19f22b2274ef6eb37f1f82e0cba875b545ee9 (patch) | |
| tree | 01b028d495e36ac6b0f902aa95416d934abeab47 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 34a2c8718f71ae1e5d69c7856500675ff296deae (diff) | |
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.
llvm-svn: 194762
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
