diff options
author | Richard Trieu <rtrieu@google.com> | 2011-09-01 21:44:13 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2011-09-01 21:44:13 +0000 |
commit | 898267f67b8131c4bed4430e2cfaf69ccf4c2de1 (patch) | |
tree | ee10d2cb647f89142098d43ee40a9466392e894f /lib/Serialization/ChainedIncludesSource.cpp | |
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
Diffstat (limited to 'lib/Serialization/ChainedIncludesSource.cpp')
0 files changed, 0 insertions, 0 deletions