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. |
||
|---|---|---|
| .. | ||
| doc_classes | ||
| editor | ||
| config.py | ||
| gdscript.cpp | ||
| gdscript.h | ||
| gdscript_compiler.cpp | ||
| gdscript_compiler.h | ||
| gdscript_editor.cpp | ||
| gdscript_function.cpp | ||
| gdscript_function.h | ||
| gdscript_functions.cpp | ||
| gdscript_functions.h | ||
| gdscript_parser.cpp | ||
| gdscript_parser.h | ||
| gdscript_tokenizer.cpp | ||
| gdscript_tokenizer.h | ||
| register_types.cpp | ||
| register_types.h | ||
| SCsub | ||