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 | a04ad1a1b9030ade5dd908e0684a862c5ccc93d0 (patch) | |
tree | 82785e8dc7cdd28412dd6eb971d85f93a5a3c9b6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a3ba6d3b809c59b01e30486a2d8a6628597a31a9 (diff) | |
download | bcm5719-llvm-a04ad1a1b9030ade5dd908e0684a862c5ccc93d0.tar.gz bcm5719-llvm-a04ad1a1b9030ade5dd908e0684a862c5ccc93d0.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions