diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:06:00 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:06:00 +0000 |
commit | 97acce29f0c811a36cbe6e5031a4a20a76a589da (patch) | |
tree | e8f9e7002ca369922e0b17ded4969055ba215060 /llvm/utils/TableGen/SubtargetEmitter.cpp | |
parent | f58e376d233f1a9d2044f0a8a5152abe8dbf31a5 (diff) | |
download | llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.zip llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.tar.gz llvm-97acce29f0c811a36cbe6e5031a4a20a76a589da.tar.bz2 |
[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/SubtargetEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/SubtargetEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/SubtargetEmitter.cpp b/llvm/utils/TableGen/SubtargetEmitter.cpp index c6363af..39130bd 100644 --- a/llvm/utils/TableGen/SubtargetEmitter.cpp +++ b/llvm/utils/TableGen/SubtargetEmitter.cpp @@ -11,8 +11,6 @@ // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "subtarget-emitter" - #include "CodeGenTarget.h" #include "CodeGenSchedule.h" #include "llvm/ADT/STLExtras.h" @@ -29,6 +27,8 @@ #include <vector> using namespace llvm; +#define DEBUG_TYPE "subtarget-emitter" + namespace { class SubtargetEmitter { // Each processor has a SchedClassDesc table with an entry for each SchedClass. |