mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-21 19:26:37 +00:00
Run clang-tidy over toolchain code. (#3105)
Amongst other changes, this removes the implicit StringRef cast in formatter code due to google-explicit-constructor. Only one line of code relied on the implicit cast, and style says "Do not define implicit conversions." (https://google.github.io/styleguide/cppguide.html#Implicit_Conversions). --------- Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
1 parent
fa857e42be
commit
09242eeebd
6 files changed
+24
-23
No files matched your search
@@ -28,7 +28,6 @@ using ::testing::_;
|
||||
using ::testing::ElementsAre;
|
||||
using ::testing::Eq;
|
||||
using ::testing::HasSubstr;
|
||||
using ::testing::StrEq;
|
||||
|
||||
class LexerTest : public ::testing::Test {
|
||||
protected:
|
||||
|
||||
Reference in new issue
Block a user