mirror of
https://github.com/google/benchmark.git
synced 2025-03-28 13:01:19 +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);
|
int stoi(const std::string& str, size_t* pos = nullptr, int base = 10);
|
||||||
double stod(const std::string& str, size_t* pos = nullptr);
|
double stod(const std::string& str, size_t* pos = nullptr);
|
||||||
#else
|
#else
|
||||||
using std::stod;
|
using std::stod; // NOLINT(misc-unused-using-decls)
|
||||||
using std::stoi;
|
using std::stoi; // NOLINT(misc-unused-using-decls)
|
||||||
using std::stoul;
|
using std::stoul; // NOLINT(misc-unused-using-decls)
|
||||||
#endif
|
#endif
|
||||||
// NOLINTEND
|
// NOLINTEND
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user