diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2016-02-12 12:34:44 +0000 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2016-02-12 12:34:44 +0000 |
commit | 8bc0caa2e9494524860f35f37fbfc875ac0c329b (patch) | |
tree | a4d396d1fc5469ea1b3e4d164a1bca323926fad2 /llvm/lib | |
parent | 867aa20b1ec9833fd510e7990aa7894a995cb414 (diff) | |
download | bcm5719-llvm-8bc0caa2e9494524860f35f37fbfc875ac0c329b.tar.gz bcm5719-llvm-8bc0caa2e9494524860f35f37fbfc875ac0c329b.zip |
Fix ICE with constexpr and friend functions
Fix a crash while parsing this code:
struct X {
friend constexpr int foo(X*) { return 12; }
static constexpr int j = foo(static_cast<X*>(nullptr));
};
Differential Revision: http://reviews.llvm.org/D16973
llvm-svn: 260675
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions