[all-commits] [llvm/llvm-project] 66bafd: [MLIR] Improve TypeID anonymous namespace check to...

Mieszko Dziadowiec via All-commits all-commits at lists.llvm.org
Wed May 27 00:08:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66bafd43ff2beb1d727339361df7ad34ea30e97a
      https://github.com/llvm/llvm-project/commit/66bafd43ff2beb1d727339361df7ad34ea30e97a
  Author: Mieszko Dziadowiec <mieszko.dziadowiec at intel.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M mlir/lib/Support/TypeID.cpp

  Log Message:
  -----------
  [MLIR] Improve TypeID anonymous namespace check to handle GCC's __PRETTY_FUNCTION__ format (#199634)

The anonymous namespace detection in
`FallbackTypeIDResolver::registerImplicitTypeID` only checked for
Clang's `(anonymous namespace)` and MSVC's `anonymous-namespace`
formats. GCC produces `{anonymous}` in `__PRETTY_FUNCTION__`, silently
bypassing the check.



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