projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c9bd87
)
Check that process is non-null before calling a method in it.
author
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 01:23:06 +0000
(
01:23
+0000)
committer
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 01:23:06 +0000
(
01:23
+0000)
clang static analyzer fixit.
llvm-svn: 219886
lldb/source/Expression/ClangUserExpression.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Expression/ClangUserExpression.cpp
b/lldb/source/Expression/ClangUserExpression.cpp
index
dab7b55
..
871f8df
100644
(file)
--- a/
lldb/source/Expression/ClangUserExpression.cpp
+++ b/
lldb/source/Expression/ClangUserExpression.cpp
@@
-1070,7
+1070,7
@@
ClangUserExpression::Evaluate (ExecutionContext &exe_ctx,
user_expression_sp,
expr_result);
- if (options.GetResultIsInternal())
+ if (options.GetResultIsInternal()
&& process
)
{
process->GetTarget().GetPersistentVariables().RemovePersistentVariable (expr_result);
}