forked from OSchip/llvm-project
Fix from Jean-Daniel. Thanks.
Error in object runtime language detection code (spurious '; ') Also replace false by NULL in a place where the compiler expects a pointer instead of a bool. llvm-svn: 114957
This commit is contained in:
parent
a8298d3ba5
commit
d440bccb16
|
@ -779,7 +779,7 @@ ValueObject::GetObjectRuntimeLanguage ()
|
|||
{
|
||||
if (ClangASTContext::IsObjCClassType (opaque_qual_type))
|
||||
return lldb::eLanguageTypeObjC;
|
||||
if (ClangASTContext::IsCXXClassType (opaque_qual_type));
|
||||
if (ClangASTContext::IsCXXClassType (opaque_qual_type))
|
||||
return lldb::eLanguageTypeC_plus_plus;
|
||||
}
|
||||
|
||||
|
|
|
@ -817,7 +817,7 @@ ClangASTContext::AddMethodToCXXRecordType
|
|||
)
|
||||
{
|
||||
if (!record_opaque_type || !method_opaque_type || !name)
|
||||
return false;
|
||||
return NULL;
|
||||
|
||||
assert(ast_context);
|
||||
|
||||
|
|
Loading…
Reference in New Issue