From: Chris Lattner Date: Thu, 11 Oct 2007 16:06:02 +0000 (+0000) Subject: clarify X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=507cc6cf97cf70f1878c4c91a99116f3a70742b7;p=clang clarify git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42862 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/TODO.txt b/TODO.txt index 3ef14617cd..e18fd5a812 100644 --- a/TODO.txt +++ b/TODO.txt @@ -4,7 +4,8 @@ Warn about "X && 0x1000" saying that the user may mean "X & 0x1000". -Probably only want to do this for hex immediates. Likewise for ||. +We should do this for any immediate except zero, so long as it doesn't come +from a macro expansion. Likewise for ||. //===---------------------------------------------------------------------===//