From 606ceeef820a3ecd46255d155e5d7f3aa888a04b Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 15 Apr 2008 23:02:18 +0000 Subject: [PATCH] Change "VisitBlockVarDecl" to "VisitVarDecl". UninitializedValues now works as before r49748 (where BlockVarDecl was removed). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49749 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/UninitializedValues.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/UninitializedValues.cpp b/lib/Analysis/UninitializedValues.cpp index 9958166c67..74426e2296 100644 --- a/lib/Analysis/UninitializedValues.cpp +++ b/lib/Analysis/UninitializedValues.cpp @@ -36,7 +36,7 @@ class VISIBILITY_HIDDEN RegisterDecls public: RegisterDecls(UninitializedValues::AnalysisDataTy& ad) : AD(ad) {} - void VisitBlockVarDecl(VarDecl* VD) { AD.Register(VD); } + void VisitVarDecl(VarDecl* VD) { AD.Register(VD); } CFG& getCFG() { return AD.getCFG(); } }; -- 2.40.0