swig/Examples/test-suite/errors
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vadim Zeitlin a1d7930835 Give warnings for unknown Doxygen commands in Doxygen parser.
Silently ignoring unknown Doxygen commands is not a reasonable default
behaviour, it's simple enough to turn off the warning if the command is really
supposed to be just ignored, but it's too easy to not notice a real problem if
it isn't.

Turn WARN_DOXYGEN_UNKNOWN_COMMAND on by default and add a test to the errors
test suite checking that it is indeed given.
2014-09-03 17:28:10 +02:00
..
c_bad_name.i The great merge 2002-11-30 22:01:28 +00:00
c_bad_name.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_bad_native.i The great merge 2002-11-30 22:01:28 +00:00
c_bad_native.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_class.i The great merge 2002-11-30 22:01:28 +00:00
c_class.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_default_error.i The great merge 2002-11-30 22:01:28 +00:00
c_default_error.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_deprecated.i The great merge 2002-11-30 22:01:28 +00:00
c_deprecated.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_empty_char.i The great merge 2002-11-30 22:01:28 +00:00
c_empty_char.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_enum_badvalue.i The great merge 2002-11-30 22:01:28 +00:00
c_enum_badvalue.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_extra_rblock.i The great merge 2002-11-30 22:01:28 +00:00
c_extra_rblock.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_extra_rbrace.i The great merge 2002-11-30 22:01:28 +00:00
c_extra_rbrace.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_extra_unsigned.i The great merge 2002-11-30 22:01:28 +00:00
c_extra_unsigned.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_insert_missing.i The great merge 2002-11-30 22:01:28 +00:00
c_insert_missing.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_long_short.i The great merge 2002-11-30 22:01:28 +00:00
c_long_short.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_missing_rbrace.i The great merge 2002-11-30 22:01:28 +00:00
c_missing_rbrace.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_missing_semi.i The great merge 2002-11-30 22:01:28 +00:00
c_missing_semi.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_redefine.i The great merge 2002-11-30 22:01:28 +00:00
c_redefine.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_varargs.i The great merge 2002-11-30 22:01:28 +00:00
c_varargs.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
c_varargs_neg.i The great merge 2002-11-30 22:01:28 +00:00
c_varargs_neg.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_bad_extern.i The great merge 2002-11-30 22:01:28 +00:00
cpp_bad_extern.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_extend_destructors.i Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute. 2011-09-13 06:15:29 +00:00
cpp_extend_destructors.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_extend_redefine.i The great merge 2002-11-30 22:01:28 +00:00
cpp_extend_redefine.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_extend_undefined.i The great merge 2002-11-30 22:01:28 +00:00
cpp_extend_undefined.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_extra_brackets.i Fix segfault when there are too many closing round brackets in parsed code 2014-04-05 00:18:30 +01:00
cpp_extra_brackets.stderr Fix segfault when there are too many closing round brackets in parsed code 2014-04-05 00:18:30 +01:00
cpp_extra_brackets2.i Fix seg fault with extra ) brackets and >> 2014-04-08 19:19:44 +01:00
cpp_extra_brackets2.stderr Fix seg fault with extra ) brackets and >> 2014-04-08 19:19:44 +01:00
cpp_inherit.i Add new warning if an empty template declaration is used on a base class, minor docs improvement for empty template declarations. 2012-09-14 22:25:35 +00:00
cpp_inherit.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_inline_namespace.i The great merge 2002-11-30 22:01:28 +00:00
cpp_inline_namespace.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_macro_locator.i Move Swig_locator from scanner.c to cscanner.c. Fix file and line error/warning reporting fixes where SWIG macros are used within {} braces (where the preprocessor expands macros), for example macros within %inline {...} and %fragment(...) {...} and nested structs. Basically anything that results ina call to skip_balanced() in the parser/preprocessor. 2010-09-24 22:13:13 +00:00
cpp_macro_locator.stderr error order foxed 2014-02-05 02:30:48 +04:00
cpp_missing_rparenthesis.i Fix garbage line number and empty file name reporting for some '}' or ')' error messages 2012-12-16 13:56:50 +00:00
cpp_missing_rparenthesis.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_missing_rtemplate.i The great merge 2002-11-30 22:01:28 +00:00
cpp_missing_rtemplate.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_namespace_alias.i The great merge 2002-11-30 22:01:28 +00:00
cpp_namespace_alias.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_namespace_aliasnot.i The great merge 2002-11-30 22:01:28 +00:00
cpp_namespace_aliasnot.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_namespace_aliasundef.i The great merge 2002-11-30 22:01:28 +00:00
cpp_namespace_aliasundef.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_nested_template.i Error test-suite updated for nested changes 2013-12-19 18:23:28 +00:00
cpp_nested_template.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_no_access.i The great merge 2002-11-30 22:01:28 +00:00
cpp_no_access.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_no_return_type.i Fix constructors in named typedef class declarations 2011-08-25 19:27:38 +00:00
cpp_no_return_type.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_nobase.i The great merge 2002-11-30 22:01:28 +00:00
cpp_nobase.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_overload.i The great merge 2002-11-30 22:01:28 +00:00
cpp_overload.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_overload_const.i Fix partial overloading warning messages appearing 2011-03-11 22:36:59 +00:00
cpp_overload_const.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_private_defvalue.i The great merge 2002-11-30 22:01:28 +00:00
cpp_private_defvalue.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_private_inherit.i The great merge 2002-11-30 22:01:28 +00:00
cpp_private_inherit.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_recursive_typedef.i SF #3127633 Fix infinite loop in recursive typedef resolution. 2011-02-05 01:09:40 +00:00
cpp_recursive_typedef.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_shared_ptr.i New warning when the smartptr feature is missing in some classes in an inheritance chain. Errors test-suite now uses Python instead of Tcl as testing language 2011-01-17 21:12:35 +00:00
cpp_shared_ptr.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_template_argname.i The great merge 2002-11-30 22:01:28 +00:00
cpp_template_argname.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_template_nargs.i The great merge 2002-11-30 22:01:28 +00:00
cpp_template_nargs.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_template_not.i The great merge 2002-11-30 22:01:28 +00:00
cpp_template_not.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_template_partial.i The great merge 2002-11-30 22:01:28 +00:00
cpp_template_partial.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_template_repeat.i The great merge 2002-11-30 22:01:28 +00:00
cpp_template_repeat.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_template_undef.i The great merge 2002-11-30 22:01:28 +00:00
cpp_template_undef.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_using_not.i The great merge 2002-11-30 22:01:28 +00:00
cpp_using_not.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
cpp_using_undef.i The great merge 2002-11-30 22:01:28 +00:00
cpp_using_undef.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
doxygen_unknown_command.i Give warnings for unknown Doxygen commands in Doxygen parser. 2014-09-03 17:28:10 +02:00
doxygen_unknown_command.stderr Give warnings for unknown Doxygen commands in Doxygen parser. 2014-09-03 17:28:10 +02:00
Makefile.in Give warnings for unknown Doxygen commands in Doxygen parser. 2014-09-03 17:28:10 +02:00
nomodule.i The great merge 2002-11-30 22:01:28 +00:00
nomodule.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_badeval.i The great merge 2002-11-30 22:01:28 +00:00
pp_badeval.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_constant.i Fix correct line number reporting in errors/warnings when a macro definition ends with '/' and it is not the end of a C comment - swig.swg has some of these macro definitions. 2010-09-11 11:02:18 +00:00
pp_constant.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_defined.i The great merge 2002-11-30 22:01:28 +00:00
pp_defined.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_deprecated.i Add some more preprocessor tests 2010-09-06 18:10:43 +00:00
pp_deprecated.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_illegal_argument.i Add some more preprocessor tests 2010-09-06 18:10:43 +00:00
pp_illegal_argument.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_args.i The great merge 2002-11-30 22:01:28 +00:00
pp_macro_args.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_badchar.i The great merge 2002-11-30 22:01:28 +00:00
pp_macro_badchar.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_defined_unterminated.i Fix line numbering for 'Unterminated call invoking macro' error 2010-09-06 17:30:18 +00:00
pp_macro_defined_unterminated.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_expansion.i Add test for line number reporting for multiple macro expansions 2010-09-06 18:25:22 +00:00
pp_macro_expansion.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_expansion_multiline.i Fix incorrect line number reporting in errors/warnings after parsing macro invocations with parameters given over more than one line. 2010-09-10 23:44:27 +00:00
pp_macro_expansion_multiline.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_inline_unterminated.i Fix #2149523 - Incorrect line number reporting in errors after parsing macros. Remove extraneous extra line in preprocessed output which would sometimes lead to error/warning messages two lines after the end of the file 2010-09-10 06:08:45 +00:00
pp_macro_inline_unterminated.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_missing_expression.i Preprocessing now errors out if extra tokens appear after #else and #end. Add preprocessor errors when preprocessor expressions are missing 2011-02-16 20:48:48 +00:00
pp_macro_missing_expression.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_nargs.i The great merge 2002-11-30 22:01:28 +00:00
pp_macro_nargs.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_redef.i The great merge 2002-11-30 22:01:28 +00:00
pp_macro_redef.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_rparen.i The great merge 2002-11-30 22:01:28 +00:00
pp_macro_rparen.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_unexpected_tokens.i Preprocessing now errors out if extra tokens appear after #else and #end. Add preprocessor errors when preprocessor expressions are missing 2011-02-16 20:48:48 +00:00
pp_macro_unexpected_tokens.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_macro_unterminated.i The great merge 2002-11-30 22:01:28 +00:00
pp_macro_unterminated.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_misplaced_elif.i The great merge 2002-11-30 22:01:28 +00:00
pp_misplaced_elif.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_misplaced_else.i The great merge 2002-11-30 22:01:28 +00:00
pp_misplaced_else.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_missing_enddef.i The great merge 2002-11-30 22:01:28 +00:00
pp_missing_enddef.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_missing_endif.i The great merge 2002-11-30 22:01:28 +00:00
pp_missing_endif.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_missing_file.i The great merge 2002-11-30 22:01:28 +00:00
pp_missing_file.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_missing_rblock.i The great merge 2002-11-30 22:01:28 +00:00
pp_missing_rblock.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_pragma.i Add some more preprocessor tests 2010-09-06 18:10:43 +00:00
pp_pragma.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_unterm_char.i The great merge 2002-11-30 22:01:28 +00:00
pp_unterm_char.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_unterm_comment.i The great merge 2002-11-30 22:01:28 +00:00
pp_unterm_comment.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_unterm_string.i The great merge 2002-11-30 22:01:28 +00:00
pp_unterm_string.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
pp_variable_args.i Add some more preprocessor tests 2010-09-06 18:10:43 +00:00
pp_variable_args.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_apply_nargs.i The great merge 2002-11-30 22:01:28 +00:00
swig_apply_nargs.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_extend.i Fix C code where a typedef name was used for constructor and destructor names in %extend. Deprecate use of typedef names for constructor and destructor names going forwards. 2013-02-18 22:40:42 +00:00
swig_extend.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_fragment_missing.i Fix missing fragment name in warning message about missing fragment 2014-02-22 01:04:50 +00:00
swig_fragment_missing.stderr Fix missing fragment name in warning message about missing fragment 2014-02-22 01:04:50 +00:00
swig_identifier.i The great merge 2002-11-30 22:01:28 +00:00
swig_identifier.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_insert_bad.i The great merge 2002-11-30 22:01:28 +00:00
swig_insert_bad.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_typemap_copy.i The great merge 2002-11-30 22:01:28 +00:00
swig_typemap_copy.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_typemap_old.i The great merge 2002-11-30 22:01:28 +00:00
swig_typemap_old.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00
swig_typemap_warn.i Expand special variables in typemap warnings - rework implementation 2011-11-03 20:31:35 +00:00
swig_typemap_warn.stderr Errors test-suite overhaul 2014-01-19 00:12:12 +00:00