[all-commits] [llvm/llvm-project] 2497d5: Define _GNU_SOURCE for arm baremetal in C++ mode.
m-gupta via All-commits
all-commits at lists.llvm.org
Thu Nov 3 13:59:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2497d5aa7716a664c4f73df1980b026c906c7522
https://github.com/llvm/llvm-project/commit/2497d5aa7716a664c4f73df1980b026c906c7522
Author: Manoj Gupta <manojgupta at google.com>
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M clang/lib/Basic/Targets/ARM.cpp
M clang/test/Preprocessor/init-arm.c
Log Message:
-----------
Define _GNU_SOURCE for arm baremetal in C++ mode.
This matches other C++ drivers e.g. Linux that define
_GNU_SOURCE. This lets clang compiler more code by default
without explicitly passing _GNU_SOURCE on command line.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D136712
More information about the All-commits
mailing list