diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 02:48:03 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 02:48:03 +0000 |
commit | 4da253756ddc62496ad5baf7a8efaf2f001ef92a (patch) | |
tree | 84a6fd2a9e2d0d0b4b5d60b696deff43530573d6 /lib/Analysis/TargetTransformInfo.cpp | |
parent | 42e8630239989fd40820975c361554546c1ccc2d (diff) | |
download | llvm-4da253756ddc62496ad5baf7a8efaf2f001ef92a.tar.gz llvm-4da253756ddc62496ad5baf7a8efaf2f001ef92a.tar.bz2 llvm-4da253756ddc62496ad5baf7a8efaf2f001ef92a.tar.xz |
[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
Diffstat (limited to 'lib/Analysis/TargetTransformInfo.cpp')
-rw-r--r-- | lib/Analysis/TargetTransformInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/TargetTransformInfo.cpp b/lib/Analysis/TargetTransformInfo.cpp index 8df5305a05..cdb0b79fd7 100644 --- a/lib/Analysis/TargetTransformInfo.cpp +++ b/lib/Analysis/TargetTransformInfo.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "tti" #include "llvm/Analysis/TargetTransformInfo.h" #include "llvm/IR/CallSite.h" #include "llvm/IR/DataLayout.h" @@ -19,6 +18,8 @@ using namespace llvm; +#define DEBUG_TYPE "tti" + // Setup the analysis group to manage the TargetTransformInfo passes. INITIALIZE_ANALYSIS_GROUP(TargetTransformInfo, "Target Information", NoTTI) char TargetTransformInfo::ID = 0; |