Skip to content
Commit a04ad1a1 authored by Richard Trieu's avatar Richard Trieu
Browse files

Extend the self-reference warning to catch when a constructor references...

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
parent a3ba6d3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment