[Lldb-commits] [lldb] r138527 - /lldb/trunk/source/Symbol/ClangASTContext.cpp
Greg Clayton
gclayton at apple.com
Wed Aug 24 16:50:00 PDT 2011
Author: gclayton
Date: Wed Aug 24 18:50:00 2011
New Revision: 138527
URL: http://llvm.org/viewvc/llvm-project?rev=138527&view=rev
Log:
Fix so we don't create C++ classes for all objective C classes when we have a
objective C++ source file.
Modified:
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=138527&r1=138526&r2=138527&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Wed Aug 24 18:50:00 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