[PATCH] D118897: [flang] Handle logical constant value for quiet in STOP stmt
    Kiran Chandramohan via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb  3 07:17:57 PST 2022
    
    
  
kiranchandramohan accepted this revision.
kiranchandramohan added a comment.
This revision is now accepted and ready to land.
LGTM. Have a Nit comment.
================
Comment at: flang/lib/Lower/Runtime.cpp:82
+          std::get<std::optional<Fortran::parser::ScalarLogicalExpr>>(stmt.t)) {
+    auto expr = Fortran::semantics::GetExpr(*quiet);
+    assert(expr && "failed getting typed expression");
----------------
Nit: remove auto.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118897/new/
https://reviews.llvm.org/D118897
    
    
More information about the llvm-commits
mailing list