aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-10 03:11:39 +0000
committerChris Lattner <sabre@nondot.org>2008-11-10 03:11:39 +0000
commitb7b58e673521eceaf17a2b82ca172b01489c06e4 (patch)
tree5eeb9e3ae66840b957ce8aed6eb2e9ee5868f758 /include
parentc511da106c56e17c1fb23b468f1c4981e313c2c7 (diff)
downloadexternal_llvm-b7b58e673521eceaf17a2b82ca172b01489c06e4.zip
external_llvm-b7b58e673521eceaf17a2b82ca172b01489c06e4.tar.gz
external_llvm-b7b58e673521eceaf17a2b82ca172b01489c06e4.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 21bbaba..8896bfd 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: