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 | 08d51393bfa55a0b7d99db2b2a59f1df7d3f4f68 (patch) | |
tree | a10de488243b3352ccec6fa7dba2e68113b32c35 /Basic/SourceManager.cpp | |
parent | 2bd42fadafddc8acf744b57a970bdc96a077c617 (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions