diff options
author | Bill Wendling <isanbard@gmail.com> | 2019-11-22 12:35:14 -0800 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2019-11-22 12:35:43 -0800 |
commit | 9180f8a57436da0ce91d9d4885702a10f89571bc (patch) | |
tree | cf042ab23f00158ec77ad0c730d47a1e4ce59d07 /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | |
parent | 0c7a1c0cfc2a4e5b8b7f3920b2797c12963b8384 (diff) | |
download | llvm-9180f8a57436da0ce91d9d4885702a10f89571bc.zip llvm-9180f8a57436da0ce91d9d4885702a10f89571bc.tar.gz llvm-9180f8a57436da0ce91d9d4885702a10f89571bc.tar.bz2 |
Don't report "main" as missing a prototype in freestanding mode
Summary:
A user may want to use freestanding mode with the standard "main" entry
point. It's not useful to warn about a missing prototype as it's not
typical to have a prototype for "main".
Reviewers: efriedma, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: aaron.ballman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D70588
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeMoverUtils.cpp')
0 files changed, 0 insertions, 0 deletions