C++: add class and test for a GNU vector fill operation

This commit is contained in:
Nick Rolfe
2018-09-07 12:07:28 +01:00
parent 8e3f63954c
commit 93103e1042
6 changed files with 27 additions and 0 deletions

View File

@@ -369,3 +369,10 @@ class BuiltInOperationIsFinal extends BuiltInOperation, @isfinalexpr {
class BuiltInChooseExpr extends BuiltInOperation, @builtinchooseexpr {
override string toString() { result = "__builtin_choose_expr" }
}
/**
* Fill operation on a GNU vector.
*/
class VectorFillOperation extends UnaryOperation, @vec_fill {
override string getOperator() { result = "(vector fill)" }
}