Commit Graph

2 Commits

Author SHA1 Message Date
Chad Austin
518a5912f7 clang-tidy: disable facebook-hte-ContextDependentStaticInit
Summary:
This linter adds little value and trips on valid (and idiomatic) uses
of std::source_location and SourceLocation, so disable it for EdenFS.

Reviewed By: genevievehelsel

Differential Revision: D41043149

fbshipit-source-id: 5d8baf0166cedd7bfc66a1c432ed09b438900d02
2022-11-04 15:33:50 -07:00
Xavier Deguillard
098253dd46 clang-tidy: add a .clang-tidy file
Summary:
This will prevent gflags/gmock/gtest from being included directly as they can
cause build failures on Windows. There folly counterpart should always be
preferred.

Reviewed By: genevievehelsel

Differential Revision: D37021468

fbshipit-source-id: a6bd50d603ff65afe2546770faa20b52cabe50d9
2022-06-13 09:48:13 -07:00