Make CodeGen libs -pedantic clean.
llvm-svn: 31387
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index e44328d..40518eb 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -688,7 +688,7 @@
/// 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/llvm/lib/CodeGen/Makefile b/llvm/lib/CodeGen/Makefile
index 62ef1ad..a2ad0fd 100644
--- a/llvm/lib/CodeGen/Makefile
+++ b/llvm/lib/CodeGen/Makefile
@@ -13,6 +13,3 @@
BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
-
-CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
-CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))