Skip to content
Commit d458ceda authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[Sema] If CheckPlaceholderExpr rewrites the initializer of an auto

variable during auto type deduction, use the rewritten initializer when
performing initialization of the variable.

This silences spurious -Warc-repeated-use-of-weak warnings that are
issued when the initializer uses a weak ObjC pointer.

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

llvm-svn: 350917
parent eb139def
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment