[all-commits] [llvm/llvm-project] 411808: [C++20] [Modules] Remove previous workaround for o...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Sun Jan 28 22:39:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4118082f651a05cca258c684ab1199578b57afac
      https://github.com/llvm/llvm-project/commit/4118082f651a05cca258c684ab1199578b57afac
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M clang/lib/AST/ODRHash.cpp
    A clang/test/Modules/cxx20-modules-enum-odr.cppm

  Log Message:
  -----------
  [C++20] [Modules] Remove previous workaround for odr hashing enums

Previosly we land
https://github.com/llvm/llvm-project/commit/085eae6b863881fb9fda323e5b672b04a00ed19e
to workaround the false positive ODR violations in
https://github.com/llvm/llvm-project/issues/76638.

However, we decided to not perform ODR checks for decls from GMF in
https://github.com/llvm/llvm-project/issues/79240 and we land the
corresponding change. So we should be able to remove the workaround now.

The original tests get remained.




More information about the All-commits mailing list