aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-05-22 04:46:25 +0000
committerCraig Topper <craig.topper@gmail.com>2014-05-22 04:46:25 +0000
commit49a2790fb329c5cf27d9735b97ef70a6760921e4 (patch)
treea27dc484a06e2a4559f88a7939e40fd4ad01b80f /clang/lib/Frontend/CompilerInvocation.cpp
parentc3a73c30877fdc754e499a529fc97325dc28332a (diff)
downloadllvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.zip
llvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.tar.gz
llvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.tar.bz2
[C++11] Use 'nullptr'. Frontend edition.
llvm-svn: 209389
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 6aeb9c6..2ba9450c 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1955,7 +1955,7 @@ createVFSFromCompilerInvocation(const CompilerInvocation &CI,
}
IntrusiveRefCntPtr<vfs::FileSystem> FS =
- vfs::getVFSFromYAML(Buffer.release(), /*DiagHandler*/0);
+ vfs::getVFSFromYAML(Buffer.release(), /*DiagHandler*/nullptr);
if (!FS.getPtr()) {
Diags.Report(diag::err_invalid_vfs_overlay) << File;
return IntrusiveRefCntPtr<vfs::FileSystem>();