[PATCH] D12579: AST: simplify handling of the mangling

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 2 17:07:14 PDT 2015


compnerd added inline comments.

================
Comment at: lib/AST/Mangle.cpp:191
@@ -199,3 +190,3 @@
   else
-    Out << "_block_invoke_" << discriminator+1;
+    Out << "_block_invoke_" << discriminator + 1;
 }
----------------
Drive by reformat.

================
Comment at: test/CodeGen/pr9614.c:21
@@ -20,3 +20,3 @@
 
-extern inline __attribute__((__always_inline__, __gnu_inline__)) void *memchr(void *__s, int __c, __SIZE_TYPE__ __n) {
+extern inline __attribute__((__always_inline__, __gnu_inline__)) void *memchr(const void *__s, int __c, unsigned long __n) {
   return __builtin_memchr(__s, __c, __n);
----------------
Drive-by redeclaration to reduce a warnings.


http://reviews.llvm.org/D12579





More information about the cfe-commits mailing list