fish-shell/src
Fabian Homborg 9735a18add Always return a value, even in unreachable code
To placate dumb compilers, we sometimes have to include code that will
never be executed.

Should fix the build when -Werror=return-type is in effect.
2020-01-30 20:39:42 +01:00
..
widecharwidth Fix mismatched wchar_t sign comparison errors on some platforms 2019-12-18 12:32:04 -06:00
autoload.cpp Initialize a const variable 2019-08-16 17:50:41 -07:00
autoload.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_argparse.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
builtin_argparse.h
builtin_bg.cpp Introduce the internal jobs for functions 2019-12-31 10:08:50 -08:00
builtin_bg.h
builtin_bind.cpp [clang-tidy] Convert loops to range based 2019-11-25 14:50:40 -08:00
builtin_bind.h Allow binding nul (zero byte) 2019-09-14 16:37:57 -07:00
builtin_block.cpp Make block_type_t an enum class 2019-12-22 15:37:14 -08:00
builtin_block.h
builtin_builtin.cpp [clang-tidy] Convert loops to range based 2019-11-25 14:50:40 -08:00
builtin_builtin.h
builtin_cd.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_cd.h
builtin_command.cpp [clang-tidy] Convert loops to range based 2019-11-25 14:50:40 -08:00
builtin_command.h
builtin_commandline.cpp Place fish in its own process group when launched with -i 2019-12-23 10:32:37 +01:00
builtin_commandline.h Reformat all files 2019-05-05 12:09:25 +02:00
builtin_complete.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
builtin_complete.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_contains.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
builtin_contains.h
builtin_disown.cpp Introduce the internal jobs for functions 2019-12-31 10:08:50 -08:00
builtin_disown.h
builtin_echo.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
builtin_echo.h
builtin_emit.cpp Use a pager to view long outputs of builtin --help 2019-10-28 18:36:07 +01:00
builtin_emit.h
builtin_eval.cpp Rationalize $status and errors 2020-01-25 17:28:41 -08:00
builtin_eval.h Re-implement eval as a regular builtin 2019-04-12 07:04:15 -05:00
builtin_exit.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
builtin_exit.h
builtin_fg.cpp Introduce the internal jobs for functions 2019-12-31 10:08:50 -08:00
builtin_fg.h
builtin_function.cpp Properly print leading comments and indentation in functions 2020-01-03 14:40:28 -08:00
builtin_function.h Properly print leading comments and indentation in functions 2020-01-03 14:40:28 -08:00
builtin_functions.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
builtin_functions.h
builtin_history.cpp Remove reader_test_should_cancel 2020-01-16 15:21:45 -08:00
builtin_history.h
builtin_jobs.cpp Introduce the internal jobs for functions 2019-12-31 10:08:50 -08:00
builtin_jobs.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_math.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
builtin_math.h
builtin_printf.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
builtin_printf.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_pwd.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
builtin_pwd.h
builtin_random.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_random.h
builtin_read.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
builtin_read.h
builtin_realpath.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_realpath.h
builtin_return.cpp Make block_type_t an enum class 2019-12-22 15:37:14 -08:00
builtin_return.h
builtin_set_color.cpp [clang-tidy] Convert loops to range based 2019-11-25 14:50:40 -08:00
builtin_set_color.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_set.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
builtin_set.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_source.cpp Clean up reader_read 2020-01-28 11:39:26 -08:00
builtin_source.h
builtin_status.cpp [clang-tidy] Switch from size to empty check 2019-12-26 20:07:53 -08:00
builtin_status.h
builtin_string.cpp clang-format .cpp and .h files 2020-01-16 15:18:28 -08:00
builtin_string.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_test.cpp [clang-tidy] Add const to reference 2019-12-26 21:37:15 -08:00
builtin_test.h
builtin_ulimit.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
builtin_ulimit.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_wait.cpp Introduce the internal jobs for functions 2019-12-31 10:08:50 -08:00
builtin_wait.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin.cpp Use completion_list_t naming everywhere 2020-01-16 15:18:49 -08:00
builtin.h Use completion_list_t naming everywhere 2020-01-16 15:18:49 -08:00
cancellable.h Remove some dead code 2020-01-15 11:59:40 -08:00
color.cpp [clang-tidy] Simplify boolean expressions 2019-11-29 23:46:51 -08:00
color.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
common.cpp clang-format all C++ files 2020-01-30 10:50:11 -08:00
common.h Be more consistent about using autoclose_fd_t and exec_close 2020-01-29 13:55:20 -08:00
complete.cpp Revert "Add noexcept to completion_t definitions as well as declarations" 2020-01-26 20:59:58 -08:00
complete.h Introduce operation_context_t 2020-01-16 15:21:28 -08:00
enum_set.h Clean up enum_set.h header 2019-04-26 16:08:19 -07:00
env_dispatch.cpp clang-format all C++ files 2020-01-30 10:50:11 -08:00
env_dispatch.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
env_universal_common.cpp clang-format all C++ files 2020-01-30 10:50:11 -08:00
env_universal_common.h Continued adoption of autoclose_fd_t and exec_close 2020-01-29 14:16:16 -08:00
env.cpp [clang-tidy] Add several references 2019-12-26 21:55:53 -08:00
env.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
event.cpp Remove commented out debugs 2020-01-19 14:54:53 +01:00
event.h [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
exec.cpp Rename pgroup_mode to pgroup_provenance 2020-01-30 11:14:31 -08:00
exec.h Factor out logic about how pgroups are assigned 2020-01-30 10:50:16 -08:00
expand.cpp Replace debug() with flog 2020-01-26 14:13:17 +01:00
expand.h Rationalize $status and errors 2020-01-25 17:28:41 -08:00
fallback.cpp clang-format .cpp files 2019-11-29 23:57:19 -08:00
fallback.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
fish_indent.cpp Replace debug(1) with FLOGF(warning) 2020-01-19 14:22:39 +01:00
fish_key_reader.cpp fish_key_reader: Remove debug messages 2020-01-19 14:55:24 +01:00
fish_test_helper.cpp Correct the usleep calculation in fish_test_helper 2020-01-07 17:07:51 -08:00
fish_tests.cpp Eliminate wopen() 2020-01-28 10:43:37 -08:00
fish_version.cpp Reformat all files 2019-05-05 12:09:25 +02:00
fish_version.h
fish.cpp clang-format all C++ files 2020-01-30 10:50:11 -08:00
flog.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
flog.h clang-format all C++ files 2020-01-30 10:50:11 -08:00
function.cpp Properly print leading comments and indentation in functions 2020-01-03 14:40:28 -08:00
function.h Properly print leading comments and indentation in functions 2020-01-03 14:40:28 -08:00
future_feature_flags.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
future_feature_flags.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
global_safety.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
highlight.cpp Replace debug() with flog 2020-01-26 14:13:17 +01:00
highlight.h Introduce operation_context_t 2020-01-16 15:21:28 -08:00
history_file.cpp [clang-tidy] Use strcmp family properly 2019-11-29 23:46:51 -08:00
history_file.h Include ctime in history_file.h 2019-10-16 11:55:40 -07:00
history.cpp Add flog category for history *file* 2020-01-19 14:22:50 +01:00
history.h Remove reader_test_should_cancel 2020-01-16 15:21:45 -08:00
input_common.cpp Add reader flog category 2020-01-19 14:55:08 +01:00
input_common.h clang-format .cpp and .h files 2020-01-16 15:18:28 -08:00
input.cpp Add reader flog category 2020-01-19 14:55:08 +01:00
input.h [clang-tidy] Add several references 2019-12-26 21:55:53 -08:00
intern.cpp Remove a few less useful debug messages 2020-01-19 14:22:50 +01:00
intern.h
io.cpp Replace debug() with flog 2020-01-26 14:13:17 +01:00
io.h Replace debug() with flog 2020-01-26 14:13:17 +01:00
iothread.cpp Merge branch 'Integration_3.1.0' 2020-01-30 17:31:43 +08:00
iothread.h Run clang-format 2020-01-21 14:43:17 -08:00
kill.cpp [clang-tidy] Use C++ using instead of C typedef 2019-11-29 23:46:51 -08:00
kill.h fix typos 2019-10-23 19:38:44 +02:00
lru.h lru to use std::map, not std::unordered_map 2019-12-21 17:09:21 -08:00
maybe.h Reformat all files 2019-05-05 12:09:25 +02:00
null_terminated_array.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
null_terminated_array.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
operation_context.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
operation_context.h Introduce operation_context_t 2020-01-16 15:21:28 -08:00
output.cpp Replace debug(1) with FLOGF(warning) 2020-01-19 14:22:39 +01:00
output.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
pager.cpp remove stale typedef 2020-01-30 16:32:47 +01:00
pager.h Use completion_list_t naming everywhere 2020-01-16 15:18:49 -08:00
parse_constants.h Reject time with background jobs 2020-01-03 01:07:49 -06:00
parse_execution.cpp Rename pgroup_mode to pgroup_provenance 2020-01-30 11:14:31 -08:00
parse_execution.h Rationalize $status and errors 2020-01-25 17:28:41 -08:00
parse_grammar_elements.inc Make "time" a job prefix 2020-01-03 01:07:49 -06:00
parse_grammar.h Make "time" a job prefix 2020-01-03 01:07:49 -06:00
parse_productions.cpp Add flog categories for parse-productions 2020-01-19 14:22:50 +01:00
parse_productions.h
parse_tree.cpp Make "time" a job prefix 2020-01-03 01:07:49 -06:00
parse_tree.h Fix error messages for "and" and "or" after pipe 2019-11-26 14:03:53 +01:00
parse_util.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
parse_util.h [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
parser_keywords.cpp clang-format C++ files 2019-12-29 14:25:42 -08:00
parser_keywords.h
parser.cpp Replace debug() with flog 2020-01-26 14:13:17 +01:00
parser.h Rationalize $status and errors 2020-01-25 17:28:41 -08:00
path.cpp Migrate create_directory inside path.cpp 2020-01-28 10:30:51 -08:00
path.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
postfork.cpp Refactor child_set_group 2020-01-30 11:27:21 -08:00
postfork.h Remove the wait_for_threads_to_die parameter to execute_fork 2019-11-23 12:36:44 -08:00
print_help.cpp Run clang-format on all files 2019-10-13 15:50:48 -07:00
print_help.h
proc.cpp Always return a value, even in unreachable code 2020-01-30 20:39:42 +01:00
proc.h Rename pgroup_mode to pgroup_provenance 2020-01-30 11:14:31 -08:00
reader.cpp Continued adoption of autoclose_fd_t and exec_close 2020-01-29 14:16:16 -08:00
reader.h Clean up reader_read 2020-01-28 11:39:26 -08:00
redirection.cpp Collapse io_data switch statements 2019-12-29 15:51:22 -08:00
redirection.h dup2_list_t::resolve_chain to stop returning maybe 2019-12-29 14:49:05 -08:00
sanity.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
sanity.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
screen.cpp clang-format .cpp and .h files 2020-01-16 15:18:28 -08:00
screen.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
signal.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
signal.h Eliminate shell_is_interactive 2019-06-29 11:28:26 -07:00
timer.cpp Make "time" a job prefix 2020-01-03 01:07:49 -06:00
timer.h Make "time" a job prefix 2020-01-03 01:07:49 -06:00
tinyexpr.cpp [clang-tidy] Use C++ using instead of C typedef 2019-11-29 23:46:51 -08:00
tinyexpr.h math: Print special error for logical operators 2019-11-01 08:43:13 +01:00
tnode.cpp Make "time" a job prefix 2020-01-03 01:07:49 -06:00
tnode.h clang-format C++ files 2019-12-29 14:25:42 -08:00
tokenizer.cpp [clang-tidy] Add ending namespace comment 2019-12-26 21:37:17 -08:00
tokenizer.h Introduce redirection_spec_t 2019-12-12 16:44:24 -08:00
topic_monitor.cpp clang-format C++ files 2019-12-29 14:25:42 -08:00
topic_monitor.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
trace.cpp Reverse the order of the block stack 2019-12-22 15:07:41 -08:00
trace.h Add support for fish_trace variable to trace execution 2019-11-02 14:40:57 -07:00
utf8.cpp [clang-tidy] Use C++ using instead of C typedef 2019-11-29 23:46:51 -08:00
utf8.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
util.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
util.h Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
wcstringutil.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
wcstringutil.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
wgetopt.cpp [clang-tidy] Replace NULL with nullptr 2019-11-25 14:23:03 -08:00
wgetopt.h rearrange structure fields 2019-04-04 13:47:10 -07:00
wildcard.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
wildcard.h Introduce operation_context_t 2020-01-16 15:21:28 -08:00
wutil.cpp Continued adoption of autoclose_fd_t and exec_close 2020-01-29 14:16:16 -08:00
wutil.h Eliminate wopen() 2020-01-28 10:43:37 -08:00