[Lldb-commits] [lldb] r339202 - Removed duplicated commented-out code [NFC]

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 7 16:24:25 PDT 2018


Author: teemperor
Date: Tue Aug  7 16:24:24 2018
New Revision: 339202

URL: http://llvm.org/viewvc/llvm-project?rev=339202&view=rev
Log:
Removed duplicated commented-out code [NFC]

Modified:
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=339202&r1=339201&r2=339202&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Tue Aug  7 16:24:24 2018
@@ -628,7 +628,6 @@ void ClangASTContext::SetExternalSource(
   if (ast) {
     ast->setExternalSource(ast_source_ap);
     ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true);
-    // ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(true);
   }
 }
 
@@ -639,7 +638,6 @@ void ClangASTContext::RemoveExternalSour
     llvm::IntrusiveRefCntPtr<ExternalASTSource> empty_ast_source_ap;
     ast->setExternalSource(empty_ast_source_ap);
     ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(false);
-    // ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(false);
   }
 }
 




More information about the lldb-commits mailing list