1Description: remove clang-ism 2Forwarded: not-needed 3 4--- a/base/include/android-base/logging.h 5+++ b/base/include/android-base/logging.h 6@@ -484,10 +484,7 @@ 7 // -Wno-user-defined-warnings to CPPFLAGS. 8 #pragma clang diagnostic push 9 #pragma clang diagnostic ignored "-Wgcc-compat" 10-#define OSTREAM_STRING_POINTER_USAGE_WARNING \ 11- __attribute__((diagnose_if(true, "Unexpected logging of string pointer", "warning"))) 12-inline std::ostream& operator<<(std::ostream& stream, const std::string* string_pointer) 13- OSTREAM_STRING_POINTER_USAGE_WARNING { 14+inline std::ostream& operator<<(std::ostream& stream, const std::string* string_pointer) { 15 return stream << static_cast<const void*>(string_pointer); 16 } 17 #pragma clang diagnostic pop 18