summaryrefslogtreecommitdiffstats
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
commit85af1ee10d43309b358e27af042b05a76ce7b919 (patch)
tree8e6e5ea4f6cf41fe3b2bef3cb1b82d48309a203b
parent9d5771ea1749af343866177bfdc67eb93b8e59be (diff)
downloadbcm5719-llvm-85af1ee10d43309b358e27af042b05a76ce7b919.tar.gz
bcm5719-llvm-85af1ee10d43309b358e27af042b05a76ce7b919.zip
Fix a bug with default arguments that apple gcc doesn't notice that llvmbb does.
llvm-svn: 58958
-rw-r--r--llvm/include/llvm/Analysis/DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/DebugInfo.h b/llvm/include/llvm/Analysis/DebugInfo.h
index 21bbaba07c3..8896bfd80ba 100644
--- a/llvm/include/llvm/Analysis/DebugInfo.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud