compnerd added a comment.

I really like the clean up this does.  It removes the unnecessary usage of the 
GCC pragmas and cleans up the definitions by using the headers more properly.



================
Comment at: src/abort_message.h:19
 
-__attribute__((visibility("hidden"), noreturn))
+_LIBCXXABI_HIDDEN __attribute__((noreturn))
        void abort_message(const char* format, ...) 
----------------
Please clang-format this declaration.


================
Comment at: src/private_typeinfo.cpp:61
 
-#pragma GCC visibility push(hidden)
-
-inline
+static inline
 bool
----------------
I think that if you are making this static inline, we should hoist this out 
into a standalone helper outside of the `__cxxabiv1` namespace.


https://reviews.llvm.org/D26949



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to