mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix some build warnings.
DEBUG_TYPE should be defined before the inclusion of LLVM's Support/Debug.h. Swift SVN r18640
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "sil-module"
|
||||
#include "swift/SIL/SILModule.h"
|
||||
#include "swift/SIL/SILExternalSource.h"
|
||||
#include "swift/SIL/SILVisitor.h"
|
||||
@@ -19,7 +20,6 @@
|
||||
#include "llvm/ADT/StringSwitch.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#define DEBUG_TYPE "sil-module"
|
||||
using namespace swift;
|
||||
|
||||
STATISTIC(NumFuncLinked, "Number of SIL functions linked");
|
||||
|
||||
Reference in New Issue
Block a user