| commit | a04ad1a1b9030ade5dd908e0684a862c5ccc93d0 | [log] [tgz] |
|---|---|---|
| author | Richard Trieu <rtrieu@google.com> | Thu Sep 01 21:44:13 2011 +0000 |
| committer | Richard Trieu <rtrieu@google.com> | Thu Sep 01 21:44:13 2011 +0000 |
| tree | 82785e8dc7cdd28412dd6eb971d85f93a5a3c9b6 | |
| parent | a3ba6d3b809c59b01e30486a2d8a6628597a31a9 [diff] |
Extend the self-reference warning to catch when a constructor references itself upon initialization, such as using itself within its own copy constructor.
struct S {};
S s(s);
llvm-svn: 138969