diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:30:19 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:30:19 +0000 |
| commit | 95fef9446c4bb3187157e0cc6933cb188e4355b8 (patch) | |
| tree | 85b45a4eee8a10269d5e9eeb48285bb19d6668b5 /polly/lib/Support/SCEVValidator.cpp | |
| parent | 9afe32d11dea6f052505c73e08013b9224eb20ef (diff) | |
| download | bcm5719-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/Support/SCEVValidator.cpp')
| -rw-r--r-- | polly/lib/Support/SCEVValidator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 <vector> using namespace llvm; +#define DEBUG_TYPE "polly-scev-validator" + namespace SCEVType { /// @brief The type of a SCEV /// |

