commit | 898267f67b8131c4bed4430e2cfaf69ccf4c2de1 | [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 | ee10d2cb647f89142098d43ee40a9466392e894f | |
parent | aec230d29835285777ecc467e268c83b33a2adde [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); git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138969 91177308-0d34-0410-b5e6-96231b3b80d8