[Lldb-commits] [lldb] r236788 - Remove __attribute__ from VAError.
Zachary Turner
zturner at google.com
Thu May 7 15:30:24 PDT 2015
Author: zturner
Date: Thu May 7 17:30:24 2015
New Revision: 236788
URL: http://llvm.org/viewvc/llvm-project?rev=236788&view=rev
Log:
Remove __attribute__ from VAError.
__attribute__(format(print...)) requires a function which takes
variadic arguments (... style), not a function which takes a va_list.
So following the same thing that VAPrintf does, just remove the
__attribute__ from this function.
Modified:
lldb/trunk/include/lldb/Core/Log.h
Modified: lldb/trunk/include/lldb/Core/Log.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Log.h?rev=236788&r1=236787&r2=236788&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Log.h (original)
+++ lldb/trunk/include/lldb/Core/Log.h Thu May 7 17:30:24 2015
@@ -128,7 +128,7 @@ public:
Error(const char *fmt, ...) __attribute__((format(printf, 2, 3)));
virtual void
- VAError(const char *format, va_list args) __attribute__((format(printf, 2, 3)));
+ VAError(const char *format, va_list args);
virtual void
FatalError(int err, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
More information about the lldb-commits
mailing list