From: Brian Gaeke Date: Fri, 25 Jul 2003 20:21:20 +0000 (+0000) Subject: Include llvm/Support/Mangler.h first. Don't include , , X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6b902dcd5dd32d333899db17de6b8113bd7b34bb;p=oota-llvm.git Include llvm/Support/Mangler.h first. Don't include , , , 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 --- diff --git a/lib/Support/Mangler.cpp b/lib/Support/Mangler.cpp index 5bae6f04f67..665cb7388c1 100644 --- a/lib/Support/Mangler.cpp +++ b/lib/Support/Mangler.cpp @@ -4,14 +4,10 @@ // //===----------------------------------------------------------------------===// -#include -#include -#include -#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_", diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp index 5bae6f04f67..665cb7388c1 100644 --- a/lib/VMCore/Mangler.cpp +++ b/lib/VMCore/Mangler.cpp @@ -4,14 +4,10 @@ // //===----------------------------------------------------------------------===// -#include -#include -#include -#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_", diff --git a/support/lib/Support/Mangler.cpp b/support/lib/Support/Mangler.cpp index 5bae6f04f67..665cb7388c1 100644 --- a/support/lib/Support/Mangler.cpp +++ b/support/lib/Support/Mangler.cpp @@ -4,14 +4,10 @@ // //===----------------------------------------------------------------------===// -#include -#include -#include -#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_",