Revert "Do not apply calling conventions to MSVC entry points"
authorAmy Huang <akhuang@google.com>
Wed, 16 Sep 2020 20:51:36 +0000 (13:51 -0700)
committerAmy Huang <akhuang@google.com>
Wed, 16 Sep 2020 20:52:29 +0000 (13:52 -0700)
commitbebfc3b92d5e8dd1b1d75d40d5d03975957eec14
tree06b3c2eaa86ace990613166de9e40db68dd3a06f
parent9a0d1b66730c8761a5da59351bf1c7666958130b
Revert "Do not apply calling conventions to MSVC entry points"

This reverts commit 4cff1b40dacf6a5489b09657d94ea4757b8cd3b0.

Caused "undefined symbol: _WinMain@16" link errors.
clang/lib/Sema/SemaDecl.cpp
clang/test/CodeGenCXX/default_calling_conv.cpp