Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does.
authorChris Lattner <sabre@nondot.org>
Mon, 10 Nov 2008 03:11:39 +0000 (03:11 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Nov 2008 03:11:39 +0000 (03:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58958 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DebugInfo.h

index 21bbaba07c3d8962533f308061cdc8150beb1e5c..8896bfd80baa4c43e1aa2ad11e294b705f018b12 100644 (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: