diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-04-26 18:57:40 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-04-26 18:57:40 +0000 |
commit | 92c5967c32c498b4ce2cf866b12b29bd8aaf5eae (patch) | |
tree | 4e85fa641a8eedce53722e5ef40286c6139fe9eb /unittests/Frontend/CodeGenActionTest.cpp | |
parent | 808ced1c4d02decac4ff75e8eb63fc64bb18be7e (diff) |
Refactor frontend InputKind to prepare for treating module maps as a distinct kind of input.
No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Frontend/CodeGenActionTest.cpp')
-rw-r--r-- | unittests/Frontend/CodeGenActionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Frontend/CodeGenActionTest.cpp b/unittests/Frontend/CodeGenActionTest.cpp index 1d2a50c8bc..d90c2bce2f 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; |