From 95fef9446c4bb3187157e0cc6933cb188e4355b8 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 22 Apr 2014 03:30:19 +0000 Subject: [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE definition below all of the header #include lines, Polly edition. If you want to know more details about this, you can see the recent commits to Debug.h in LLVM. This is just the Polly segment of a cleanup I'm doing globally for this macro. llvm-svn: 206852 --- polly/lib/CodeGen/Cloog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'polly/lib/CodeGen/Cloog.cpp') diff --git a/polly/lib/CodeGen/Cloog.cpp b/polly/lib/CodeGen/Cloog.cpp index 4ab44d2ab01..d8ef5ba1f8e 100644 --- a/polly/lib/CodeGen/Cloog.cpp +++ b/polly/lib/CodeGen/Cloog.cpp @@ -27,7 +27,6 @@ #include "polly/LinkAllPasses.h" #include "polly/ScopInfo.h" -#define DEBUG_TYPE "polly-cloog" #include "llvm/IR/Module.h" #include "llvm/Support/Debug.h" @@ -39,6 +38,8 @@ using namespace llvm; using namespace polly; +#define DEBUG_TYPE "polly-cloog" + namespace polly { class Cloog { Scop *S; -- cgit v1.2.3