[all-commits] [llvm/llvm-project] a1aa33: [Sema] Handle objc_super special lookup when check...

Raul Tambre via All-commits all-commits at lists.llvm.org
Fri Sep 18 10:52:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a1aa330b202f97ecd243ea9ef0c7ac00a80ea653
      https://github.com/llvm/llvm-project/commit/a1aa330b202f97ecd243ea9ef0c7ac00a80ea653
  Author: Raul Tambre <raul.tambre at cleveron.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/SemaObjCXX/builtin-objcsuper.mm

  Log Message:
  -----------
  [Sema] Handle objc_super special lookup when checking builtin compatibility

objc_super is special and needs LookupPredefedObjCSuperType() called before performing builtin type comparisons.
This fixes an error when compiling macOS headers. A test is added.

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




More information about the All-commits mailing list