mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a detailed AST dumper for types.
... because pretty-printed types are useless for debugging. Swift SVN r25422
This commit is contained in:
@@ -18,7 +18,7 @@ bool DestructorAnalysis::mayStoreToMemoryOnDestruction(SILType T) {
|
||||
bool IsSafe = isSafeType(T.getSwiftRValueType());
|
||||
DEBUG(llvm::dbgs() << " DestructorAnalysis::mayStoreToMemoryOnDestruction is"
|
||||
<< (IsSafe ? " false: " : " true: "));
|
||||
DEBUG(T.getSwiftRValueType()->dump());
|
||||
DEBUG(T.getSwiftRValueType()->print(llvm::errs()));
|
||||
return !IsSafe;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user