[PATCH] D96816: [ObjC] Encode pointers to C++ classes as "^v" if the encoded string would otherwise include template specialization types
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 18 07:29:57 PST 2021
ahatanak updated this revision to Diff 324628.
ahatanak marked 2 inline comments as done.
ahatanak added a comment.
- Use `BoolFOption` to define both the positive and negative options.
- Enable the optimization if the ObjC runtime is a NeXT-family runtime.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96816/new/
https://reviews.llvm.org/D96816
Files:
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/Options.td
clang/lib/AST/ASTContext.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CodeGenObjCXX/encode.mm
clang/test/Driver/objc-encode-cxx-class-template-spec.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96816.324628.patch
Type: text/x-patch
Size: 10192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210218/5383763c/attachment.bin>
More information about the cfe-commits
mailing list