[Lldb-commits] [lldb] r138522 - /lldb/tags/lldb-75/source/Symbol/ClangASTContext.cpp
Greg Clayton
gclayton at apple.com
Wed Aug 24 16:24:31 PDT 2011
Author: gclayton
Date: Wed Aug 24 18:24:31 2011
New Revision: 138522
URL: http://llvm.org/viewvc/llvm-project?rev=138522&view=rev
Log:
Fixed an issue where we might create a CXXRecordDecl instead of a ObjCInterfaceDecl.
Modified:
lldb/tags/lldb-75/source/Symbol/ClangASTContext.cpp
Modified: lldb/tags/lldb-75/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/tags/lldb-75/source/Symbol/ClangASTContext.cpp?rev=138522&r1=138521&r2=138522&view=diff
==============================================================================
--- lldb/tags/lldb-75/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/tags/lldb-75/source/Symbol/ClangASTContext.cpp Wed Aug 24 18:24:31 2011
@@ -1068,7 +1068,7 @@
decl_ctx = ast->getTranslationUnitDecl();
- if (language == eLanguageTypeObjC)
+ if (language == eLanguageTypeObjC || language == eLanguageTypeObjC_plus_plus)
{
bool isForwardDecl = true;
bool isInternal = false;
More information about the lldb-commits
mailing list