[PATCH] D55260: [CodeComplete] Fix a crash in access checks of inner classes

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 5 07:20:50 PST 2018


ilya-biryukov updated this revision to Diff 176820.
ilya-biryukov added a comment.

- Make sure we still run ObjC access checks.
- Add a test with a different NamingClass and BaseType.
- Fix IsSimplyAccessible to work in this case.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55260/new/

https://reviews.llvm.org/D55260

Files:
  lib/Sema/SemaAccess.cpp
  lib/Sema/SemaCodeComplete.cpp
  test/CodeCompletion/accessibility.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55260.176820.patch
Type: text/x-patch
Size: 4821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181205/0953c25f/attachment-0001.bin>


More information about the cfe-commits mailing list