erikv updated this revision to Diff 118347.
erikv added a comment.
Added new test
Repository:
rL LLVM
https://reviews.llvm.org/D38718
Files:
lib/Sema/SemaChecking.cpp
test/Sema/conditional-expr.c
test/Sema/warn-tautological-compare.c
Index: test/Sema/conditional-expr.c
==
erikv created this revision.
Submitting a patch to Bugzilla 20951.
Simply replaced the function call IgnoreImpCasts to IgnoreParenImpCasts which
seems to more appropriate.
I also had to modify a test cast in test/Sema/conditional-expr.c
/E
https://reviews.llvm.org/D38718
Files:
lib/Sema/Se
erikv created this revision.
Committing a patch to Bugzilla 31373
A novice programmer so hopefully it complies with the coding policy.
I had to disable an assert in lib/CodeGen/CGExpr.cpp since it requires that all
expressions are marked as Used or referenced, which is not possible if we want
t