summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObject.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-09-28 16:10:54 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-09-28 16:10:54 +0000
commitd440bccb16ae883dd40ea0c624c8d1a1cf983e05 (patch)
tree7ef007b2f953ba08c3fb8163e6ad984b40c0e469 /lldb/source/Core/ValueObject.cpp
parenta8298d3ba5de355b00886767835df2c13c215b06 (diff)
downloadbcm5719-llvm-d440bccb16ae883dd40ea0c624c8d1a1cf983e05.tar.gz
bcm5719-llvm-d440bccb16ae883dd40ea0c624c8d1a1cf983e05.zip
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
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
-rw-r--r--lldb/source/Core/ValueObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index 6bb03927168..e98e552cd96 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -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;
}
OpenPOWER on IntegriCloud