diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-09-16 22:44:20 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-09-16 22:44:20 +0000 |
| commit | c729b0b50669e976f289ac92e0d697aafd6f7b64 (patch) | |
| tree | d9585179b605bf86c6f55444af48b76ccdc0153e /llvm/lib/CodeGen/InlineSpiller.cpp | |
| parent | 899f7d2b00a59f284fdb8915b63813705ce66148 (diff) | |
| download | bcm5719-llvm-c729b0b50669e976f289ac92e0d697aafd6f7b64.tar.gz bcm5719-llvm-c729b0b50669e976f289ac92e0d697aafd6f7b64.zip | |
[-cxx-abi microsoft] Correctly identify Win32 entry points
Summary:
This fixes several issues with the original implementation:
- Win32 entry points cannot be in namespaces
- A Win32 entry point cannot be a function template, diagnose if we it.
- Win32 entry points cannot be overloaded.
- Win32 entry points implicitly return, similar to main.
Reviewers: rnk, rsmith, whunt, timurrrr
Reviewed By: rnk
CC: cfe-commits, nrieck
Differential Revision: http://llvm-reviews.chandlerc.com/D1683
llvm-svn: 190818
Diffstat (limited to 'llvm/lib/CodeGen/InlineSpiller.cpp')
0 files changed, 0 insertions, 0 deletions

