[cfe-commits] r111797 - /cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
John McCall
rjmccall at apple.com
Sun Aug 22 23:56:36 PDT 2010
Author: rjmccall
Date: Mon Aug 23 01:56:36 2010
New Revision: 111797
URL: http://llvm.org/viewvc/llvm-project?rev=111797&view=rev
Log:
chandlerc pointed out that ending a line with /\ is not very friendly. :)
Modified:
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
Modified: cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp?rev=111797&r1=111796&r2=111797&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp (original)
+++ cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp Mon Aug 23 01:56:36 2010
@@ -501,11 +501,11 @@
// For member function pointers, the tautologies are more complex.
// The Itanium tautology is:
- // (L == R) <==> (L.ptr == R.ptr /\ (L.ptr == 0 \/ L.adj == R.adj))
+ // (L == R) <==> (L.ptr == R.ptr && (L.ptr == 0 || L.adj == R.adj))
// The ARM tautology is:
- // (L == R) <==> (L.ptr == R.ptr /\
- // (L.adj == R.adj \/
- // (L.ptr == 0 /\ ((L.adj|R.adj) & 1) == 0)))
+ // (L == R) <==> (L.ptr == R.ptr &&
+ // (L.adj == R.adj ||
+ // (L.ptr == 0 && ((L.adj|R.adj) & 1) == 0)))
// The inequality tautologies have exactly the same structure, except
// applying De Morgan's laws.
More information about the cfe-commits
mailing list