summaryrefslogtreecommitdiff
path: root/unittests/Frontend/CodeGenActionTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Frontend/CodeGenActionTest.cpp')
-rw-r--r--unittests/Frontend/CodeGenActionTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Frontend/CodeGenActionTest.cpp b/unittests/Frontend/CodeGenActionTest.cpp
index 1d2a50c8bc208..d90c2bce2f6e5 100644
--- a/unittests/Frontend/CodeGenActionTest.cpp
+++ b/unittests/Frontend/CodeGenActionTest.cpp
@@ -46,7 +46,7 @@ TEST(CodeGenTest, TestNullCodeGen) {
"test.cc",
MemoryBuffer::getMemBuffer("").release());
Invocation->getFrontendOpts().Inputs.push_back(
- FrontendInputFile("test.cc", IK_CXX));
+ FrontendInputFile("test.cc", InputKind::CXX));
Invocation->getFrontendOpts().ProgramAction = EmitLLVM;
Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
CompilerInstance Compiler;