[all-commits] [llvm/llvm-project] c7104e: [Sema] Allow comparisons between different ms ptr ...

Amy Huang via All-commits all-commits at lists.llvm.org
Tue Oct 5 10:56:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7104e506619b551ee7ab888a040114f260e8cb5
      https://github.com/llvm/llvm-project/commit/c7104e506619b551ee7ab888a040114f260e8cb5
  Author: Amy Huang <akhuang at google.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/CodeGen/ms-mixed-ptr-sizes.c
    A clang/test/Sema/MicrosoftExtensions.cpp

  Log Message:
  -----------
  [Sema] Allow comparisons between different ms ptr size address space types.

We're currently using address spaces to implement __ptr32/__ptr64 attributes;
this patch fixes a bug where clang doesn't allow types with different pointer
size attributes to be compared.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51889

Differential Revision: https://reviews.llvm.org/D110670




More information about the All-commits mailing list