diff options
author | James Molloy <james.molloy@arm.com> | 2015-11-12 15:36:04 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2015-11-12 15:36:04 +0000 |
commit | c16a60b63e49d4ee8a054c0df54793aacd336289 (patch) | |
tree | bb6faf00712affbba06810b9d856f925564b0520 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | c744e120f601955b20f84273e2d770b6c054f45d (diff) | |
download | bcm5719-llvm-c16a60b63e49d4ee8a054c0df54793aacd336289.tar.gz bcm5719-llvm-c16a60b63e49d4ee8a054c0df54793aacd336289.zip |
[C++] Add the "norecurse" attribute to main() if in C++ mode
The C++ spec (3.6.1.3) says "The function `main` shall not be used within a program". This implies that it cannot recurse, so add the norecurse attribute to help the midend out a bit.
llvm-svn: 252902
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions