[all-commits] [llvm/llvm-project] e0e07a: Fix detection of __attribute__((may_alias)) to pro...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Dec 11 14:04:46 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e0e07a7e414e818788144511de0c6328285c43cd
      https://github.com/llvm/llvm-project/commit/e0e07a7e414e818788144511de0c6328285c43cd
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M clang/lib/CodeGen/CodeGenTBAA.cpp
    A clang/test/CodeGenCXX/may_alias.cpp

  Log Message:
  -----------
  Fix detection of __attribute__((may_alias)) to properly look through
type sugar.

We previously missed the attribute in a lot of cases in C++, because
there's often other type sugar there (eg, ElaboratedType).




More information about the All-commits mailing list