summaryrefslogtreecommitdiff
path: root/unittests/Frontend
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-02-19 23:03:58 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-02-19 23:03:58 +0000
commit4b93d660c6326ec79b5e369317d1051cf826c2f3 (patch)
tree9612eae72752a37b65391c88f037393da0f22a2b /unittests/Frontend
parentc1de52de64725945e5ae87e6f99ddedf161856e5 (diff)
downloadclang-4b93d660c6326ec79b5e369317d1051cf826c2f3.tar.gz
clang-4b93d660c6326ec79b5e369317d1051cf826c2f3.tar.bz2
clang-4b93d660c6326ec79b5e369317d1051cf826c2f3.tar.xz
Re-instate r125819 and r125820 with no functionality change
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Frontend')
-rw-r--r--unittests/Frontend/FrontendActionTest.cpp2
-rw-r--r--unittests/Frontend/Makefile2
2 files changed, 1 insertions, 3 deletions
diff --git a/unittests/Frontend/FrontendActionTest.cpp b/unittests/Frontend/FrontendActionTest.cpp
index 49a63983f0..a32388a062 100644
--- a/unittests/Frontend/FrontendActionTest.cpp
+++ b/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);
diff --git a/unittests/Frontend/Makefile b/unittests/Frontend/Makefile
index cdbfb4c57c..4d9937f517 100644
--- a/unittests/Frontend/Makefile
+++ b/unittests/Frontend/Makefile
@@ -9,7 +9,7 @@
CLANG_LEVEL = ../..
TESTNAME = Frontend
-LINK_COMPONENTS := core support mc
+LINK_COMPONENTS := support mc
USEDLIBS = clangFrontendTool.a clangFrontend.a clangDriver.a \
clangSerialization.a clangCodeGen.a clangParse.a clangSema.a \
clangStaticAnalyzerCheckers.a clangStaticAnalyzerCore.a \