Commit d10e8f6e authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Fix clang complain

parent 3a83a580
Pipeline #118221 passed with stages
in 8 minutes and 29 seconds
...@@ -61,7 +61,7 @@ std::string repr_cpp_singleTokenOperator(const POperator & op, const PGraphToken ...@@ -61,7 +61,7 @@ std::string repr_cpp_singleTokenOperator(const POperator & op, const PGraphToken
body += "\t\tif(priorityOp > priorityRight){\n"; body += "\t\tif(priorityOp > priorityRight){\n";
body += "\t\t\t//repr_cpp_token_operator : Let's get the first operand of the right operator rightOp\n"; body += "\t\t\t//repr_cpp_token_operator : Let's get the first operand of the right operator rightOp\n";
body += "\t\t\tPStmt * firstOp = get_first_operand_of_operator(rightOp);\n"; body += "\t\t\tPStmt * firstOp = get_first_operand_of_operator(rightOp);\n";
body += "\t\t\tif(firstOp == NULL){return NULL;}\n"; body += "\t\t\tif(firstOp == NULL){return false;}\n";
body += "\t\t\tvecOperand.push_back("+varName+");\t//This is a copy, so it works\n"; body += "\t\t\tvecOperand.push_back("+varName+");\t//This is a copy, so it works\n";
body += "\t\t\tvecOperand.push_back(*firstOp);\n"; body += "\t\t\tvecOperand.push_back(*firstOp);\n";
body += "\t\t\t*firstOp = op;\n"; body += "\t\t\t*firstOp = op;\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment