From 1044d6cbca6d279d457cdd1cf7000671ec48e841 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 11 Apr 2016 17:31:10 -0700 Subject: dyn_cast => dynCast --- test/example/find_div0s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/example/find_div0s.cpp') diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp index 9f1cf911f..14eac95bb 100644 --- a/test/example/find_div0s.cpp +++ b/test/example/find_div0s.cpp @@ -44,7 +44,7 @@ int main() { // In every Binary, look for integer divisions if (curr->op == BinaryOp::DivS || curr->op == BinaryOp::DivU) { // Check if the right operand is a constant, and if it is 0 - auto right = curr->right->dyn_cast(); + auto right = curr->right->dynCast(); if (right && right->value.getInteger() == 0) { std::cout << "We found that " << curr->left << " is divided by zero\n"; } -- cgit v1.2.3