commit | c3f07644a7846ac6fa8d952afcec7649a48213c4 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Mon Aug 25 20:46:57 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Mon Aug 25 20:46:57 2008 +0000 |
tree | 6abf436b4cdf05702731b461d6a1059c3980cb5f | |
parent | 6ba82a4a4b295e54cf192c3e98b28f39990c6194 [diff] |
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