godot/modules/gdscript
Rémi Verschelde fc18d637a8 Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.

(cherry picked from commit fc370b3feb)
2019-09-24 09:00:45 +02:00
..
doc_classes Extends wrapi/wrapf docs 2019-07-29 16:17:43 +02:00
editor Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
config.py doc: Improve docs for Resource* classes 2019-07-29 16:05:01 +02:00
gdscript.cpp Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-20 20:13:07 +02:00
gdscript.h Add support for type hints in non-default script editor templates 2019-04-20 20:12:53 +02:00
gdscript_compiler.cpp Fix duplicated lines in GDScript bytecode 2019-03-16 10:42:28 -07:00
gdscript_compiler.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
gdscript_editor.cpp Small fixes, mostly dupicated code 2019-09-24 09:00:45 +02:00
gdscript_function.cpp Revert "Forbid implicit type conversion in GDScript" 2019-03-04 12:25:59 +01:00
gdscript_function.h Revert "Forbid implicit type conversion in GDScript" 2019-03-04 12:25:59 +01:00
gdscript_functions.cpp Added smoothstep built-in function 2019-04-20 23:30:56 +02:00
gdscript_functions.h Added smoothstep built-in function 2019-04-20 23:30:56 +02:00
gdscript_parser.cpp Fix -Wimplicit-fallthrough warnings from GCC 8 2019-09-24 09:00:45 +02:00
gdscript_parser.h Revert "Forbid implicit type conversion in GDScript" 2019-03-04 12:25:59 +01:00
gdscript_tokenizer.cpp Fix -Wimplicit-fallthrough warnings from GCC 8 2019-09-24 09:00:45 +02:00
gdscript_tokenizer.h Fix warnings seen with -Wignored-qualifiers. 2019-02-21 20:24:29 +01:00
register_types.cpp Merge pull request #24883 from akien-mga/resourceformat-unregister 2019-01-10 14:25:09 +01:00
register_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00