1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2026-01-06 03:41:10 +03:00

clang-tidy | Disable 'modernize-use-trailing-return-type' check for all users (#79)

Summary:
Pull Request resolved: https://github.com/facebookincubator/mvfst/pull/79

This is a very weird check from Clang 9. It doesn't conform to Facebook's C++ style guide and it's better to disable it.

## Code style enforced by this check

```
auto getSomeValue() -> std::vector<int> {
  // implementation
}
```

## Code style used at Facebook

```
std::vector<int> getSomeValue() {
  // implementation
}
```

Reviewed By: vybv

Differential Revision: D19159146

fbshipit-source-id: 158aba29a7593d06d6a181b3d5655cad164ecc5a
This commit is contained in:
Uladzislau Paulovich
2019-12-19 03:54:48 -08:00
committed by Facebook Github Bot
parent 81c3f91fbc
commit 75d58bbc79

View File

@@ -1,3 +1,3 @@
---
Checks: 'boost-*,bugprone-*,clang-analyzer-*,modernize-*,performance-*'
Checks: 'boost-*,bugprone-*,clang-analyzer-*,modernize-*,performance-*,-modernize-use-trailing-return-type'
...