mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Work in progress for:
rdar://problem/10577182 Audit lldb API impl for places where we need to perform a NULL check Add NULL checks for SBStream APIs. llvm-svn: 146934
This commit is contained in:
1 parent
98a52db80c
commit
4f8189bc6b
2 files changed
+7
-1
No files matched your search
@@ -59,6 +59,8 @@ SBStream::GetSize()
|
||||
void
|
||||
SBStream::Printf (const char *format, ...)
|
||||
{
|
||||
if (!format)
|
||||
return;
|
||||
va_list args;
|
||||
va_start (args, format);
|
||||
ref().PrintfVarArg (format, args);
|
||||
|
||||
Reference in new issue
Block a user