[all-commits] [llvm/llvm-project] c23d6d: [AArch64] Don't define reserved macros

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue Sep 17 10:08:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c23d6df60d62f971d957e730f6fe55ea89541f6b
      https://github.com/llvm/llvm-project/commit/c23d6df60d62f971d957e730f6fe55ea89541f6b
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp

  Log Message:
  -----------
  [AArch64] Don't define reserved macros

It's not allowed. It also prevents Clang from compiling itself on
Aarch64.

lib/Basic/Targets/AArch64.cpp:404:9: warning: '__ARM_ACLE_VERSION' macro redefined [-Wmacro-redefined]
  404 | #define __ARM_ACLE_VERSION(Y, Q, P) (100 * (Y) + 10 * (Q) + (P))



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list