[PATCH] D53674: [CodeGen] Fix assertion on referencing constexpr Obj-C object with ARC.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 31 16:36:56 PDT 2018


vsapsai updated this revision to Diff 172049.
vsapsai added a comment.

- Rename `EmitConstant` to `emitScalarConstant`.
- Tweak comment to be explicitly about intended IR code, not about Obj-C++ code.


https://reviews.llvm.org/D53674

Files:
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/lib/CodeGen/CGObjC.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/test/CodeGenObjCXX/arc-constexpr.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53674.172049.patch
Type: text/x-patch
Size: 8601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181031/f6b85e7b/attachment.bin>


More information about the cfe-commits mailing list