[all-commits] [llvm/llvm-project] 8dfa65: [Clang] Fix crash when transforming a `DependentAd...

Sirraide via All-commits all-commits at lists.llvm.org
Tue Aug 6 17:37:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dfa651a6325760ecd21618c762a1dad9ec79333
      https://github.com/llvm/llvm-project/commit/8dfa651a6325760ecd21618c762a1dad9ec79333
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaTemplate/address_space-dependent.cpp

  Log Message:
  -----------
  [Clang] Fix crash when transforming a `DependentAddressSpaceType` (#102206)

We were forgetting to pass the `TypeLocBuilder` along to
`TransformType`, causing us to complain if we then tried to build a
`DependentAddressSpaceTypeLoc` because the inner `TypeLoc` was 
missing from the TLB.

Fixes #101685.



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