From 85af1ee10d43309b358e27af042b05a76ce7b919 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Nov 2008 03:11:39 +0000 Subject: [PATCH] Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does. llvm-svn: 58958 --- llvm/include/llvm/Analysis/DebugInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Analysis/DebugInfo.h b/llvm/include/llvm/Analysis/DebugInfo.h index 21bbaba07c3d..8896bfd80baa 100644 --- a/llvm/include/llvm/Analysis/DebugInfo.h +++ b/llvm/include/llvm/Analysis/DebugInfo.h @@ -191,7 +191,7 @@ namespace llvm { /// DIGlobal - This is a common class for global variables and subprograms. class DIGlobal : public DIDescriptor { protected: - explicit DIGlobal(GlobalVariable *GV = 0, unsigned RequiredTag) + explicit DIGlobal(GlobalVariable *GV, unsigned RequiredTag) : DIDescriptor(GV, RequiredTag) {} public: