diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-25 06:36:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-25 06:36:36 +0000 |
commit | 56a95f6c16a894864346b24afc4c5110a6082f30 (patch) | |
tree | 4d53882582f9ef65c58d0d7acead81bf639d3ea4 /clang/lib/Sema/SemaCXXScopeSpec.cpp | |
parent | 2755edf4c4c6e4c129daa24fe40362872040510c (diff) | |
download | bcm5719-llvm-56a95f6c16a894864346b24afc4c5110a6082f30.tar.gz bcm5719-llvm-56a95f6c16a894864346b24afc4c5110a6082f30.zip |
Fix a bug in our autoupgrade support: in an argument list to a function
call, we should treat "i64 zext" as the start of a constant expr, but
"i64 0 zext" as an argument with an obsolete attribute on it (this form
is already tested by test/Assembler/2007-07-30-AutoUpgradeZextSext.ll).
Make the autoupgrade logic more discerning to avoid treating "i64 zext"
as an old-style attribute, causing us to reject a valid constant expr.
This fixes PR3876.
llvm-svn: 67682
Diffstat (limited to 'clang/lib/Sema/SemaCXXScopeSpec.cpp')
0 files changed, 0 insertions, 0 deletions