blob: 4ccf5367d89abfc615e10a5f5ae31dfce7d34d08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
namespace NYT::NLogging {
////////////////////////////////////////////////////////////////////////////////
// Performs a compile-time check of log arguments validity.
// Valid argument lists are:
// 1. (format, args...)
// 2. (error, format, args...)
// If format is not a string literal or argument list
// is not valid, no check is made -- macro turns to
// a no-op.
#define YT_STATIC_ANALYSIS_CHECK_LOG_FORMAT(...)
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT::NLogging
#define STATIC_ANALYSIS_INL_H_
#include "static_analysis-inl.h"
#undef STATIC_ANALYSIS_INL_H_
|