diff options
| author | Steve Naroff <snaroff@apple.com> | 2007-09-10 22:17:00 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2007-09-10 22:17:00 +0000 |
| commit | 4292bde14ff705b2d98d35e79b53a63d4bb1f9c2 (patch) | |
| tree | 1f18445d329d2be276941c2c127abfcd649657a3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 8c3c198499b083b94effba8d37152251a5fce42d (diff) | |
Fix the following bug submitted by Justin Handville.
int main(int argc, char* argv[])
{
return 0;
}
After speaking briefly with Chris, we decided this should be a front-end fix.
The fix...have Sema::GetTypeForDeclarator() do the default function/array conversion, as
I outlined in the 9/9 email on this topic.
Since this conversion is done before Sema::ParseParamDeclarator(), I thought I could
remove the conversion from Sema::ParseParamDeclarator(). Unfortunately, this didn't work.
The conversion apparently needs to be done in both places (which doesn't make sense to me).
Will investigate.
llvm-svn: 41811
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
