[llvm-commits] [llvm] r132621 - in /llvm/trunk: test/TableGen/SetTheory.td utils/TableGen/CMakeLists.txt utils/TableGen/SetTheory.cpp utils/TableGen/SetTheory.h utils/TableGen/TableGen.cpp

Sean Hunt scshunt at csclub.uwaterloo.ca
Fri Jun 3 22:03:29 PDT 2011


On 06/03/11 21:11, Jakob Stoklund Olesen wrote:
> +  /// Operator - A callback representing a DAG operator.
> +  struct Operator {
> +    /// apply - Apply this operator to Expr's arguments and insert the result
> +    /// in Elts.
> +    virtual void apply(SetTheory&, DagInit *Expr, RecSet&Elts) =0;
> +  };
> +
> +  /// Expander - A callback function that can transform a Record representing a
> +  /// set into a fully expanded list of elements. Expanders provide a way for
> +  /// users to define named sets that can be used in DAG expressions.
> +  struct Expander {
> +    virtual void expand(SetTheory&, Record*, RecSet&Elts) =0;
> +  };

These are triggering -Wno-virtual-destructor warnings.

Sean



More information about the llvm-commits mailing list