[all-commits] [llvm/llvm-project] 20556c: [ADT] Fix circular include dependency by using std...

zyn0217 via All-commits all-commits at lists.llvm.org
Tue Jan 24 16:10:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20556c483411f0f606f2529a1ef72a0c00ef7e75
      https://github.com/llvm/llvm-project/commit/20556c483411f0f606f2529a1ef72a0c00ef7e75
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/MC/SubtargetFeature.h

  Log Message:
  -----------
  [ADT] Fix circular include dependency by using std::array. NFC

2db6b34ea introduces circular dependency on llvm::ArrayRef. By
inspecting commit history, it appears that we have some issue using
deduction guide on std::array. Why don't we try std::array with explicit
template arguments?

Differential revision: https://reviews.llvm.org/D141352




More information about the All-commits mailing list