commit | 381767fcfe2fdf53727099d95b23b0c9e6a9aa6c | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Fri Jul 20 03:39:05 2012 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Fri Jul 20 03:39:05 2012 +0000 |
tree | b3f008d6d05f480d9b1ac8c317c47b48b05ce8b7 | |
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