Skip to content
Snippets Groups Projects
Commit 9ee161ea authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Remove useless DEBUG_WITH_TYPE.

We have a DEBUG_TYPE macro for the same debug string already
at the beginning of the file.

llvm-svn: 227551
parent e0335d77
No related branches found
No related tags found
No related merge requests found
...@@ -28,9 +28,7 @@ void RoundTripNativePass::perform(std::unique_ptr<MutableFile> &mergedFile) { ...@@ -28,9 +28,7 @@ void RoundTripNativePass::perform(std::unique_ptr<MutableFile> &mergedFile) {
StringRef outFile = llvm::sys::path::filename(_context.outputPath()); StringRef outFile = llvm::sys::path::filename(_context.outputPath());
if (llvm::sys::fs::createTemporaryFile(outFile, "native", tmpNativeFile)) if (llvm::sys::fs::createTemporaryFile(outFile, "native", tmpNativeFile))
return; return;
DEBUG_WITH_TYPE("RoundTripNativePass", { llvm::dbgs() << "RoundTripNativePass: " << tmpNativeFile << "\n";
llvm::dbgs() << "RoundTripNativePass: " << tmpNativeFile << "\n";
});
// The file that is written would be kept around if there is a problem // The file that is written would be kept around if there is a problem
// writing to the file or when reading atoms back from the file. // writing to the file or when reading atoms back from the file.
......
...@@ -28,9 +28,7 @@ void RoundTripYAMLPass::perform(std::unique_ptr<MutableFile> &mergedFile) { ...@@ -28,9 +28,7 @@ void RoundTripYAMLPass::perform(std::unique_ptr<MutableFile> &mergedFile) {
StringRef outFile = llvm::sys::path::filename(_context.outputPath()); StringRef outFile = llvm::sys::path::filename(_context.outputPath());
if (llvm::sys::fs::createTemporaryFile(outFile, "yaml", tmpYAMLFile)) if (llvm::sys::fs::createTemporaryFile(outFile, "yaml", tmpYAMLFile))
return; return;
DEBUG_WITH_TYPE("RoundTripYAMLPass", { llvm::dbgs() << "RoundTripYAMLPass: " << tmpYAMLFile << "\n";
llvm::dbgs() << "RoundTripYAMLPass: " << tmpYAMLFile << "\n";
});
// The file that is written would be kept around if there is a problem // The file that is written would be kept around if there is a problem
// writing to the file or when reading atoms back from the file. // writing to the file or when reading atoms back from the file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment