Skip to content

Commit

Permalink
[flang] Feature list plugin
Browse files Browse the repository at this point in the history
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
  • Loading branch information
EthanLuisMcDonough committed Mar 17, 2023
1 parent bb0548a commit bde91fd
Show file tree
Hide file tree
Showing 5 changed files with 933 additions and 0 deletions.
1 change: 1 addition & 0 deletions flang/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
add_subdirectory(ExternalHelloWorld)
add_subdirectory(PrintFlangFunctionNames)
add_subdirectory(FlangOmpReport)
add_subdirectory(FeatureList)
7 changes: 7 additions & 0 deletions flang/examples/FeatureList/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
add_llvm_library(flangFeatureList
MODULE
FeatureList.cpp

DEPENDS
flangFrontend
)

0 comments on commit bde91fd

Please sign in to comment.