Include llvm/Support/Mangler.h first. Don't include <iostream>, <set>,
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 25 Jul 2003 20:21:20 +0000 (20:21 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 25 Jul 2003 20:21:20 +0000 (20:21 +0000)
<string>, or llvm/Value.h.  Move up the inclusion of llvm/Support/Mangler.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7321 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Mangler.cpp
lib/VMCore/Mangler.cpp
support/lib/Support/Mangler.cpp

index 5bae6f04f67250063021418783afd118bfc25f94..665cb7388c117b4b78bc936870bef4ffde468740 100644 (file)
@@ -4,14 +4,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <iostream>
-#include <set>
-#include <string>
-#include "llvm/Value.h"
+#include "llvm/Support/Mangler.h"
 #include "llvm/Module.h"
 #include "llvm/Type.h"
 #include "Support/StringExtras.h"
-#include "llvm/Support/Mangler.h"
 
 /// makeNameProper - We don't want identifier names with ., space, or
 /// - in them, so we mangle these characters into the strings "d_",
index 5bae6f04f67250063021418783afd118bfc25f94..665cb7388c117b4b78bc936870bef4ffde468740 100644 (file)
@@ -4,14 +4,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <iostream>
-#include <set>
-#include <string>
-#include "llvm/Value.h"
+#include "llvm/Support/Mangler.h"
 #include "llvm/Module.h"
 #include "llvm/Type.h"
 #include "Support/StringExtras.h"
-#include "llvm/Support/Mangler.h"
 
 /// makeNameProper - We don't want identifier names with ., space, or
 /// - in them, so we mangle these characters into the strings "d_",
index 5bae6f04f67250063021418783afd118bfc25f94..665cb7388c117b4b78bc936870bef4ffde468740 100644 (file)
@@ -4,14 +4,10 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <iostream>
-#include <set>
-#include <string>
-#include "llvm/Value.h"
+#include "llvm/Support/Mangler.h"
 #include "llvm/Module.h"
 #include "llvm/Type.h"
 #include "Support/StringExtras.h"
-#include "llvm/Support/Mangler.h"
 
 /// makeNameProper - We don't want identifier names with ., space, or
 /// - in them, so we mangle these characters into the strings "d_",