Skip to content

Commit bde91fd

Browse files
[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
1 parent bb0548a commit bde91fd

File tree

5 files changed

+933
-0
lines changed

5 files changed

+933
-0
lines changed

flang/examples/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
add_subdirectory(ExternalHelloWorld)
22
add_subdirectory(PrintFlangFunctionNames)
33
add_subdirectory(FlangOmpReport)
4+
add_subdirectory(FeatureList)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
add_llvm_library(flangFeatureList
2+
MODULE
3+
FeatureList.cpp
4+
5+
DEPENDS
6+
flangFrontend
7+
)

0 commit comments

Comments
 (0)