From 8e9bebdea69c590dedfbf27374114cb76fe12fbd Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 21 Oct 2008 16:13:35 +0000 Subject: Preliminary support for function overloading git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57909 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BasicStore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Analysis/BasicStore.cpp') diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index b42f210dd8..2a003335b6 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -299,9 +299,9 @@ Store BasicStoreManager::getInitialStore() { Store St = VBFactory.GetEmptyMap().getRoot(); for (LVDataTy::decl_iterator I=D.begin_decl(), E=D.end_decl(); I != E; ++I) { - ScopedDecl* SD = const_cast(I->first); + NamedDecl* ND = const_cast(I->first); - if (VarDecl* VD = dyn_cast(SD)) { + if (VarDecl* VD = dyn_cast(ND)) { // Punt on static variables for now. if (VD->getStorageClass() == VarDecl::Static) continue; -- cgit v1.2.3