diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:24:05 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:24:05 +0000 | 
| commit | cf1b401909b5e54edfd80656b1a18eaa31f9f6f1 (patch) | |
| tree | edb0ffff2a43d84ba9b4c862b394cfeeebb36ddc /lib/Frontend/DependencyFile.cpp | |
| parent | ef915aab0ac566c55bfb0d7a9f6635bb5d94d4af (diff) | |
Notes
Diffstat (limited to 'lib/Frontend/DependencyFile.cpp')
| -rw-r--r-- | lib/Frontend/DependencyFile.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Frontend/DependencyFile.cpp b/lib/Frontend/DependencyFile.cpp index bd14c53e4d15..561eb9c4a316 100644 --- a/lib/Frontend/DependencyFile.cpp +++ b/lib/Frontend/DependencyFile.cpp @@ -55,8 +55,8 @@ struct DepCollectorPPCallbacks : public PPCallbacks {          llvm::sys::path::remove_leading_dotslash(FE->getName());      DepCollector.maybeAddDependency(Filename, /*FromModule*/false, -                                   FileType != SrcMgr::C_User, -                                   /*IsModuleFile*/false, /*IsMissing*/false); +                                    isSystem(FileType), +                                    /*IsModuleFile*/false, /*IsMissing*/false);    }    void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, @@ -265,7 +265,7 @@ bool DFGImpl::FileMatchesDepCriteria(const char *Filename,    if (IncludeSystemHeaders)      return true; -  return FileType == SrcMgr::C_User; +  return !isSystem(FileType);  }  void DFGImpl::FileChanged(SourceLocation Loc,  | 
