summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-12-01 04:31:46 +0000
committerSean Callanan <scallanan@apple.com>2011-12-01 04:31:46 +0000
commita5230ce303ef1a8da2339ce7bdbb14be23ecc2d0 (patch)
tree2005a050282003bf4fd71d8538a6f1988cef28d2 /lldb/source/Expression/ClangExpressionParser.cpp
parenteaeaf6f906c7cd2196800a5195256ca6839825f9 (diff)
downloadbcm5719-llvm-a5230ce303ef1a8da2339ce7bdbb14be23ecc2d0.tar.gz
bcm5719-llvm-a5230ce303ef1a8da2339ce7bdbb14be23ecc2d0.zip
Picked up a new revision of Clang to pull in Objective-C
enhancements. With these enhancements, the return values of Objective-C methods with unknown return types can be implicitly cast to id for the purpose of making method calls. So what would have required this: (int)[(id)[ClassWithNoDebugInfo methodReturningObject] methodReturningInt] can now be written as: (int)[[ClassWithNoDebugInfo methodReturningObject] methodReturningInt] llvm-svn: 145567
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp
index ae55cadc392..351c4847170 100644
--- a/lldb/source/Expression/ClangExpressionParser.cpp
+++ b/lldb/source/Expression/ClangExpressionParser.cpp
@@ -130,7 +130,7 @@ static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) {
case EmitCodeGenOnly: return new EmitCodeGenOnlyAction();
case EmitObj: return new EmitObjAction();
case FixIt: return new FixItAction();
- case GeneratePCH: return new GeneratePCHAction(false);
+ case GeneratePCH: return new GeneratePCHAction();
case GeneratePTH: return new GeneratePTHAction();
case InitOnly: return new InitOnlyAction();
case ParseSyntaxOnly: return new SyntaxOnlyAction();
@@ -196,6 +196,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
llvm::InitializeAllTargets();
llvm::InitializeAllAsmPrinters();
llvm::InitializeAllTargetMCs();
+ llvm::InitializeAllDisassemblers();
}
} InitializeLLVM;
OpenPOWER on IntegriCloud