mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
add module/file debug dumpers
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "swift/AST/Type.h"
|
||||
#include "swift/Basic/BasicSourceInfo.h"
|
||||
#include "swift/Basic/Compiler.h"
|
||||
#include "swift/Basic/Debug.h"
|
||||
#include "swift/Basic/OptionSet.h"
|
||||
#include "swift/Basic/STLExtras.h"
|
||||
#include "swift/Basic/SourceLoc.h"
|
||||
@@ -856,6 +857,9 @@ public:
|
||||
/// transferred from module files to the dSYMs, remove this.
|
||||
bool isExternallyConsumed() const;
|
||||
|
||||
SWIFT_DEBUG_DUMPER(dumpDisplayDecls());
|
||||
SWIFT_DEBUG_DUMPER(dumpTopLevelDecls());
|
||||
|
||||
SourceRange getSourceRange() const { return SourceRange(); }
|
||||
|
||||
static bool classof(const DeclContext *DC) {
|
||||
|
||||
Reference in New Issue
Block a user