diff options
author | Greg McGary <gkm@fb.com> | 2021-03-09 20:15:29 -0800 |
---|---|---|
committer | Greg McGary <gkm@fb.com> | 2021-03-09 22:08:32 -0800 |
commit | fdc0c21973c80b56381888c84125bdec7c1c1fbe (patch) | |
tree | 3362291394dd10078dacfe6cbbd91e0ba472b7b5 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | ee35784a909b318c686f94d53226d2c679ac041c (diff) | |
download | llvm-fdc0c21973c80b56381888c84125bdec7c1c1fbe.zip llvm-fdc0c21973c80b56381888c84125bdec7c1c1fbe.tar.gz llvm-fdc0c21973c80b56381888c84125bdec7c1c1fbe.tar.bz2 |
[lld-macho][NFC] when reasonable, replace auto keyword with type names
lld policy discourages `auto`. Replace it with a type name whenever reasonable. Retain `auto` to avoid ...
* redundancy, as for decls such as `auto *t = mumble_cast<TYPE *>` or similar that specifies the result type on the RHS
* verbosity, as for iterators
* gratuitous suffering, as for lambdas
Along the way, add `const` when appropriate.
Note: a future diff will ...
* add more `const` qualifiers
* remove `opt::` when we are already `using llvm::opt`
Differential Revision: https://reviews.llvm.org/D98313
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions