[flang-commits] [flang] d4da493 - wip

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Thu Jun 22 06:35:54 PDT 2023


Author: Peter Klausler
Date: 2023-06-22T06:35:41-07:00
New Revision: d4da4934c39d275d4a496a224b483515e30f8989

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

LOG: wip

Added: 
    

Modified: 
    flang/lib/Semantics/resolve-names.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Semantics/resolve-names.cpp b/flang/lib/Semantics/resolve-names.cpp
index 8e92e37cc33fa..4afc9c6b3c0d6 100644
--- a/flang/lib/Semantics/resolve-names.cpp
+++ b/flang/lib/Semantics/resolve-names.cpp
@@ -5713,6 +5713,8 @@ bool DeclarationVisitor::Pre(const parser::BasedPointerStmt &x) {
       Say(pointerName.source, "Cray pointer '%s' must have type %s"_err_en_US,
           pointerName.source, pointerType.AsFortran());
     }
+    // pmk: change parse tree to use DimensionStmt::Declaration in BasedPointerStmt, then change this
+    // routine to a Post()
     if (ResolveName(pointeeName)) {
       Symbol &pointee{*pointeeName.symbol};
       if (pointee.has<UseDetails>()) {


        


More information about the flang-commits mailing list