diff options
Diffstat (limited to 'lib/Frontend/DependencyFile.cpp')
| -rw-r--r-- | lib/Frontend/DependencyFile.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/DependencyFile.cpp b/lib/Frontend/DependencyFile.cpp index 93d4a80346965..a9b61282378dd 100644 --- a/lib/Frontend/DependencyFile.cpp +++ b/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);      }    }  | 
