diff --git a/deps.json b/deps.json index ba55345b3..13c30e8d4 100644 --- a/deps.json +++ b/deps.json @@ -6,7 +6,7 @@ "subrepo" : "llvm/llvm-project", "branch" : "main", "subdir" : "third_party/llvm", - "commit" : "9bcf9dc98a6829ae3b0b18aa82368def394af7f4" + "commit" : "5888dee7d04748744743a35d3aef030018bdc275" }, { "name" : "SPIRV-Headers", diff --git a/lib/FrontendPlugin.cpp b/lib/FrontendPlugin.cpp index da5204638..4911ab727 100644 --- a/lib/FrontendPlugin.cpp +++ b/lib/FrontendPlugin.cpp @@ -785,7 +785,7 @@ struct ExtraValidationConsumer final : public ASTConsumer { layout = UBO; } auto array_type = FD->getASTContext().getIncompleteArrayType( - type->getPointeeType(), clang::ArrayType::Normal, 0); + type->getPointeeType(), clang::ArraySizeModifier::Normal, 0); if (!clspv::Option::RewritePackedStructs() && !IsSupportedLayout(array_type, 0, layout, FD->getASTContext(), P->getSourceRange(),