diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2008-08-25 20:46:57 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2008-08-25 20:46:57 +0000 |
| commit | c3f07644a7846ac6fa8d952afcec7649a48213c4 (patch) | |
| tree | 6abf436b4cdf05702731b461d6a1059c3980cb5f /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 6ba82a4a4b295e54cf192c3e98b28f39990c6194 (diff) | |
| download | clang-c3f07644a7846ac6fa8d952afcec7649a48213c4.tar.gz clang-c3f07644a7846ac6fa8d952afcec7649a48213c4.tar.bz2 clang-c3f07644a7846ac6fa8d952afcec7649a48213c4.tar.xz | |
Fix for PR2720; be a little bit more permissive in initializers for
casting pointers to integers.
Eventually, we should check whether we can evaluate an expression
using Expr::tryEvaluate, and this codepath should be tightened to only
handle standard-compliant cases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
