We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9cba2e commit 3e0d31cCopy full SHA for 3e0d31c
llvm/tools/llvm-dis/llvm-dis.cpp
@@ -203,7 +203,7 @@ int main(int argc, char **argv) {
203
return 1;
204
}
205
206
- for (std::string InputFilename : InputFilenames) {
+ for (const auto &InputFilename : InputFilenames) {
207
ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr =
208
MemoryBuffer::getFileOrSTDIN(InputFilename);
209
if (std::error_code EC = BufferOrErr.getError()) {
0 commit comments