[llvm-commits] [llvm] r58958 - /llvm/trunk/include/llvm/Analysis/DebugInfo.h

Chris Lattner sabre at nondot.org
Sun Nov 9 19:11:39 PST 2008


Author: lattner
Date: Sun Nov  9 21:11:39 2008
New Revision: 58958

URL: http://llvm.org/viewvc/llvm-project?rev=58958&view=rev
Log:
Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does.

Modified:
    llvm/trunk/include/llvm/Analysis/DebugInfo.h

Modified: llvm/trunk/include/llvm/Analysis/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DebugInfo.h?rev=58958&r1=58957&r2=58958&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/DebugInfo.h Sun Nov  9 21:11:39 2008
@@ -191,7 +191,7 @@
   /// 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:
     





More information about the llvm-commits mailing list