Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove checks for old gcc versions for LLVM_ATTRIBUTE_*
According to [1] we only support gcc 5.1+. So these checks for older gcc versions are not supported. Some gcc 5.1+ versions still don't support __has_builtin, so just check __GNUC__ in those cases. Add a missing #endif for LLVM_ATTRIBUTE_UNREACHABLE. [1] https://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D111581
- Loading branch information
Showing
1 changed file
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters