forked from OSchip/llvm-project
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. llvm-svn: 236788
This commit is contained in:
parent
723b449df5
commit
0c779e0440
|
@ -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)));
|
||||
|
|
Loading…
Reference in New Issue