From: Reid Spencer Date: Thu, 2 Nov 2006 23:56:21 +0000 (+0000) Subject: Make CodeGen libs -pedantic clean. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=97821311a32b5ca11b5f843f90a85875feb7d142;p=oota-llvm.git Make CodeGen libs -pedantic clean. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31387 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index e44328d232a..40518eb2093 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -688,7 +688,7 @@ public: /// Profile - Used to gather unique data for the value folding set. /// - virtual void DIEBlock::Profile(FoldingSetNodeID &ID) { + virtual void Profile(FoldingSetNodeID &ID) { ID.AddInteger(isBlock); DIE::Profile(ID); } diff --git a/lib/CodeGen/Makefile b/lib/CodeGen/Makefile index 62ef1ad727d..a2ad0fd49cf 100644 --- a/lib/CodeGen/Makefile +++ b/lib/CodeGen/Makefile @@ -13,6 +13,3 @@ PARALLEL_DIRS = SelectionDAG BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common - -CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) -CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))