aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2011-09-07 00:58:53 +0000
committerRichard Trieu <rtrieu@google.com>2011-09-07 00:58:53 +0000
commit47eb89871e020babbaddeed4ee4447bc34824b9f (patch)
tree29971936f5f8c90f564d1ae925dc3458edb4fa4e /lib/Lex/Preprocessor.cpp
parent9a776695e9f3831e59519fd45d130bff20456d7a (diff)
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 }; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions