[flang-commits] [flang] a9f9c7d - Fix build error from #151513.

Akash Banerjee via flang-commits flang-commits at lists.llvm.org
Mon Aug 11 05:17:04 PDT 2025


Author: Akash Banerjee
Date: 2025-08-11T13:16:39+01:00
New Revision: a9f9c7db4fedd8cc8a18ec48a8a6ab664bff140b

URL: https://github.com/llvm/llvm-project/commit/a9f9c7db4fedd8cc8a18ec48a8a6ab664bff140b
DIFF: https://github.com/llvm/llvm-project/commit/a9f9c7db4fedd8cc8a18ec48a8a6ab664bff140b.diff

LOG: Fix build error from #151513.

Added: 
    

Modified: 
    flang/lib/Lower/OpenMP/ClauseProcessor.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Lower/OpenMP/ClauseProcessor.cpp b/flang/lib/Lower/OpenMP/ClauseProcessor.cpp
index 6548b501f29d1..5d19f589d79fc 100644
--- a/flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+++ b/flang/lib/Lower/OpenMP/ClauseProcessor.cpp
@@ -1522,7 +1522,6 @@ bool ClauseProcessor::processEnter(
     llvm::SmallVectorImpl<DeclareTargetCaptureInfo> &result) const {
   return findRepeatableClause<omp::clause::Enter>(
       [&](const omp::clause::Enter &clause, const parser::CharBlock &source) {
-        mlir::Location currentLocation = converter.genLocation(source);
         bool automap =
             std::get<std::optional<omp::clause::Enter::Modifier>>(clause.t)
                 .has_value();


        


More information about the flang-commits mailing list