[PATCH] D95845: [ObjC] Add a command line flag that disables recognition of objc_direct for testability

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 30 06:35:09 PDT 2021


erik.pilkington updated this revision to Diff 334136.
erik.pilkington added a comment.

- Use the new marshaling infrastructure
- Fix a few places in Sema where we manually checked for `ObjCDirectAttr` instead of using `isDirectMethod`


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

https://reviews.llvm.org/D95845

Files:
  clang/include/clang/AST/DeclObjC.h
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/AST/DeclObjC.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Sema/SemaDeclObjC.cpp
  clang/test/CodeGenObjC/disable-direct-method.m
  clang/test/Driver/clang_f_opts.c
  clang/test/SemaObjC/disable-direct-method.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95845.334136.patch
Type: text/x-patch
Size: 8565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210330/cb28f45f/attachment-0001.bin>


More information about the cfe-commits mailing list