[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE

definition below all the header #include lines, lib/Analysis/...
edition.

This one has a bit extra as there were *other* #define's before #include
lines in addition to DEBUG_TYPE. I've sunk all of them as a block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206843 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth
2014-04-22 02:48:03 +00:00
parent 42e8630239
commit 4da253756d
21 changed files with 44 additions and 25 deletions

View File

@@ -9,7 +9,6 @@
// Detects single entry single exit regions in the control flow graph.
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "region"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/ADT/Statistic.h"
@@ -24,6 +23,8 @@
using namespace llvm;
#define DEBUG_TYPE "region"
// Always verify if expensive checking is enabled.
#ifdef XDEBUG
static bool VerifyRegionInfo = true;