mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
parent
5c66771e3e
commit
4e5310cc60
175 changed files with 467 additions and 674 deletions
|
|
@ -1073,7 +1073,7 @@ int GDScriptCompiler::_parse_expression(CodeGen &codegen, const GDScriptParser::
|
|||
int set_index;
|
||||
bool named = false;
|
||||
|
||||
if (static_cast<const GDScriptParser::OperatorNode *>(op)->op == GDScriptParser::OperatorNode::OP_INDEX_NAMED) {
|
||||
if (op->op == GDScriptParser::OperatorNode::OP_INDEX_NAMED) {
|
||||
|
||||
set_index = codegen.get_name_map_pos(static_cast<const GDScriptParser::IdentifierNode *>(op->arguments[1])->name);
|
||||
named = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue