Author: hans Date: Wed Jan 27 12:50:01 2016 New Revision: 258968 URL: http://llvm.org/viewvc/llvm-project?rev=258968&view=rev Log: Revert accidentally commited changes from r258964
Modified: lldb/branches/release_38/ (props changed) lldb/branches/release_38/include/lldb/API/SBError.h lldb/branches/release_38/include/lldb/Core/Error.h lldb/branches/release_38/tools/driver/Driver.cpp Propchange: lldb/branches/release_38/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Jan 27 12:50:01 2016 @@ -1,3 +1,3 @@ /lldb/branches/apple/python-GIL:156467-162159 /lldb/branches/iohandler:198360-200250 -/lldb/trunk:257691-257692,258921 +/lldb/trunk:257691-257692 Modified: lldb/branches/release_38/include/lldb/API/SBError.h URL: http://llvm.org/viewvc/llvm-project/lldb/branches/release_38/include/lldb/API/SBError.h?rev=258968&r1=258967&r2=258968&view=diff ============================================================================== --- lldb/branches/release_38/include/lldb/API/SBError.h (original) +++ lldb/branches/release_38/include/lldb/API/SBError.h Wed Jan 27 12:50:01 2016 @@ -56,7 +56,7 @@ public: SetErrorString (const char *err_str); int - SetErrorStringWithFormat (const char *format, ...) /*__attribute__ ((format (printf, 2, 3)))*/; + SetErrorStringWithFormat (const char *format, ...) __attribute__ ((format (printf, 2, 3))); bool IsValid () const; Modified: lldb/branches/release_38/include/lldb/Core/Error.h URL: http://llvm.org/viewvc/llvm-project/lldb/branches/release_38/include/lldb/Core/Error.h?rev=258968&r1=258967&r2=258968&view=diff ============================================================================== --- lldb/branches/release_38/include/lldb/Core/Error.h (original) +++ lldb/branches/release_38/include/lldb/Core/Error.h Wed Jan 27 12:50:01 2016 @@ -272,7 +272,7 @@ public: /// A printf style format string //------------------------------------------------------------------ int - SetErrorStringWithFormat (const char *format, ...) /*__attribute__ ((format (printf, 2, 3)))*/; + SetErrorStringWithFormat (const char *format, ...) __attribute__ ((format (printf, 2, 3))); int SetErrorStringWithVarArg (const char *format, va_list args); Modified: lldb/branches/release_38/tools/driver/Driver.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/branches/release_38/tools/driver/Driver.cpp?rev=258968&r1=258967&r2=258968&view=diff ============================================================================== --- lldb/branches/release_38/tools/driver/Driver.cpp (original) +++ lldb/branches/release_38/tools/driver/Driver.cpp Wed Jan 27 12:50:01 2016 @@ -914,8 +914,7 @@ PrepareCommandsForSourcing (const char * { fprintf(stderr, "error: write(%i, %p, %" PRIu64 ") failed (errno = %i) " "when trying to open LLDB commands pipe\n", - fds[WRITE], static_cast<const void*>(commands_data), - static_cast<uint64_t>(commands_size), errno); + fds[WRITE], commands_data, static_cast<uint64_t>(commands_size), errno); } else if (static_cast<size_t>(nrwr) == commands_size) { _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits