diff options
Diffstat (limited to 'gnu/llvm/tools/clang/lib/Frontend/DependencyFile.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/lib/Frontend/DependencyFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/tools/clang/lib/Frontend/DependencyFile.cpp b/gnu/llvm/tools/clang/lib/Frontend/DependencyFile.cpp index 93d4a803469..a9b61282378 100644 --- a/gnu/llvm/tools/clang/lib/Frontend/DependencyFile.cpp +++ b/gnu/llvm/tools/clang/lib/Frontend/DependencyFile.cpp @@ -177,7 +177,7 @@ public: SeenMissingHeader(false), IncludeModuleFiles(Opts.IncludeModuleFiles), OutputFormat(Opts.OutputFormat) { - for (auto ExtraDep : Opts.ExtraDeps) { + for (const auto &ExtraDep : Opts.ExtraDeps) { AddFilename(ExtraDep); } } |
