aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Instrumentation/DebugIR.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Instrumentation/DebugIR.h')
-rw-r--r--lib/Transforms/Instrumentation/DebugIR.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/DebugIR.h b/lib/Transforms/Instrumentation/DebugIR.h
index 3f57da5..02831ed 100644
--- a/lib/Transforms/Instrumentation/DebugIR.h
+++ b/lib/Transforms/Instrumentation/DebugIR.h
@@ -90,7 +90,7 @@ private:
/// Write M to disk, optionally passing in an fd to an open file which is
/// closed by this function after writing. If no fd is specified, a new file
/// is opened, written, and closed.
- void writeDebugBitcode(const llvm::Module *M, int *fd = 0);
+ void writeDebugBitcode(const llvm::Module *M, int *fd = nullptr);
};
} // llvm namespace