diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-10 03:11:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-10 03:11:39 +0000 |
commit | 3b78185a18aad1bf0e1252ffdc7f91a77008d74f (patch) | |
tree | 5eeb9e3ae66840b957ce8aed6eb2e9ee5868f758 | |
parent | 09e99e41aa15eafc93b4e922f0165d527bf2e622 (diff) |
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
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 21bbaba07c..8896bfd80b 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: |