[all-commits] [llvm/llvm-project] bde91f: [flang] Feature list plugin

Ethan Luis McDonough via All-commits all-commits at lists.llvm.org
Fri Mar 17 00:29:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bde91fd03f72a25151caa9f8ee2d4572ff14619b
      https://github.com/llvm/llvm-project/commit/bde91fd03f72a25151caa9f8ee2d4572ff14619b
  Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M flang/examples/CMakeLists.txt
    A flang/examples/FeatureList/CMakeLists.txt
    A flang/examples/FeatureList/FeatureList.cpp
    A flang/test/Examples/feature-list-class.f90
    A flang/test/Examples/feature-list-functions.f90

  Log Message:
  -----------
  [flang] Feature list plugin

Plugin that counts the number of times each tree node occurs in a given program.  Used for test coverage.

> One thing we need...is a way to determine what features a code uses. Preferably we would also be able to determine if they are implemented or not. Just the former could be done with a visitor for the parse tree. For the latter we would continue compilation and somehow ignore todo errors but collect them - @jdoerfert

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D143704




More information about the All-commits mailing list