diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:04:17 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:04:17 +0000 |
commit | f58e376d233f1a9d2044f0a8a5152abe8dbf31a5 (patch) | |
tree | 55598d5e59776755d8b48e256d9081628d08aa4c /llvm/lib/MC/MCExpr.cpp | |
parent | 964daaaf192f76eccb4eb9fed849133c91b96bc5 (diff) | |
download | bcm5719-llvm-f58e376d233f1a9d2044f0a8a5152abe8dbf31a5.tar.gz bcm5719-llvm-f58e376d233f1a9d2044f0a8a5152abe8dbf31a5.zip |
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all the header #include lines. This updates most of the
miscellaneous other lib/... directories. A few left though.
llvm-svn: 206845
Diffstat (limited to 'llvm/lib/MC/MCExpr.cpp')
-rw-r--r-- | llvm/lib/MC/MCExpr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp index fbc2e0cd81e..5b06104bf73 100644 --- a/llvm/lib/MC/MCExpr.cpp +++ b/llvm/lib/MC/MCExpr.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "mcexpr" #include "llvm/MC/MCExpr.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringSwitch.h" @@ -23,6 +22,8 @@ #include "llvm/Support/raw_ostream.h" using namespace llvm; +#define DEBUG_TYPE "mcexpr" + namespace { namespace stats { STATISTIC(MCExprEvaluate, "Number of MCExpr evaluations"); |