[all-commits] [llvm/llvm-project] c1401e: [Clang][Sema] Fix access of friend class in local ...

elizabethandrews via All-commits all-commits at lists.llvm.org
Tue Jun 6 10:49:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1401e9f3e7cfe10d5c8d7d040d66898bbc8ef39
      https://github.com/llvm/llvm-project/commit/c1401e9f3e7cfe10d5c8d7d040d66898bbc8ef39
  Author: Elizabeth Andrews <elizabeth.andrews at intel.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/Sema/local-class-friend.cpp

  Log Message:
  -----------
  [Clang][Sema] Fix access of friend class in local class

Clang currently emits an error when a friend of a local class
tries to access it's private data members. This patch fixes the bug.

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




More information about the All-commits mailing list