Skip to content

Commit e76f84d

Browse files
committed
Add second match
This reverts commit f0d9b6c.
1 parent 6bc2f93 commit e76f84d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/cpp-ci-serial-programs-base.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ jobs:
138138
hasDeclaration(cxxConstructorDecl(ofClass(hasName("std::filesystem::path")))),
139139
hasArgument(0, hasType(asString("std::string")))
140140
)
141+
142+
match cxxConstructExpr(
143+
isExpansionInFileMatching("SerialPrograms/"),
144+
hasDeclaration(cxxConstructorDecl(ofClass(hasName("ImageViewRGB32")))),
145+
hasArgument(0, hasType(rValueReferenceType(pointee(hasType(hasName("VideoSnapshot")))))),
146+
unless(hasAncestor(functionDecl(isInline())))
147+
)
141148
EOF
142149
143150
files=$(jq -r '.[].file' SerialPrograms/bin/compile_commands.json)

0 commit comments

Comments
 (0)