[flang] [llvm] [flang][OpenMP] Overhaul implementation of ATOMIC construct (PR #137852)

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 11:57:21 PDT 2025


================
@@ -24,6 +24,12 @@
 // OpenMP Directives and Clauses
 namespace Fortran::parser {
 
+// Helper function to print the buffer contents starting at the current point.
+[[maybe_unused]] static std::string ahead(const ParseState &state) {
----------------
kparzysz wrote:

I have written/deleted this repeatedly when debugging parser issues, so I kept it around on purpose.  Should I remove it?

https://github.com/llvm/llvm-project/pull/137852


More information about the llvm-commits mailing list