Get the latest tech news

Flang-Tidy Cleaning/Correcting Fortran Code In "Sort Of Opinionated Fashion"


Similar to Clang-Tidy for tidying up C/C++ code using LLVM/Clang components, Flang-Tidy is in development as a tool for Fortran static analysis built upon LLVM's modern Flang compiler code

The developers hope Flang-Tidy will be eventually accepted into upstream LLVM for helping to bolster its Fortran language support for scientific computing. "Just like clang-tidy, the checks that we implement in flang-tidy go beyond regular compiler warnings, in that they flag formally correct code in a sort of opinionated fashion. Fortran developers wanting to learn more about the proposed Flang-Tidy can do so via this RFC thread via LLVM Discourse.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of opinionated fashion

opinionated fashion

Photo of tidy cleaning

tidy cleaning

Photo of flang-tidy

flang-tidy