Style: Format code with clang-format 6.0.1
This commit is contained in:
parent
ce53876a44
commit
7c9f7452f4
33 changed files with 47 additions and 67 deletions
|
|
@ -863,7 +863,7 @@ int GDScriptCompiler::_parse_expression(CodeGen &codegen, const GDScriptParser::
|
|||
|
||||
if (on->arguments[0]->type == GDScriptParser::Node::TYPE_OPERATOR && (static_cast<GDScriptParser::OperatorNode *>(on->arguments[0])->op == GDScriptParser::OperatorNode::OP_INDEX || static_cast<GDScriptParser::OperatorNode *>(on->arguments[0])->op == GDScriptParser::OperatorNode::OP_INDEX_NAMED)) {
|
||||
|
||||
// SET (chained) MODE!
|
||||
// SET (chained) MODE!
|
||||
#ifdef DEBUG_ENABLED
|
||||
if (static_cast<GDScriptParser::OperatorNode *>(on->arguments[0])->op == GDScriptParser::OperatorNode::OP_INDEX_NAMED) {
|
||||
const GDScriptParser::OperatorNode *inon = static_cast<GDScriptParser::OperatorNode *>(on->arguments[0]);
|
||||
|
|
|
|||
|
|
@ -1820,7 +1820,7 @@ static void _find_type_arguments(GDScriptCompletionContext &context, const GDScr
|
|||
|
||||
} else {
|
||||
|
||||
//regular method
|
||||
//regular method
|
||||
#if defined(DEBUG_METHODS_ENABLED) && defined(TOOLS_ENABLED)
|
||||
if (p_argidx < m->get_argument_count()) {
|
||||
PropertyInfo pi = m->get_argument_info(p_argidx);
|
||||
|
|
|
|||
|
|
@ -1137,7 +1137,7 @@ void GDScriptTokenizerText::advance(int p_amount) {
|
|||
_advance();
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define BYTECODE_VERSION 13
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue