diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-22 01:43:19 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-22 01:43:19 +0000 |
| commit | 0d779704f90b773e2c079447ac0e2ee784b56423 (patch) | |
| tree | 30e3256422040588859281475843dfa7de18b304 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 69da841e85785ea625467e23804f6a9dd376528b (diff) | |
| download | clang-0d779704f90b773e2c079447ac0e2ee784b56423.tar.gz clang-0d779704f90b773e2c079447ac0e2ee784b56423.tar.bz2 clang-0d779704f90b773e2c079447ac0e2ee784b56423.tar.xz | |
Enforce restrictions that 'main' is not allowed to be deleted, or to be used by
the program, in C++. (We allow the latter as an extension, since we've always
permitted it, and GCC does the same, and our supported C++ ABIs don't do
anything special in main.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199782 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
