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:
Zachary Turner 2015-05-07 22:30:24 +00:00
parent 723b449df5
commit 0c779e0440
1 changed files with 1 additions and 1 deletions

View File

@ -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)));