[PATCH] D36253: [Sema] Add a comment on an identified bug on default arguments.

2017-08-02 Thread Tim Shen via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL309908: [Sema] Add a comment on an identified bug on default arguments. (authored by timshen). Changed prior to commit: https://reviews.llvm.org/D36253?vs=109461&id=109464#toc Repository: rL LLVM ht

[PATCH] D36253: [Sema] Add a comment on an identified bug on default arguments.

2017-08-02 Thread Tim Shen via Phabricator via cfe-commits
timshen created this revision. Herald added a subscriber: sanjoy. The mis-compile is triggered by internal code, but I haven't reduced it to a small piece of code. Add a FIXME here, since a decent fix doesn't seem to be trivial. The decent fix can be changing Decl::Init to PointerUnion, and mak