Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does.

llvm-svn: 58958
This commit is contained in:
Chris Lattner 2008-11-10 03:11:39 +00:00
parent 9d5771ea17
commit 85af1ee10d

View File

@ -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: