diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-05 07:52:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-05 07:52:51 +0000 |
commit | 998fa0a2a2cdd94c567bb765f12bcf7e576e7542 (patch) | |
tree | 681cf6cca305a7caedf032bfa711a6710f039033 /llvm/lib/VMCore/Function.cpp | |
parent | d11f51473960a8def039b0269939008ed9e2733f (diff) | |
download | bcm5719-llvm-998fa0a2a2cdd94c567bb765f12bcf7e576e7542.tar.gz bcm5719-llvm-998fa0a2a2cdd94c567bb765f12bcf7e576e7542.zip |
fix PR3281:accepted0[02].ll: represent empty arrays distinctly, and
diagnose attempts to initialize non-empty arrays with them. This
produces:
llvm-as: accepted02.ll:1:28: invalid empty array initializer
@"o" = global [5 x double] []
^
llvm-as: accepted00.ll:1:32: invalid empty array initializer
@"za" = thread_local global {} []
^
[
llvm-svn: 61676
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions