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.
Details
Details
- Reviewers
dblaikie - Group Reviewers
Restricted Project - Commits
- rG7dd42ecfa2a2: clang: Exclude efi_main from -Wmissing-prototypes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Looks good to me - maybe the test could be rolled into whatever file is already testing -Wmissing-prototype and the existing special case for "main"?
Do you need me to commit this, or can you commit it yourself?