diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-19 23:03:58 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-19 23:03:58 +0000 |
commit | 8f5cf74c77e65847201cb7d0c894d2f7b78366be (patch) | |
tree | ceaf5459645a5b921ba48f56c0fa7c23c245b3be /clang/unittests/Frontend/FrontendActionTest.cpp | |
parent | 29eb47bd685d65d824e1c8fa303b8a1e8c6af39b (diff) | |
download | bcm5719-llvm-8f5cf74c77e65847201cb7d0c894d2f7b78366be.tar.gz bcm5719-llvm-8f5cf74c77e65847201cb7d0c894d2f7b78366be.zip |
Re-instate r125819 and r125820 with no functionality change
llvm-svn: 126060
Diffstat (limited to 'clang/unittests/Frontend/FrontendActionTest.cpp')
-rw-r--r-- | clang/unittests/Frontend/FrontendActionTest.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/unittests/Frontend/FrontendActionTest.cpp b/clang/unittests/Frontend/FrontendActionTest.cpp index 49a63983f05..a32388a062e 100644 --- a/clang/unittests/Frontend/FrontendActionTest.cpp +++ b/clang/unittests/Frontend/FrontendActionTest.cpp @@ -14,7 +14,6 @@ #include "clang/Frontend/FrontendAction.h" #include "llvm/ADT/Triple.h" -#include "llvm/LLVMContext.h" #include "llvm/Support/MemoryBuffer.h" #include "gtest/gtest.h" @@ -61,7 +60,6 @@ TEST(ASTFrontendAction, Sanity) { invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly; invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu"; CompilerInstance compiler; - compiler.setLLVMContext(new LLVMContext); compiler.setInvocation(invocation); compiler.createDiagnostics(0, NULL); |