Don't warn for "if ((a == b))" if the parens came from a macro. Thanks to Fariborz...
commit56a9eb2dc4b1b6144ade22f1dc11a600b9b94d2a
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Tue, 1 Feb 2011 22:23:56 +0000 (1 22:23 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Tue, 1 Feb 2011 22:23:56 +0000 (1 22:23 +0000)
treeb86f49a4de6c5a89ae57675e33ff0318ba3dc5bf
parentb30a1b6f946146e56eb9fdf2165417ac4a12764f
Don't warn for "if ((a == b))" if the parens came from a macro. Thanks to Fariborz for the hint!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124689 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaCXX/warn-assignment-condition.cpp