From: Chris Lattner Date: Mon, 10 Nov 2008 03:11:39 +0000 (+0000) Subject: Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3b78185a18aad1bf0e1252ffdc7f91a77008d74f;p=oota-llvm.git Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58958 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 21bbaba07c3..8896bfd80ba 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/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: