[all-commits] [llvm/llvm-project] ec7e77: [ADT] Mark variable inline to avoid ODR violations...

Joseph Loser via All-commits all-commits at lists.llvm.org
Fri Aug 12 11:56:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec7e7797b14d214a1e682d589c3525eebb5e9227
      https://github.com/llvm/llvm-project/commit/ec7e7797b14d214a1e682d589c3525eebb5e9227
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ADT/Sequence.h

  Log Message:
  -----------
  [ADT] Mark variable inline to avoid ODR violations in Sequence.h

Mark `force_iteration_on_noniterable_enum` as an `inline` variable
to avoid ODR violations.

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




More information about the All-commits mailing list