summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 07:11:54 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 07:11:54 +0000
commit96da8294cde71e83e64d1800be1b97db9821ffd6 (patch)
treefaa54a351844360663c1c9e889b4cca24ead7deb /llvm
parent4042e871cef34e2f8964c65162352f5d803af2e1 (diff)
downloadbcm5719-llvm-96da8294cde71e83e64d1800be1b97db9821ffd6.tar.gz
bcm5719-llvm-96da8294cde71e83e64d1800be1b97db9821ffd6.zip
make optional pointer really optional
llvm-svn: 29904
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/System/MappedFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/System/MappedFile.h b/llvm/include/llvm/System/MappedFile.h
index 8cd926bc143..f82d6fe9429 100644
--- a/llvm/include/llvm/System/MappedFile.h
+++ b/llvm/include/llvm/System/MappedFile.h
@@ -123,7 +123,7 @@ namespace sys {
/// occurred.
/// @brief Map the file into memory.
void* map(
- std::string* ErrMsg ///< Optional error string pointer
+ std::string* ErrMsg = 0///< Optional error string pointer
);
/// This method causes the size of the file, and consequently the size
OpenPOWER on IntegriCloud