[PATCH] D52368: [libc++abi] is_strcmp parameter to is_equal is unused for WIN32

Pirama Arumuga Nainar via Phabricator reviews at reviews.llvm.org
Fri Sep 21 11:55:32 PDT 2018


pirama updated this revision to Diff 166527.
pirama added a comment.

Simplify patch.


Repository:
  rCXXA libc++abi

https://reviews.llvm.org/D52368

Files:
  src/private_typeinfo.cpp


Index: src/private_typeinfo.cpp
===================================================================
--- src/private_typeinfo.cpp
+++ src/private_typeinfo.cpp
@@ -64,6 +64,7 @@
         return x == y;
     return strcmp(x->name(), y->name()) == 0;
 #else
+    (void) use_strcmp;
     return (x == y) || (strcmp(x->name(), y->name()) == 0);
 #endif
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52368.166527.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20180921/7911b76d/attachment.bin>


More information about the libcxx-commits mailing list