diff options
author | Victor Chernyakin <chernyakin.victor.j@outlook.com> | 2025-10-08 21:23:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 21:23:41 -0700 |
commit | 233d1220f8c88b2b0ac8f281f8e63f15216ede38 (patch) | |
tree | ef3d673d7281dbff3a18bb04e5d676c9be0b6fb5 /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp | |
parent | 1244fd24d9b61cfcebc12a05726a8fc82da0109e (diff) | |
download | llvm-233d1220f8c88b2b0ac8f281f8e63f15216ede38.zip llvm-233d1220f8c88b2b0ac8f281f8e63f15216ede38.tar.gz llvm-233d1220f8c88b2b0ac8f281f8e63f15216ede38.tar.bz2 |
[clang-tidy][NFC] Do less unnecessary work in `modernize-deprecated-headers` (#160967)
- `IncludeModernizePPCallbacks` creates temporary vectors when all it
needs is constant arrays
- The header replacement strings are `std::string` when they can just be
`StringRef`
- `IncludeModernizePPCallbacks`'s constructor
1. Takes `LangOptions` by value (the thing is 832 bytes)
2. Stores it, but none of `IncludeModernizePPCallbacks`'s member
functions use it
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions