diff options
Diffstat (limited to 'lib/Support/SourceMgr.cpp')
| -rw-r--r-- | lib/Support/SourceMgr.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/lib/Support/SourceMgr.cpp b/lib/Support/SourceMgr.cpp index ca2391c10ff1..5199fad7d9e9 100644 --- a/lib/Support/SourceMgr.cpp +++ b/lib/Support/SourceMgr.cpp @@ -51,9 +51,7 @@ static LineNoCacheTy *getCache(void *Ptr) {  }  SourceMgr::~SourceMgr() { -  // Delete the line # cache if allocated. -  if (LineNoCacheTy *Cache = getCache(LineNoCache)) -    delete Cache; +  delete getCache(LineNoCache);  }  unsigned SourceMgr::AddIncludeFile(const std::string &Filename, | 
