Enabled dedicated debugger support in Clang, meaning

that Objective-C methods returning types incompatible
with "id" can be properly cast.

llvm-svn: 142702
This commit is contained in:
Sean Callanan 2011-10-21 23:40:00 +00:00
parent c3afe1f8af
commit 2e2b8b844c
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
m_compiler->getLangOpts().ThreadsafeStatics = false;
m_compiler->getLangOpts().AccessControl = false; // Debuggers get universal access
m_compiler->getLangOpts().DollarIdents = true; // $ indicates a persistent variable name
//m_compiler->getLangOpts().DebuggerSupport = true; // Features specifically for debugger clients
m_compiler->getLangOpts().DebuggerSupport = true; // Features specifically for debugger clients
// Set CodeGen options
m_compiler->getCodeGenOpts().EmitDeclMetadata = true;