summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-09-16 22:44:20 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-09-16 22:44:20 +0000
commite9f6f33f0cf98a3e39025a57a0079cd316ed98f8 (patch)
tree7f75d092811f1f3d3c2375b7ff9800169745a89b /lib/CodeGen/CodeGenFunction.cpp
parent225e9826336f85166cbc4636ae61028f6f7868be (diff)
downloadclang-e9f6f33f0cf98a3e39025a57a0079cd316ed98f8.tar.gz
clang-e9f6f33f0cf98a3e39025a57a0079cd316ed98f8.tar.bz2
clang-e9f6f33f0cf98a3e39025a57a0079cd316ed98f8.tar.xz
[-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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions