summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-04-22 03:06:00 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-04-22 03:06:00 +0000
commit97acce29f0c811a36cbe6e5031a4a20a76a589da (patch)
treee8f9e7002ca369922e0b17ded4969055ba215060 /llvm/utils/TableGen/PseudoLoweringEmitter.cpp
parentf58e376d233f1a9d2044f0a8a5152abe8dbf31a5 (diff)
downloadbcm5719-llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.tar.gz
bcm5719-llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.zip
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all of the header #include lines, TableGen edition. llvm-svn: 206846
Diffstat (limited to 'llvm/utils/TableGen/PseudoLoweringEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/PseudoLoweringEmitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
index 100338c071a..e1bdb43ecd4 100644
--- a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
+++ b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
@@ -7,7 +7,6 @@
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "pseudo-lowering"
#include "CodeGenInstruction.h"
#include "CodeGenTarget.h"
#include "llvm/ADT/IndexedMap.h"
@@ -21,6 +20,8 @@
#include <vector>
using namespace llvm;
+#define DEBUG_TYPE "pseudo-lowering"
+
namespace {
class PseudoLoweringEmitter {
struct OpData {
OpenPOWER on IntegriCloud