[all-commits] [llvm/llvm-project] 1f2122: [clang][SVE] Use __inline__ instead of inline in a...

Joe Ellis via All-commits all-commits at lists.llvm.org
Thu Feb 18 09:10:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f2122c9b046a7d6d141f7c42528d8a3e2e66b70
      https://github.com/llvm/llvm-project/commit/1f2122c9b046a7d6d141f7c42528d8a3e2e66b70
  Author: Joe Ellis <joe.ellis at arm.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M clang/utils/TableGen/SveEmitter.cpp

  Log Message:
  -----------
  [clang][SVE] Use __inline__ instead of inline in arm_sve.h

The inline keyword is not defined in the C89 standard, so source files
that include arm_sve.h will fail compilation if -std=c89 is specified.
For consistency with arm_neon.h, we should use __inline__ instead.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list