Skip to content

Commit

Permalink
[EmitC] Remove unsused code from builders (#18191)
Browse files Browse the repository at this point in the history
This is a leftover from the refactorings in #16728 and #16730.

Signed-off-by: Simon Camphausen <[email protected]>
  • Loading branch information
simon-camp authored Aug 12, 2024
1 parent 67b0e25 commit 49198a9
Showing 1 changed file with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,42 +45,6 @@ enum PreprocessorDirective {
PRAGMA
};

enum UnaryOperator {
// arithmetic
PLUS = 0,
MINUS,
BITWISE_NOT,
// logical
LOGICAL_NOT,
};

enum BinaryOperator {
// arithmetic
ADDITION = 0,
SUBTRACTION,
PRODUCT,
DIVISION,
REMAINDER,
BITWISE_AND,
BITWISE_OR,
BITWISE_XOR,
BITWISE_LEFT_SHIFT,
BITWISE_RIGHT_SHIFT,
// logical
LOGICAL_AND,
LOGICAL_OR,
// comparison
EQUAL_TO,
NOT_EQUAL_TO,
LESS_THAN,
GREATER_THAN,
LESS_THAN_OR_EQUAL,
GREATER_THAN_OR_EQUAL,
};

Value unaryOperator(OpBuilder builder, Location location, UnaryOperator op,
Value operand, Type resultType);

Value allocateVariable(OpBuilder builder, Location location, Type type,
Attribute initializer);

Expand Down

0 comments on commit 49198a9

Please sign in to comment.