summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-23 06:56:36 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-23 06:56:36 +0000
commit61a148881f6af92e50c7059976feeb3670dab1dd (patch)
tree5a9102dfaa7d0a6267fad14076c848988246bcce /clang
parent572ccbc2c2ecfbdcf200cefca52ac2df9f627bce (diff)
downloadbcm5719-llvm-61a148881f6af92e50c7059976feeb3670dab1dd.tar.gz
bcm5719-llvm-61a148881f6af92e50c7059976feeb3670dab1dd.zip
chandlerc pointed out that ending a line with /\ is not very friendly. :)
llvm-svn: 111797
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/CodeGen/ItaniumCXXABI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/ItaniumCXXABI.cpp b/clang/lib/CodeGen/ItaniumCXXABI.cpp
index f6864059de0..5e1bb255c91 100644
--- a/clang/lib/CodeGen/ItaniumCXXABI.cpp
+++ b/clang/lib/CodeGen/ItaniumCXXABI.cpp
@@ -501,11 +501,11 @@ ItaniumCXXABI::EmitMemberPointerComparison(CodeGenFunction &CGF,
// 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.
OpenPOWER on IntegriCloud