[all-commits] [llvm/llvm-project] 7dd42e: clang: Exclude efi_main from -Wmissing-prototypes
Daan De Meyer via All-commits
all-commits at lists.llvm.org
Sat Feb 20 12:04:12 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7dd42ecfa2a29bac89c965544c14b32805c8f02b
https://github.com/llvm/llvm-project/commit/7dd42ecfa2a29bac89c965544c14b32805c8f02b
Author: Daan De Meyer <daan.j.demeyer at gmail.com>
Date: 2021-02-20 (Sat, 20 Feb 2021)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/no-warn-missing-prototype.c
Log Message:
-----------
clang: Exclude efi_main from -Wmissing-prototypes
When compiling UEFI applications, the main function is named
efi_main() instead of main(). Let's exclude efi_main() from
-Wmissing-prototypes as well to avoid warnings when working
on UEFI applications.
Differential Revision: https://reviews.llvm.org/D95746
More information about the All-commits
mailing list