]> granicus.if.org Git - clang/commit
Fix a couple bugs in aggregate cast processing: 1) fix precedecence
authorChris Lattner <sabre@nondot.org>
Fri, 25 Jul 2008 22:06:10 +0000 (22:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Jul 2008 22:06:10 +0000 (22:06 +0000)
commit32b62b6c68ba69799cfca560e3d255897f52887e
treece2f244fa27b9250246a98915dd83473165f4963
parent9801c8b47a689c0633f7cb4df984aa8c1a52a658
Fix a couple bugs in aggregate cast processing: 1) fix precedecence
problem with &&/||.  2) use canonical types for comparison instead
of raw types. 3) emit an ext-warn for a gnu extension.

Also simplify the code to make it less nested.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp