[all-commits] [llvm/llvm-project] c9968f: [Clang] Improve infrastructure for libstdc++ worka...

cor3ntin via All-commits all-commits at lists.llvm.org
Tue Jun 3 05:23:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9968f4a04e055353f0667a16bcf34f1b3d855a5
      https://github.com/llvm/llvm-project/commit/c9968f4a04e055353f0667a16bcf34f1b3d855a5
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/include/clang/Lex/Preprocessor.h
    M clang/lib/Lex/PPExpressions.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExceptionSpec.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaCXX/libstdcxx_common_type_hack.cpp
    M clang/test/SemaCXX/libstdcxx_explicit_init_list_hack.cpp
    M clang/test/SemaCXX/libstdcxx_pair_swap_hack.cpp

  Log Message:
  -----------
  [Clang] Improve infrastructure for libstdc++ workarounds (Reland) (#142592)

Reland with debug traces to try to understand a bug that only happens on
one CI configuration

===

This introduces a way detect the libstdc++ version,
use that to enable workarounds.
The version is cached.

This should make it easier in the future to find and remove
these hacks.

I did not find the need for enabling a hack between or after
specific versions, so it's left as a future exercise.

We can extend this fature to other libraries as the need arise.

===



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list