[all-commits] [llvm/llvm-project] 218b77: [AArch64][NFC] Move hasFeature fields initiations ...

Dani via All-commits all-commits at lists.llvm.org
Fri Dec 9 07:23:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 218b77c85057e8aae153edcedfe365061270e70c
      https://github.com/llvm/llvm-project/commit/218b77c85057e8aae153edcedfe365061270e70c
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

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

  Log Message:
  -----------
  [AArch64][NFC] Move hasFeature fields initiations to the declaration

hasFeature fields need to be initialised to false. Easy to miss as missed for hasPAuth and hasFlagM.
Maybe the code less error prone like this.

Reviewed By: chill

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




More information about the All-commits mailing list