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

Change the self-reference visitor (which gives the warning for self-reference...

Change the self-reference visitor (which gives the warning for self-reference oninitalization warning of -Wuninitialized) to exclude member variables that can decay into pointers.  This will cause it to no longer warn on this code:

struct foo { char a[100], *e; } bar = { .e = bar.a };

llvm-svn: 139213
parent 5f2b7036
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