MaskRay added a comment.

The `_GNU_SOURCE` definition needs to be guarded by `if (Opts.CPlusPlus)`.



================
Comment at: clang/test/Driver/arm-baremetal-defines.cpp:1
+// RUN: %clang --target=arm-none-eabi -march=armv7-m %s -emit-llvm -S -c -o - 
2>&1 | FileCheck %s
+
----------------
Move this to `test/Preprocessor/init-arm.c`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136712/new/

https://reviews.llvm.org/D136712

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to