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/Support/SCEVValidator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'polly/lib/Support/SCEVValidator.cpp') diff --git a/polly/lib/Support/SCEVValidator.cpp b/polly/lib/Support/SCEVValidator.cpp index 2434c0664e6..3a8895f6cad 100644 --- a/polly/lib/Support/SCEVValidator.cpp +++ b/polly/lib/Support/SCEVValidator.cpp @@ -1,17 +1,17 @@ #include "polly/Support/SCEVValidator.h" #include "polly/ScopInfo.h" - -#define DEBUG_TYPE "polly-scev-validator" -#include "llvm/Support/Debug.h" #include "llvm/Analysis/ScalarEvolution.h" #include "llvm/Analysis/ScalarEvolutionExpressions.h" #include "llvm/Analysis/RegionInfo.h" +#include "llvm/Support/Debug.h" #include using namespace llvm; +#define DEBUG_TYPE "polly-scev-validator" + namespace SCEVType { /// @brief The type of a SCEV /// -- cgit v1.2.3