summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/Cloog.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 03:30:19 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 03:30:19 +0000
commit95fef9446c4bb3187157e0cc6933cb188e4355b8 (patch)
tree85b45a4eee8a10269d5e9eeb48285bb19d6668b5 /polly/lib/CodeGen/Cloog.cpp
parent9afe32d11dea6f052505c73e08013b9224eb20ef (diff)
downloadbcm5719-llvm-95fef9446c4bb3187157e0cc6933cb188e4355b8.tar.gz
bcm5719-llvm-95fef9446c4bb3187157e0cc6933cb188e4355b8.zip
[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
Diffstat (limited to 'polly/lib/CodeGen/Cloog.cpp')
-rw-r--r--polly/lib/CodeGen/Cloog.cpp3
1 files changed, 2 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud