]> granicus.if.org Git - clang/commitdiff
Remove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.
authorCraig Topper <craig.topper@gmail.com>
Tue, 18 Sep 2012 05:21:59 +0000 (05:21 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 18 Sep 2012 05:21:59 +0000 (05:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164103 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/HeaderSearch.h
lib/Lex/HeaderSearch.cpp

index 2b5ebc263639d4b25f06a20194da2d94012753b6..9687793d67f0f75f5738176007776baf668fbb7b 100644 (file)
@@ -132,7 +132,6 @@ class HeaderSearch {
   };
 
   FileManager &FileMgr;
-  DiagnosticsEngine &Diags;
   /// \#include search path information.  Requests for \#include "x" search the
   /// directory of the \#including file first, then each directory in SearchDirs
   /// consecutively. Requests for <x> search the current dir first, then each
index bb3a67378ad58eb6d59a6eb73228577a235aa208..e793ea17e86f23f7f6bdb4a8903c0adf64e975e4 100644 (file)
@@ -41,7 +41,7 @@ ExternalHeaderFileInfoSource::~ExternalHeaderFileInfoSource() {}
 HeaderSearch::HeaderSearch(FileManager &FM, DiagnosticsEngine &Diags,
                            const LangOptions &LangOpts, 
                            const TargetInfo *Target)
-  : FileMgr(FM), Diags(Diags), FrameworkMap(64), 
+  : FileMgr(FM), FrameworkMap(64),
     ModMap(FileMgr, *Diags.getClient(), LangOpts, Target)
 {
   AngledDirIdx = 0;