mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Replace old DEBUG macro with new LLVM_DEBUG
...using a sed command provided by Vedant:
$ find . -name \*.cpp -print -exec sed -i "" -E "s/ DEBUG\(/ LLVM_DEBUG(/g" {} \;
This commit is contained in:
@@ -663,7 +663,7 @@ SILModule::lookUpFunctionInWitnessTable(ProtocolConformanceRef C,
|
||||
|
||||
// If no witness table was found, bail.
|
||||
if (!Ret) {
|
||||
DEBUG(llvm::dbgs() << " Failed speculative lookup of witness for: ";
|
||||
LLVM_DEBUG(llvm::dbgs() << " Failed speculative lookup of witness for: ";
|
||||
C.dump(); Requirement.dump());
|
||||
return std::make_pair(nullptr, nullptr);
|
||||
}
|
||||
@@ -701,7 +701,7 @@ SILModule::lookUpFunctionInDefaultWitnessTable(const ProtocolDecl *Protocol,
|
||||
// FIXME: Could be an assert if we fix non-single-frontend mode to link
|
||||
// together serialized SIL emitted by each translation unit.
|
||||
if (!Ret) {
|
||||
DEBUG(llvm::dbgs() << " Failed speculative lookup of default "
|
||||
LLVM_DEBUG(llvm::dbgs() << " Failed speculative lookup of default "
|
||||
"witness for " << Protocol->getName() << " ";
|
||||
Requirement.dump());
|
||||
return std::make_pair(nullptr, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user