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 e44328d..40518eb 100644
--- a/lib/CodeGen/DwarfWriter.cpp
+++ b/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);
   }