HomePhabricator

[clang] Add missing header guard in <cpuid.h>

Authored by mcgrathr on Nov 10 2020, 6:56 PM.

Description

[clang] Add missing header guard in <cpuid.h>

This header has long lacked a standard multiple inclusion guard
like other headers have, for no apparent reason. The GCC header
of the same name likewise lacks one up through release 10.1, but
trunk GCC (release 11, and perhaps future 10.x) has fixed it
(see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96238).

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D91226

Details

Committed
mcgrathrNov 10 2020, 7:34 PM
Reviewer
phosek
Differential Revision
D91226: [clang] Add missing header guard in <cpuid.h>
Parents
rG21fbe2ee6845: Revert "[BranchProbabilityInfo] Use SmallVector (NFC)"
Branches
Unknown
Tags
Unknown