forked from OSchip/llvm-project
[Sanitizer] Remove __attribute__((format))
llvm-svn: 158070
This commit is contained in:
parent
3de5d40f4d
commit
d323f4e78e
|
@ -159,8 +159,8 @@ uptr ReadFileToBuffer(const char *file_name, char **buff,
|
|||
|
||||
void AppendToErrorMessageBuffer(const char *buffer);
|
||||
// asan_printf.cc
|
||||
void AsanPrintf(const char *format, ...) FORMAT(1, 2);
|
||||
void AsanReport(const char *format, ...) FORMAT(1, 2);
|
||||
void AsanPrintf(const char *format, ...);
|
||||
void AsanReport(const char *format, ...);
|
||||
|
||||
// Don't use std::min and std::max, to minimize dependency on libstdc++.
|
||||
template<class T> T Min(T a, T b) { return a < b ? a : b; }
|
||||
|
|
|
@ -35,9 +35,9 @@ void RawWrite(const char *buffer);
|
|||
void *MmapOrDie(uptr size);
|
||||
void UnmapOrDie(void *addr, uptr size);
|
||||
|
||||
void Printf(const char *format, ...) FORMAT(1, 2);
|
||||
int SNPrintf(char *buffer, uptr length, const char *format, ...) FORMAT(3, 4);
|
||||
void Report(const char *format, ...) FORMAT(1, 2);
|
||||
void Printf(const char *format, ...);
|
||||
int SNPrintf(char *buffer, uptr length, const char *format, ...);
|
||||
void Report(const char *format, ...);
|
||||
|
||||
// Bit twiddling.
|
||||
inline bool IsPowerOfTwo(uptr x) {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
namespace __tsan {
|
||||
|
||||
void TsanPrintf(const char *format, ...) FORMAT(1, 2);
|
||||
void TsanPrintf(const char *format, ...);
|
||||
|
||||
// FastState (from most significant bit):
|
||||
// unused : 1
|
||||
|
|
Loading…
Reference in New Issue