[flang][NFC] Fix build errors for clang-10

This patch fixes one worning. Since Flang sets `-Werror`, that's
sufficient for a build to fail. As per flang/README.md, Clang-10 is one
of the officially supported compilers.

Differential Revision: https://reviews.llvm.org/D88723
This commit is contained in:
Andrzej Warzynski 2020-10-02 09:53:35 +01:00
parent 07028cd5db
commit 35a2a042dd
1 changed files with 0 additions and 1 deletions

View File

@ -99,7 +99,6 @@ static void genACC(Fortran::lower::AbstractConverter &converter,
if (loopDirective.v == llvm::acc::ACCD_loop) {
auto &firOpBuilder = converter.getFirOpBuilder();
auto currentLocation = converter.getCurrentLocation();
llvm::ArrayRef<mlir::Type> argTy;
// Add attribute extracted from clauses.
const auto &accClauseList =