[all-commits] [llvm/llvm-project] f47b88: [clang] Enable errors for undefined TARGET_OS_ mac...

Zixu Wang via All-commits all-commits at lists.llvm.org
Mon Jul 6 14:52:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f47b8851318d5ec2fa1e7867f3fdb86101cdc1da
      https://github.com/llvm/llvm-project/commit/f47b8851318d5ec2fa1e7867f3fdb86101cdc1da
  Author: Zixu Wang <zixu_wang at apple.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    A clang/test/Driver/darwin-warning-options.c

  Log Message:
  -----------
  [clang] Enable errors for undefined TARGET_OS_ macros in Darwin driver

Add clang option `-Wundef-prefix=TARGET_OS_` and `-Werror=undef-prefix`
to Darwin driver.

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




More information about the All-commits mailing list