summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-28 01:02:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-28 01:02:49 +0000
commit3a9ec2463ddeba0820f284e2952bd6919cd5e080 (patch)
treecf7c5fe955cfaf5d8f363b9d96323bfc3766cbcf /Makefile.rules
parentdc87725902736ee4a843ee70a46627ea4abcc235 (diff)
downloadllvm-3a9ec2463ddeba0820f284e2952bd6919cd5e080.tar.gz
llvm-3a9ec2463ddeba0820f284e2952bd6919cd5e080.tar.bz2
llvm-3a9ec2463ddeba0820f284e2952bd6919cd5e080.tar.xz
For PR387:
Close out this long standing bug by removing the remaining overloaded virtual functions in LLVM. The -Woverloaded-virtual option is now turned on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 8c595c289f..457c7f8a27 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -254,7 +254,7 @@ else
C.Flags += -D_DEBUG
endif
-CXX.Flags += $(CXXFLAGS)
+CXX.Flags += $(CXXFLAGS) -Woverloaded-virtual
C.Flags += $(CFLAGS)
CPP.BaseFlags += $(CPPFLAGS)
LD.Flags += $(LDFLAGS)