mirror of
https://github.com/google/benchmark.git
synced 2025-01-30 22:00:16 +08:00
Disable clang-tidy (unused-using-decls) (#1287)
The NOLINTBEGIN block only covers warnings on `long` types and other styling issues but not clang-tidies.
This commit is contained in:
parent
8722d6f014
commit
91ed7eea68
@ -54,9 +54,9 @@ unsigned long stoul(const std::string& str, size_t* pos = nullptr,
|
||||
int stoi(const std::string& str, size_t* pos = nullptr, int base = 10);
|
||||
double stod(const std::string& str, size_t* pos = nullptr);
|
||||
#else
|
||||
using std::stod;
|
||||
using std::stoi;
|
||||
using std::stoul;
|
||||
using std::stod; // NOLINT(misc-unused-using-decls)
|
||||
using std::stoi; // NOLINT(misc-unused-using-decls)
|
||||
using std::stoul; // NOLINT(misc-unused-using-decls)
|
||||
#endif
|
||||
// NOLINTEND
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user