diff options
| author | Eugene Zemtsov <ezemtsov@google.com> | 2017-09-29 03:15:08 +0000 |
|---|---|---|
| committer | Eugene Zemtsov <ezemtsov@google.com> | 2017-09-29 03:15:08 +0000 |
| commit | a9d928c3960b640b0bd8f78ffc6d74e9395613ef (patch) | |
| tree | 42e3e7610b0928fa6e4a90cbcd1979c4ccea46cb /lldb/source/Symbol/ClangASTContext.cpp | |
| parent | 16b86e7d18064e4e56a40780b0dddb6344e39f3f (diff) | |
| download | bcm5719-llvm-a9d928c3960b640b0bd8f78ffc6d74e9395613ef.tar.gz bcm5719-llvm-a9d928c3960b640b0bd8f78ffc6d74e9395613ef.zip | |
Fix compilation error
llvm-svn: 314487
Diffstat (limited to 'lldb/source/Symbol/ClangASTContext.cpp')
| -rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 00729c8d302..9da01b48214 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -1431,7 +1431,7 @@ static TemplateParameterList *CreateTemplateParameterList( is_typename, parameter_pack)); } } - + if (template_param_infos.packed_args && template_param_infos.packed_args->args.size()) { IdentifierInfo *identifier_info = nullptr; @@ -10126,7 +10126,7 @@ ClangASTContextForExpressions::GetPersistentExpressionState() { clang::ExternalASTMerger & ClangASTContextForExpressions::GetMergerUnchecked() { - lldbassert(m_scratch_ast_source_ap); + lldbassert(m_scratch_ast_source_ap != nullptr); return m_scratch_ast_source_ap->GetMergerUnchecked(); } |

