Skip to content

Commit fc0330b

Browse files
committed
C++: Make XMLFile extend File again
Commit a1e4404 made `XMLFile` no longer extend `File`. I'm guessing this was necessary in the branch where `File` was an IPA-typed `Element` and `XMLFile` was not, but it broke compilation of some of our internal queries.
1 parent 2187b0c commit fc0330b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/XML.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class XMLParent extends @xmlparent {
9494
}
9595

9696
/** An XML file. */
97-
class XMLFile extends XMLParent {
97+
class XMLFile extends XMLParent, File {
9898
XMLFile() {
9999
xmlEncoding(this,_)
100100
}

0 commit comments

Comments
 (0)