Skip to content

Commit

Permalink
Update Swift for r367864
Browse files Browse the repository at this point in the history
(cherry picked from commit 63127c2)
  • Loading branch information
JDevlieghere committed Aug 19, 2019
1 parent b608a56 commit f85022d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ClangImporter/ClangImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ std::string ClangImporter::getBridgingHeaderContents(StringRef headerPath,
invocation->getFrontendOpts().DisableFree = false;
invocation->getFrontendOpts().Inputs.clear();
invocation->getFrontendOpts().Inputs.push_back(
clang::FrontendInputFile(headerPath, clang::InputKind::ObjC));
clang::FrontendInputFile(headerPath, clang::Language::ObjC));

invocation->getPreprocessorOpts().resetNonModularOptions();

Expand Down Expand Up @@ -1479,7 +1479,7 @@ ClangImporter::emitBridgingPCH(StringRef headerPath,
invocation->getFrontendOpts().DisableFree = false;
invocation->getFrontendOpts().Inputs.clear();
invocation->getFrontendOpts().Inputs.push_back(
clang::FrontendInputFile(headerPath, clang::InputKind::ObjC));
clang::FrontendInputFile(headerPath, clang::Language::ObjC));
invocation->getFrontendOpts().OutputFile = outputPCHPath;
invocation->getFrontendOpts().ProgramAction = clang::frontend::GeneratePCH;
invocation->getPreprocessorOpts().resetNonModularOptions();
Expand Down

0 comments on commit f85022d

Please sign in to comment.