aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorGreg McGary <gkm@fb.com>2021-03-09 20:15:29 -0800
committerGreg McGary <gkm@fb.com>2021-03-09 22:08:32 -0800
commitfdc0c21973c80b56381888c84125bdec7c1c1fbe (patch)
tree3362291394dd10078dacfe6cbbd91e0ba472b7b5 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parentee35784a909b318c686f94d53226d2c679ac041c (diff)
downloadllvm-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