[all-commits] [llvm/llvm-project] f91f28: [Sema] Split special builtin type lookups into a s...

Raul Tambre via All-commits all-commits at lists.llvm.org
Mon Sep 21 09:12:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f91f28c350df6815d37c521e8f3dc0641a3ca467
      https://github.com/llvm/llvm-project/commit/f91f28c350df6815d37c521e8f3dc0641a3ca467
  Author: Raul Tambre <raul at tambre.ee>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaLookup.cpp

  Log Message:
  -----------
  [Sema] Split special builtin type lookups into a separate function

In case further such cases appear in the future we've got a generic function to add them to.
Additionally changed the ObjC special case to check the language and the identifier builtin ID instead of the name.

Addresses the cleanup suggestion from D87917.

Reviewed By: rjmccall

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




More information about the All-commits mailing list