[all-commits] [llvm/llvm-project] 9180f8: Don't report "main" as missing a prototype in free...
Bill Wendling via All-commits
all-commits at lists.llvm.org
Fri Nov 22 12:36:45 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9180f8a57436da0ce91d9d4885702a10f89571bc
https://github.com/llvm/llvm-project/commit/9180f8a57436da0ce91d9d4885702a10f89571bc
Author: Bill Wendling <isanbard at gmail.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Sema/no-warn-missing-prototype.c
Log Message:
-----------
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
More information about the All-commits
mailing list