[Lldb-commits] [lldb] r114957 - in /lldb/trunk/source: Core/ValueObject.cpp Symbol/ClangASTContext.cpp
Johnny Chen
johnny.chen at apple.com
Tue Sep 28 09:10:54 PDT 2010
Author: johnny
Date: Tue Sep 28 11:10:54 2010
New Revision: 114957
URL: http://llvm.org/viewvc/llvm-project?rev=114957&view=rev
Log:
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.
Modified:
lldb/trunk/source/Core/ValueObject.cpp
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/source/Core/ValueObject.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObject.cpp?rev=114957&r1=114956&r2=114957&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObject.cpp (original)
+++ lldb/trunk/source/Core/ValueObject.cpp Tue Sep 28 11:10:54 2010
@@ -779,7 +779,7 @@
{
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;
}
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=114957&r1=114956&r2=114957&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Tue Sep 28 11:10:54 2010
@@ -817,7 +817,7 @@
)
{
if (!record_opaque_type || !method_opaque_type || !name)
- return false;
+ return NULL;
assert(ast_context);
More information about the lldb-commits
mailing list