diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-12-20 20:55:03 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-12-20 20:55:03 +0000 |
commit | 7c441069a41e164498047aaed542d0d64bc11962 (patch) | |
tree | 6a63262ce9cb3185116c7bba59f4517d51faa9fe /lib/StaticAnalyzer/Core/ProgramState.cpp | |
parent | 7b00b84752b7f3cbd4079f88ddb359170b7073c1 (diff) |
Warn if a __weak variable is initialized with an Objective-C object literal.
Such variables may immediately become nil or may have unpredictable
behavior.
Fixes <rdar://problem/12569201>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ProgramState.cpp')
0 files changed, 0 insertions, 0 deletions