Skip to content

Commit db1c894

Browse files
compnerdbob-wilson
authored andcommitted
ClangImporter: update for SVN r345605
Update for API changes in clang SVN r345605.
1 parent 562e6f5 commit db1c894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ makeBitFieldAccessors(ClangImporter::Implementation &Impl,
10501050
clang::VK_RValue,
10511051
clang::OK_BitField);
10521052

1053-
auto cGetterBody = new (Ctx) clang::ReturnStmt(clang::SourceLocation(),
1053+
auto cGetterBody = clang::ReturnStmt::Create(Ctx, clang::SourceLocation(),
10541054
cGetterExpr,
10551055
nullptr);
10561056
cGetterDecl->setBody(cGetterBody);

0 commit comments

Comments
 (0)