diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-07-20 03:39:05 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-07-20 03:39:05 +0000 |
commit | 381767fcfe2fdf53727099d95b23b0c9e6a9aa6c (patch) | |
tree | b3f008d6d05f480d9b1ac8c317c47b48b05ce8b7 /lib/Driver/Tools.cpp | |
parent | 4a410dd179a960318dc0fef0a4eb1c1de63d9870 (diff) |
Let Expr::HasSideEffects() return false for NULL, bool literals, this, and nullptr.
Fixes PR13413, -Wunused-private-field now warns on unused fields initialized to NULL.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions