├── .editorconfig ├── .gitattributes ├── .github └── ISSUE_TEMPLATE ├── .gitignore ├── .travis.yml ├── AUTHORS ├── Adding_Option.md ├── BUGS ├── CMakeLists.txt ├── CODEOWNERS ├── CONTRIBUTING.md ├── COPYING ├── ChangeLog ├── Comments.txt ├── HELP ├── LIMITATIONS.txt ├── NEWS ├── README.md ├── TESTING ├── appveyor.yml ├── cmake ├── CodeCoverage.cmake ├── GenerateTokenNames.cmake ├── Toolchain-mingw32.cmake └── Toolchain-mingw64.cmake ├── commit.log ├── coverity.sh ├── coverity.travis.yml ├── documentation ├── align-thresholds.txt ├── example.c ├── goals.txt ├── htdocs │ ├── align_typedef.html │ ├── ben.cfg.txt │ ├── config.txt │ ├── configuration.txt │ ├── default.cfg │ ├── examples │ │ ├── c-1.in.c │ │ ├── c-1.out.c │ │ └── example.c │ ├── images │ │ └── linuxlinks.gif │ ├── index.html │ ├── linux.cfg.txt │ ├── options.html │ ├── options_Align.html │ ├── options_Indenting.html │ ├── options_ModifyCode.html │ ├── options_NewLines.html │ ├── options_Positioning.html │ ├── options_Space_Assign.html │ ├── options_Space_Byref.html │ ├── options_Space_Case.html │ ├── options_Space_Cast.html │ ├── options_Space_Class.html │ ├── options_Space_Comma.html │ ├── options_Space_Enum.html │ ├── options_Space_For.html │ ├── options_Space_New.html │ ├── options_Space_Operator.html │ ├── options_Space_Paren.html │ ├── options_Space_Template.html │ ├── options_Spaces.html │ ├── project-support.jpg │ ├── uncrustify.css │ └── uncrustify.html ├── overview.odt ├── paren_stack.txt ├── theory.txt └── threads.txt ├── emscripten ├── CMakeLists.txt ├── CMake_catFiles.cmake ├── CMake_emscripten_test.cmake ├── README.md ├── build.sh ├── libUncrustify.d.ts ├── postfix_file ├── postfix_module.js ├── prefix_file ├── prefix_module.js └── test │ ├── run_tests.py │ └── test_run.js ├── etc ├── MS-calling_conventions.cfg ├── amxmodx.cfg ├── ben.cfg ├── ben2.cfg ├── d.cfg ├── defaults.cfg ├── dofiles.sh ├── freebsd.cfg ├── gnu-indent.cfg ├── klaus.cfg ├── kr-indent.cfg ├── linux-indent.cfg ├── linux.cfg ├── mono.cfg ├── msvc.cfg ├── objc.cfg ├── sun.cfg ├── types.txt ├── uigui_uncrustify.ini ├── uncrust-files.sh └── xsupplicant.cfg ├── extras.vpj ├── forUncrustifySources.cfg ├── forUncrustifySources.txt ├── lnt ├── ChunkStack.lnt ├── align.lnt ├── chunk_list.lnt ├── logger.lnt ├── readme.txt ├── unc_text.lnt └── uncrustify_types.lnt ├── man └── uncrustify.1.in ├── osx └── Xcode Organizer Actions.xccommands ├── package.json ├── release-steps.txt ├── run_tests.bat ├── run_tests.sh ├── scripts ├── Gcov_test.sh ├── Run_clang-tidy.sh ├── Run_uncrustify_for_sources.bat ├── Run_uncrustify_for_sources.sh ├── Test_more_Options.sh ├── add_test_list.awk ├── auto_reduce.py ├── check_options.py ├── cmpcfg.pl ├── compare_the_gcov.awk ├── count.awk ├── count_the_options.sh ├── gen_config_combinations_uniq_output.py ├── gen_config_combinations_uniq_output_example.json ├── make_version.py ├── new_test.py ├── option_reducer.py ├── pclint │ ├── au-sm123.lnt │ ├── co-gcc.h │ ├── co-gcc.lnt │ ├── lint_cfg.lnt │ ├── pclint_cfg_eclipse.lnt │ ├── policy.lnt │ ├── run-pclint-eclipse.bat │ └── usage.txt ├── prepare_list_of_authors.sh ├── punc.py ├── tokenizer.py ├── update-defaults.sh └── update_emscripten_bindings.py ├── src ├── ChunkStack.cpp ├── ChunkStack.h ├── ListManager.h ├── ParseFrame.cpp ├── ParseFrame.h ├── align.cpp ├── align.h ├── align_stack.cpp ├── align_stack.h ├── args.cpp ├── args.h ├── backup.cpp ├── backup.h ├── base_types.h ├── brace_cleanup.cpp ├── brace_cleanup.h ├── braces.cpp ├── braces.h ├── char_table.h ├── chunk_list.cpp ├── chunk_list.h ├── combine.cpp ├── combine.h ├── compat.h ├── compat_posix.cpp ├── compat_win32.cpp ├── config.h.in ├── defines.cpp ├── defines.h ├── detect.cpp ├── detect.h ├── error_types.h ├── frame_list.cpp ├── frame_list.h ├── helper_for_print.cpp ├── helper_for_print.h ├── indent.cpp ├── indent.h ├── keywords.cpp ├── keywords.h ├── lang_pawn.cpp ├── lang_pawn.h ├── language_tools.cpp ├── language_tools.h ├── log_levels.h ├── logger.cpp ├── logger.h ├── logmask.cpp ├── logmask.h ├── md5.cpp ├── md5.h ├── newlines.cpp ├── newlines.h ├── options.cpp ├── options.h ├── options_for_QT.cpp ├── options_for_QT.h ├── output.cpp ├── output.h ├── parens.cpp ├── parens.h ├── parse_frame.cpp ├── prototypes.h ├── punctuators.cpp ├── punctuators.h ├── semicolons.cpp ├── semicolons.h ├── sorting.cpp ├── sorting.h ├── space.cpp ├── space.h ├── symbols_table.h ├── token_enum.h ├── tokenize.cpp ├── tokenize.h ├── tokenize_cleanup.cpp ├── tokenize_cleanup.h ├── unc_ctype.h ├── unc_text.cpp ├── unc_text.h ├── unc_tools.cpp ├── unc_tools.h ├── uncrustify.cpp ├── uncrustify.h ├── uncrustify_emscripten.cpp ├── uncrustify_types.h ├── uncrustify_version.h.in ├── unicode.cpp ├── unicode.h ├── universalindentgui.cpp ├── universalindentgui.h ├── width.cpp ├── width.h └── windows_compat.h ├── tests ├── .editorconfig ├── CMakeLists.txt ├── c-sharp.test ├── c.test ├── cli │ ├── config │ │ ├── I-842.cfg │ │ ├── mini_d.cfg │ │ ├── mini_nd.cfg │ │ └── unmatched_close_pp.cfg │ ├── input │ │ ├── I-842.cpp │ │ ├── logger.cs │ │ ├── testSrc.cpp │ │ └── unmatched_close_pp.cpp │ ├── output │ │ ├── 21.txt │ │ ├── 25.txt │ │ ├── 28.txt │ │ ├── 31.txt │ │ ├── 36.txt │ │ ├── 66.txt │ │ ├── 9.txt │ │ ├── 92.txt │ │ ├── I-842.txt │ │ ├── help.txt │ │ ├── logger_cs_L_99.txt │ │ ├── mini_d_error.txt │ │ ├── mini_d_uc.txt │ │ ├── mini_d_ucwd.txt │ │ ├── mini_nd_uc.txt │ │ ├── mini_nd_ucwd.txt │ │ ├── p.txt │ │ ├── show_config.txt │ │ └── unmatched_close_pp.txt │ ├── test_cli_options.py │ └── test_cli_options.sh ├── config │ ├── 1liner-no-split.cfg │ ├── 1liner-split.cfg │ ├── 615_nested_usings.cfg │ ├── 620_getset-brace.cfg │ ├── 623_caret-spacing.cfg │ ├── 625_where-constraints.cfg │ ├── 633_decl-in-func-typedef.cfg │ ├── I1112-2.cfg │ ├── NewLine-f.cfg │ ├── NewLine-r.cfg │ ├── STUCK_macro-difficulties.cfg │ ├── U-J.cfg │ ├── U01-Cpp.cfg │ ├── U01-Cs.cfg │ ├── U02-Cpp.cfg │ ├── U02-Cs.cfg │ ├── U03-Cpp.cfg │ ├── U03-Cs.cfg │ ├── U04-Cpp.cfg │ ├── U04-Cs.cfg │ ├── U05-Cpp.cfg │ ├── U05-Cs.cfg │ ├── U06-Cpp.cfg │ ├── U06-Cs.cfg │ ├── U07-Cpp.cfg │ ├── U07-Cs.cfg │ ├── U08-Cpp.cfg │ ├── U08-Cs.cfg │ ├── U09-Cpp.cfg │ ├── U09-Cs.cfg │ ├── U10-Cpp.cfg │ ├── U10-Cpp.rerun.cfg │ ├── U10-Cs.cfg │ ├── U11-Cpp.cfg │ ├── U11-Cpp.rerun.cfg │ ├── U11-Cs.cfg │ ├── U12-Cpp.cfg │ ├── U13-Cpp.cfg │ ├── U13-Cs.cfg │ ├── U14-Cpp.cfg │ ├── U15-Cpp.cfg │ ├── U15-Cs.cfg │ ├── U16-Cpp.cfg │ ├── U18-Cpp.cfg │ ├── U21-Cpp.cfg │ ├── U23-Cpp.cfg │ ├── U24-Cpp.cfg │ ├── U25-Cpp.cfg │ ├── U26-Cpp.cfg │ ├── U27-Cpp.cfg │ ├── U28-Cpp.cfg │ ├── U29-Cpp.cfg │ ├── U30-Cpp.cfg │ ├── U31-Cpp.cfg │ ├── U33-Cpp.cfg │ ├── U36-Cpp.cfg │ ├── UNI-10496.cfg │ ├── UNI-11095.cfg │ ├── UNI-11662.cfg │ ├── UNI-11993.cfg │ ├── UNI-12046.cfg │ ├── UNI-1288.cfg │ ├── UNI-1338.cfg │ ├── UNI-1340.cfg │ ├── UNI-1343.cfg │ ├── UNI-1344.cfg │ ├── UNI-1346.cfg │ ├── UNI-1347.cfg │ ├── UNI-1350.cfg │ ├── UNI-1356.cfg │ ├── UNI-1358.cfg │ ├── UNI-13955.cfg │ ├── UNI-14131.cfg │ ├── UNI-18437.cfg │ ├── UNI-18777.cfg │ ├── UNI-18829.cfg │ ├── UNI-1975.cfg │ ├── UNI-1977.cfg │ ├── UNI-1978.cfg │ ├── UNI-19895.cfg │ ├── UNI-2020.cfg │ ├── UNI-2021.cfg │ ├── UNI-2049.cfg │ ├── UNI-21730.cfg │ ├── UNI-2650.cfg │ ├── UNI-2680.cfg │ ├── UNI-2684.cfg │ ├── UNI-2685.cfg │ ├── UNI-29933.cfg │ ├── UNI-29935.cfg │ ├── UNI-30088.cfg │ ├── UNI-30498_2.cfg │ ├── UNI-3083.cfg │ ├── UNI-32657.cfg │ ├── UNI-32658.cfg │ ├── UNI-36862.cfg │ ├── UNI-37241.cfg │ ├── UNI-9917.cfg │ ├── UNI-9917.rerun.cfg │ ├── Uncrustify.Cpp.cfg │ ├── add_long_closebrace_comment_1.cfg │ ├── aet-func_call_user.cfg │ ├── aet-func_def.cfg │ ├── aet-sp_after_oc_msg_receiver.cfg │ ├── aet-sp_inside_braces_oc_dict.cfg │ ├── aet.cfg │ ├── al.cfg │ ├── align-1.cfg │ ├── align-2.cfg │ ├── align-3.cfg │ ├── align_assign_span-1.cfg │ ├── align_attr.cfg │ ├── align_fcall-2.cfg │ ├── align_fcall.cfg │ ├── align_func_params-t.cfg │ ├── align_func_params_gap.cfg │ ├── align_func_params_span-1.cfg │ ├── align_func_params_thresh_1.cfg │ ├── align_func_params_thresh_2.cfg │ ├── align_func_params_thresh_3.cfg │ ├── align_func_params_thresh_4.cfg │ ├── align_keep_extra.cfg │ ├── align_oc_msg_colon_span-1.cfg │ ├── align_right_cmt_gap-1.cfg │ ├── align_right_comment.cfg │ ├── align_same_func_call_params-t.cfg │ ├── align_typedef_func-1.cfg │ ├── align_typedef_func-2.cfg │ ├── align_typedef_gap-3_span-5.cfg │ ├── align_var_class_span-1.cfg │ ├── align_var_def_thresh_1.cfg │ ├── align_var_def_thresh_2.cfg │ ├── align_var_def_thresh_3.cfg │ ├── amxmodx.cfg │ ├── annotation.cfg │ ├── arith-vs-ptr.cfg │ ├── avalon.cfg │ ├── avalon2.cfg │ ├── avalon3.cfg │ ├── avalon4.cfg │ ├── ben2.cfg │ ├── ben_001.cfg │ ├── ben_002.cfg │ ├── ben_003.cfg │ ├── ben_004.cfg │ ├── ben_005.cfg │ ├── ben_006.cfg │ ├── ben_008.cfg │ ├── ben_009.cfg │ ├── ben_010.cfg │ ├── ben_011.cfg │ ├── ben_012.cfg │ ├── ben_013.cfg │ ├── ben_014.cfg │ ├── ben_015.cfg │ ├── ben_016.cfg │ ├── ben_017.cfg │ ├── ben_018.cfg │ ├── ben_020.cfg │ ├── ben_021.cfg │ ├── ben_022.cfg │ ├── ben_023.cfg │ ├── ben_024.cfg │ ├── ben_026.cfg │ ├── ben_027.cfg │ ├── ben_028.cfg │ ├── ben_029.cfg │ ├── ben_030.cfg │ ├── ben_031.cfg │ ├── ben_032.cfg │ ├── ben_033.cfg │ ├── ben_034.cfg │ ├── ben_036.cfg │ ├── ben_037.cfg │ ├── ben_038.cfg │ ├── ben_042.cfg │ ├── ben_043.cfg │ ├── ben_044.cfg │ ├── ben_045.cfg │ ├── ben_047.cfg │ ├── ben_048.cfg │ ├── ben_049.cfg │ ├── ben_050.cfg │ ├── ben_051.cfg │ ├── ben_052.cfg │ ├── ben_053.cfg │ ├── ben_054.cfg │ ├── ben_055.cfg │ ├── ben_056.cfg │ ├── ben_057.cfg │ ├── ben_058.cfg │ ├── ben_061.cfg │ ├── ben_063.cfg │ ├── ben_064.cfg │ ├── ben_065.cfg │ ├── ben_069.cfg │ ├── ben_070.cfg │ ├── ben_071.cfg │ ├── ben_072.cfg │ ├── ben_073.cfg │ ├── ben_074.cfg │ ├── ben_075.cfg │ ├── ben_076.cfg │ ├── ben_077.cfg │ ├── ben_078.cfg │ ├── ben_079.cfg │ ├── ben_080.cfg │ ├── ben_081.cfg │ ├── ben_083.cfg │ ├── ben_084.cfg │ ├── ben_085.cfg │ ├── ben_086.cfg │ ├── ben_087.cfg │ ├── ben_088.cfg │ ├── ben_089.cfg │ ├── ben_090.cfg │ ├── ben_091.cfg │ ├── ben_092.cfg │ ├── ben_093.cfg │ ├── ben_094.cfg │ ├── ben_095.cfg │ ├── ben_098.cfg │ ├── ben_099.cfg │ ├── ben_100.cfg │ ├── ben_101.cfg │ ├── ben_102.cfg │ ├── ben_103.cfg │ ├── ben_104.cfg │ ├── ben_105.cfg │ ├── block_pointer.cfg │ ├── blocks.cfg │ ├── bool-pos-eol-break.cfg │ ├── bool-pos-eol-force.cfg │ ├── bool-pos-eol.cfg │ ├── bool-pos-sol-break.cfg │ ├── bool-pos-sol-force.cfg │ ├── bool-pos-sol.cfg │ ├── brace-allman.cfg │ ├── brace-banner.cfg │ ├── brace-banner.rerun.cfg │ ├── brace-gnu.cfg │ ├── brace-kr-br.cfg │ ├── brace-kr-nobr.cfg │ ├── brace-kr.cfg │ ├── brace-remove-2.cfg │ ├── brace-remove-all.cfg │ ├── brace-ws.cfg │ ├── brace-ws2.cfg │ ├── bug_1003.cfg │ ├── bug_1004.cfg │ ├── bug_1020.cfg │ ├── bug_1108.cfg │ ├── bug_1160.cfg │ ├── bug_1161.cfg │ ├── bug_1169.cfg │ ├── bug_1170.cfg │ ├── bug_1236.cfg │ ├── bug_1296.cfg │ ├── bug_1324.cfg │ ├── bug_1340.cfg │ ├── bug_1349.cfg │ ├── bug_1395.cfg │ ├── bug_1402.cfg │ ├── bug_1403.cfg │ ├── bug_1432.cfg │ ├── bug_1439.cfg │ ├── bug_1452.cfg │ ├── bug_1620.cfg │ ├── bug_1637.cfg │ ├── bug_1649.cfg │ ├── bug_1650.cfg │ ├── bug_1689.cfg │ ├── bug_1691.cfg │ ├── bug_1702.cfg │ ├── bug_1717.cfg │ ├── bug_1718.cfg │ ├── bug_340.cfg │ ├── bug_472.cfg │ ├── bug_488.cfg │ ├── bug_489.cfg │ ├── bug_620.cfg │ ├── bug_633.cfg │ ├── bug_643.cfg │ ├── bug_657.cfg │ ├── bug_664.cfg │ ├── bug_670.cfg │ ├── bug_671.cfg │ ├── bug_841.cfg │ ├── bug_i_125-412.cfg │ ├── bug_i_322.cfg │ ├── bug_i_359.cfg │ ├── bug_i_405.cfg │ ├── bug_i_409-create.cfg │ ├── bug_i_409-split.cfg │ ├── bug_i_478.cfg │ ├── bug_i_663.cfg │ ├── bug_i_666.cfg │ ├── bug_i_752.cfg │ ├── bug_i_771.cfg │ ├── byref-2.cfg │ ├── byref-center.cfg │ ├── byref-left.cfg │ ├── byref-right.cfg │ ├── case-1.cfg │ ├── case-2.cfg │ ├── case-3.cfg │ ├── cast-sp-a.cfg │ ├── cast-sp-r.cfg │ ├── cast-type.cfg │ ├── cast-types.txt │ ├── cast.cfg │ ├── cgal.cfg │ ├── clang-has_include.cfg │ ├── clark.cfg │ ├── clark.rerun.cfg │ ├── class-colon-pos-eol-add.cfg │ ├── class-colon-pos-eol.cfg │ ├── class-colon-pos-sol-add.cfg │ ├── class-colon-pos-sol.cfg │ ├── class-header.h │ ├── class-nl_func-add.cfg │ ├── class-nl_func-add2.cfg │ ├── class-nl_func-del.cfg │ ├── class-on-colon-indent.cfg │ ├── cmt_convert_tab_to_spaces-t.cfg │ ├── cmt_cpp_to_c-t.cfg │ ├── cmt_indent-1.cfg │ ├── cmt_indent-2.cfg │ ├── cmt_indent-3.cfg │ ├── cmt_indent_multi-f.cfg │ ├── cmt_insert-0.cfg │ ├── cmt_insert-1.cfg │ ├── cmt_multi_check_last-f.cfg │ ├── cmt_multi_first_len_minimum-1.cfg │ ├── cmt_nl_end.cfg │ ├── code_width-70.cfg │ ├── code_width-80.cfg │ ├── cond-1.cfg │ ├── const_throw.cfg │ ├── cpp17.cfg │ ├── cpp_to_c-1.cfg │ ├── cpp_to_c-2.cfg │ ├── cpp_to_c-3.cfg │ ├── cs_generics.cfg │ ├── cu.cfg │ ├── custom-open.cfg │ ├── custom-open2.cfg │ ├── custom_types_ssl.cfg │ ├── d-tst2.cfg │ ├── d.cfg │ ├── d2.cfg │ ├── d3.cfg │ ├── d3a.cfg │ ├── d_sp_paren.cfg │ ├── del_semicolon.cfg │ ├── dont-detab-strings.cfg │ ├── dont-process-defines.cfg │ ├── doxy-comment-no.cfg │ ├── doxy-comment-yes.cfg │ ├── else-if-1.cfg │ ├── else-if-2.cfg │ ├── empty.cfg │ ├── empty_body.cfg │ ├── endif.cfg │ ├── enum.cfg │ ├── enum_comma-3.cfg │ ├── enum_comma-4.cfg │ ├── enum_comma-6.cfg │ ├── file-header.h │ ├── file_footer.txt │ ├── file_header.txt │ ├── force_tab_after_define-t.cfg │ ├── freebsd.cfg │ ├── func-def-1.cfg │ ├── func-def-2.cfg │ ├── func-def-3.cfg │ ├── func-header.h │ ├── func-header2.h │ ├── func_call_user.cfg │ ├── func_class.cfg │ ├── func_param.cfg │ ├── function_header.txt │ ├── ger.cfg │ ├── getset.cfg │ ├── gh137.cfg │ ├── gh293.a.cfg │ ├── gh293.b.cfg │ ├── i1516.cfg │ ├── i1536.cfg │ ├── i1536.txt │ ├── i1564.cfg │ ├── i1768.cfg │ ├── i683.cfg │ ├── if_chain.cfg │ ├── if_chain_braces_2.cfg │ ├── indent-1.cfg │ ├── indent-vbrace.cfg │ ├── indent_boxed.cfg │ ├── indent_braces_no.cfg │ ├── indent_class-t.cfg │ ├── indent_class-t_columns-4.cfg │ ├── indent_columns-11.cfg │ ├── indent_columns-2.cfg │ ├── indent_columns-3.cfg │ ├── indent_columns-4.cfg │ ├── indent_comment_align_thresh_2.cfg │ ├── indent_continue-8.cfg │ ├── indent_cs_delegate_brace-t.cfg │ ├── indent_ctor_init.cfg │ ├── indent_ctor_init_leading.cfg │ ├── indent_ctor_members_twice.cfg │ ├── indent_else_if-t.cfg │ ├── indent_first_for_expr-t.cfg │ ├── indent_func_call_param.cfg │ ├── indent_func_def_param.cfg │ ├── indent_func_param.cfg │ ├── indent_func_proto_param.cfg │ ├── indent_namespace-t.cfg │ ├── indent_namespace_single_indent.cfg │ ├── indent_once.cfg │ ├── indent_param.cfg │ ├── indent_paren_after_func_call-t.cfg │ ├── indent_paren_after_func_decl-t.cfg │ ├── indent_paren_after_func_def-t.cfg │ ├── indent_paren_close-1.cfg │ ├── indent_paren_close-2.cfg │ ├── indent_semicolon_for_paren-t.cfg │ ├── indent_shift.cfg │ ├── indent_single_newline.cfg │ ├── indent_ternary_operator-1.cfg │ ├── indent_ternary_operator-2.cfg │ ├── indent_using_block-f.cfg │ ├── indent_var_def.cfg │ ├── indent_var_def_cont-t.cfg │ ├── indent_with_tabs-0.cfg │ ├── initlist_leading_commas.cfg │ ├── issue_527.cfg │ ├── issue_564.cfg │ ├── issue_574.cfg │ ├── issue_672.cfg │ ├── java_foreach.cfg │ ├── java_synchronized_1.cfg │ ├── java_synchronized_2.cfg │ ├── jdbi-f.cfg │ ├── jdbi-r.cfg │ ├── kdepim2.cfg │ ├── kdepim3.cfg │ ├── kdepim5.cfg │ ├── kw_subst.cfg │ ├── kw_subst2.cfg │ ├── kw_subst3.cfg │ ├── kw_subst4.cfg │ ├── label_colon_nl_1.cfg │ ├── label_colon_nl_2.cfg │ ├── lambda1.cfg │ ├── lambda2.cfg │ ├── lambda3.cfg │ ├── libd.cfg │ ├── long_br_cmt.cfg │ ├── long_br_cmt.rerun.cfg │ ├── long_namespace.cfg │ ├── mda_space_a.cfg │ ├── mda_space_c.cfg │ ├── misc-failures.cfg │ ├── mod-paren.cfg │ ├── mod-paren2.cfg │ ├── mod_add_long_class_closebrace_comment-1.cfg │ ├── mod_add_long_namespace_closebrace_comment-1.cfg │ ├── mod_case_brace_add.cfg │ ├── mod_case_brace_rm.cfg │ ├── mod_full_brace_function-f.cfg │ ├── mod_full_brace_if_chain-t.cfg │ ├── mod_full_brace_if_chain_only-t.cfg │ ├── mod_full_brace_nl_block_rem_mlcond-0.cfg │ ├── mod_full_brace_nl_block_rem_mlcond-1.cfg │ ├── mod_move_case_brace.cfg │ ├── mod_remove_empty_return-t.cfg │ ├── mod_remove_extra_semicolon-t.cfg │ ├── mod_sort_using-t.cfg │ ├── mono.cfg │ ├── msg-header.h │ ├── multi_line_1.cfg │ ├── multi_line_10.cfg │ ├── multi_line_2.cfg │ ├── multi_line_3.cfg │ ├── multi_line_4.cfg │ ├── multi_line_5.cfg │ ├── multi_line_6.cfg │ ├── multi_line_7.cfg │ ├── multi_line_8.cfg │ ├── multi_line_9.cfg │ ├── nSolve.cfg │ ├── negative_indent.cfg │ ├── nepenthes.cfg │ ├── new-constraint-paren-space.cfg │ ├── new_op_a.cfg │ ├── new_op_f.cfg │ ├── new_op_paren_open_close.cfg │ ├── new_op_r.cfg │ ├── newline_after_endif.cfg │ ├── nl-comment.cfg │ ├── nl_access_spec.cfg │ ├── nl_after_annotation-f.cfg │ ├── nl_after_func_body-2.cfg │ ├── nl_after_func_body-3.cfg │ ├── nl_after_func_body.cfg │ ├── nl_after_func_class_proto-3.cfg │ ├── nl_after_func_proto-3.cfg │ ├── nl_after_func_proto_group-3.cfg │ ├── nl_assign1.cfg │ ├── nl_assign2.cfg │ ├── nl_before_after.cfg │ ├── nl_before_func_body_def-1.cfg │ ├── nl_before_func_body_def-1.rerun.cfg │ ├── nl_before_func_body_def-2.cfg │ ├── nl_before_if_closing_paren-f.cfg │ ├── nl_before_if_closing_paren-r.cfg │ ├── nl_between_annotation-f.cfg │ ├── nl_brace_brace-a.cfg │ ├── nl_brace_fparen-f.cfg │ ├── nl_brace_fparen-r.cfg │ ├── nl_brace_square.cfg │ ├── nl_brace_test.cfg │ ├── nl_class-a.cfg │ ├── nl_class-r.cfg │ ├── nl_create_one_liner.cfg │ ├── nl_ds_struct_enum-2.cfg │ ├── nl_ds_struct_enum_cmt-t.cfg │ ├── nl_endif.cfg │ ├── nl_enum_own_lines-3.cfg │ ├── nl_enum_own_lines-3.rerun.cfg │ ├── nl_enum_own_lines-4.cfg │ ├── nl_enum_own_lines-a.cfg │ ├── nl_func_call_empty-r.cfg │ ├── nl_func_call_paren-f.cfg │ ├── nl_func_call_paren_empty-r.cfg │ ├── nl_func_class_scope-a.cfg │ ├── nl_func_decl_1.cfg │ ├── nl_func_decl_2.cfg │ ├── nl_func_def_paren_empty-r.cfg │ ├── nl_func_paren_empty.cfg │ ├── nl_func_scope_name-a.cfg │ ├── nl_func_type_name_class.cfg │ ├── nl_func_type_name_force.cfg │ ├── nl_func_type_name_remove.cfg │ ├── nl_max_blank_in_func-1.cfg │ ├── nl_max_blank_in_func-4.cfg │ ├── nl_namespace-a.cfg │ ├── nl_namespace-r.cfg │ ├── nl_oc_block_brace-f.cfg │ ├── nl_semicolon.cfg │ ├── nl_template_class-force.cfg │ ├── nl_template_class-remove.cfg │ ├── nl_try-a.cfg │ ├── nl_type_brace_init_lst-f.cfg │ ├── nl_type_brace_init_lst-r.cfg │ ├── nl_type_brace_init_lst_close-f.cfg │ ├── nl_type_brace_init_lst_close-r.cfg │ ├── nl_type_brace_init_lst_open-f.cfg │ ├── nl_type_brace_init_lst_open-r.cfg │ ├── no_squeeze_ifdef.cfg │ ├── obj-c-available.cfg │ ├── obj-c-properties.cfg │ ├── objc_bug_497.cfg │ ├── objc_complex_method.cfg │ ├── oc1.cfg │ ├── oc10.cfg │ ├── oc11.cfg │ ├── oc12.cfg │ ├── oc13.cfg │ ├── oc14.cfg │ ├── oc16.cfg │ ├── oc17.cfg │ ├── oc18.cfg │ ├── oc19.cfg │ ├── oc2.cfg │ ├── oc4.cfg │ ├── oc5.cfg │ ├── oc6.cfg │ ├── oc7.cfg │ ├── oc8.cfg │ ├── oc9.cfg │ ├── oc_bug_1674.cfg │ ├── oc_bug_1683.cfg │ ├── oc_cond_colon.cfg │ ├── op-space-force.cfg │ ├── op-space-remove-align-1.cfg │ ├── op-space-remove-align-2.cfg │ ├── op-space-remove.cfg │ ├── op_sym_empty.cfg │ ├── pascal_ptr.cfg │ ├── pawn-escape.cfg │ ├── pawn.cfg │ ├── pos_comma-lf.cfg │ ├── pos_comma-tb.cfg │ ├── pos_compare-eol.cfg │ ├── pos_compare-sol.cfg │ ├── pos_conditional-l.cfg │ ├── pos_conditional-t.cfg │ ├── pos_enum_comma-tf.cfg │ ├── pp-indent-2.cfg │ ├── pp-pragma.cfg │ ├── pp-space.cfg │ ├── pp_define_at_level-1.cfg │ ├── pp_if_indent-0.cfg │ ├── pp_if_indent-1.cfg │ ├── pp_if_indent-2.cfg │ ├── pp_if_indent-3.cfg │ ├── pp_if_indent-4.cfg │ ├── pp_indent-a.cfg │ ├── pp_ret.cfg │ ├── preproc-cleanup.cfg │ ├── ptr-arith.cfg │ ├── ptr_star-1.cfg │ ├── ptr_star-2.cfg │ ├── ptr_star-3.cfg │ ├── qt-1.cfg │ ├── rdan.cfg │ ├── region-0.cfg │ ├── region-1.cfg │ ├── region-2.cfg │ ├── region-3.cfg │ ├── return-1.cfg │ ├── return-2.cfg │ ├── return-3.cfg │ ├── return-4.cfg │ ├── sef.cfg │ ├── sf.2886991-f.cfg │ ├── sf.2886991-r.cfg │ ├── sf.3315874.cfg │ ├── sf537.cfg │ ├── sf538.cfg │ ├── sf574.cfg │ ├── sf607.cfg │ ├── sim.cfg │ ├── sort_imports.cfg │ ├── sort_using_categ.cfg │ ├── sp_after_cast-f.cfg │ ├── sp_after_cast-r.cfg │ ├── sp_after_cast.cfg │ ├── sp_after_comma-a.cfg │ ├── sp_after_oc_at_sel_add.cfg │ ├── sp_after_oc_at_sel_force.cfg │ ├── sp_after_oc_at_sel_remove.cfg │ ├── sp_after_oc_block_caret_add.cfg │ ├── sp_after_oc_block_caret_force.cfg │ ├── sp_after_oc_return_type_add.cfg │ ├── sp_after_oc_return_type_force.cfg │ ├── sp_after_oc_return_type_remove.cfg │ ├── sp_after_ptr_star_qualifier-f.cfg │ ├── sp_after_send_oc_colon-f.cfg │ ├── sp_after_sparen.cfg │ ├── sp_after_throw_remove.cfg │ ├── sp_after_type-f.cfg │ ├── sp_after_type-i.cfg │ ├── sp_after_type_brace_init_lst_open-f.cfg │ ├── sp_after_type_brace_init_lst_open-r.cfg │ ├── sp_angle_paren-f.cfg │ ├── sp_angle_paren_empty.cfg │ ├── sp_arith-a.cfg │ ├── sp_arith-f.cfg │ ├── sp_arith_additive-f.cfg │ ├── sp_arith_additive-r.cfg │ ├── sp_assign-a.cfg │ ├── sp_balance_nested_parens.cfg │ ├── sp_before_byref-r.cfg │ ├── sp_before_comma-f.cfg │ ├── sp_before_ellipsis-f.cfg │ ├── sp_before_ellipsis-r.cfg │ ├── sp_before_oc_block_caret_force.cfg │ ├── sp_before_oc_block_caret_remove.cfg │ ├── sp_before_ptr_star-f.cfg │ ├── sp_before_ptr_star-r.cfg │ ├── sp_before_tr_emb_cmt-a.cfg │ ├── sp_before_tr_emb_cmt-f.cfg │ ├── sp_before_type_brace_init_lst_close-f.cfg │ ├── sp_before_type_brace_init_lst_close-r.cfg │ ├── sp_between_new_paren.cfg │ ├── sp_block_as_argument.cfg │ ├── sp_block_as_argument2.cfg │ ├── sp_block_as_argument3.cfg │ ├── sp_block_as_argument4.cfg │ ├── sp_block_as_argument5.cfg │ ├── sp_bool-f.cfg │ ├── sp_bool-r.cfg │ ├── sp_cmt.cfg │ ├── sp_cmt_cpp_start-a.cfg │ ├── sp_cmt_cpp_start-r.cfg │ ├── sp_cmt_cpp_start_force.cfg │ ├── sp_cond_colon.cfg │ ├── sp_cparen_oparen-f.cfg │ ├── sp_cparen_oparen-r.cfg │ ├── sp_dc.cfg │ ├── sp_enum_paren-r.cfg │ ├── sp_func_call_empty.cfg │ ├── sp_func_class_empty.cfg │ ├── sp_func_def_empty.cfg │ ├── sp_func_proto_empty.cfg │ ├── sp_inside_braces_empty-r.cfg │ ├── sp_inside_fparen-f.cfg │ ├── sp_inside_type_brace_init_lst-f.cfg │ ├── sp_inside_type_brace_init_lst-r.cfg │ ├── sp_oc_boxed.cfg │ ├── sp_oc_catch.cfg │ ├── sp_oc_synchronized.cfg │ ├── sp_paren_ellipsis-f.cfg │ ├── sp_paren_ellipsis-r.cfg │ ├── sp_sizeof_ellipsis-f.cfg │ ├── sp_sizeof_ellipsis-r.cfg │ ├── sp_sizeof_ellipsis_paren-f.cfg │ ├── sp_sizeof_ellipsis_paren-r.cfg │ ├── sp_skip_vbrace_tokens.cfg │ ├── sp_this_paren.cfg │ ├── sp_throw_paren-f.cfg │ ├── sp_throw_paren-r.cfg │ ├── sp_type_brace_init_lst-f.cfg │ ├── sp_type_brace_init_lst-r.cfg │ ├── sp_type_ellipsis-f.cfg │ ├── sp_type_ellipsis-r.cfg │ ├── sp_word_brace_force.cfg │ ├── sp_word_brace_remove.cfg │ ├── space_indent_class-t_columns-4.cfg │ ├── space_indent_columns-3.cfg │ ├── space_indent_columns-4.cfg │ ├── squeeze-paren-close-Option.cfg │ ├── squeeze_ifdef_top.cfg │ ├── staging │ │ ├── STUCK_macro-difficulties.cfg │ │ ├── UNI-11095.cfg │ │ ├── UNI-1288.cfg │ │ ├── UNI-1338.cfg │ │ ├── UNI-1343.cfg │ │ ├── UNI-1350.cfg │ │ ├── UNI-1356.cfg │ │ ├── UNI-2021.cfg │ │ ├── UNI-2049.cfg │ │ ├── UNI-24076.cfg │ │ ├── UNI-32405.cfg │ │ ├── Uncrustify.CSharp.cfg │ │ ├── Uncrustify.Common-CStyle.cfg │ │ ├── Uncrustify.Common-Cpp.cfg │ │ ├── Uncrustify.Cpp.cfg │ │ ├── Uncrustify.CppCli.cfg │ │ ├── Uncrustify.CppCs.cfg │ │ ├── Uncrustify.JamCS.cfg │ │ ├── Uncrustify.WIP.cfg │ │ ├── default.cfg │ │ ├── dont-process-defines.cfg │ │ ├── issue_564.cfg │ │ └── sync-config.ps1 │ ├── star_pos-0.cfg │ ├── star_pos-1.cfg │ ├── star_pos-2.cfg │ ├── string_replace_tab_chars-t.cfg │ ├── tab-0-11.cfg │ ├── tcf.cfg │ ├── template_angles.cfg │ ├── template_sp-force.cfg │ ├── template_sp-remove.cfg │ ├── ternary_short.cfg │ ├── toggle_processing_cmt.cfg │ ├── toggle_processing_cmt2.cfg │ ├── type_wrap.cfg │ ├── var_def_gap.cfg │ ├── verbatim_strings.cfg │ ├── verbatim_strings.rerun.cfg │ ├── wessex.cfg │ ├── width-2.cfg │ ├── width-2.rerun.cfg │ ├── width-3.cfg │ ├── width.cfg │ └── xml-str.cfg ├── cpp.test ├── d.test ├── default_strings.txt ├── default_strings_remover.py ├── difftest.sh ├── ecma.test ├── fixtest.sh ├── imported.test ├── input │ ├── c │ │ ├── add_long_comment.c │ │ ├── align-equ.c │ │ ├── align-proto-vars.c │ │ ├── align-proto.c │ │ ├── align-string.c │ │ ├── align-struct-init.c │ │ ├── align-typedef.c │ │ ├── align-var.c │ │ ├── align_attr.c │ │ ├── align_keep_extra.c │ │ ├── asm.c │ │ ├── attribute.c │ │ ├── backslash-newline-lex.c │ │ ├── beautifier-off.c │ │ ├── bits.c │ │ ├── bool-pos.c │ │ ├── br_cmt.c │ │ ├── brace-remove.c │ │ ├── brace-remove2.c │ │ ├── brace-remove3.c │ │ ├── brace.c │ │ ├── braces-2.c │ │ ├── braces-3.c │ │ ├── braces-4.c │ │ ├── braces-5.c │ │ ├── braces.c │ │ ├── bsnl.c │ │ ├── bug_1041.c │ │ ├── bug_1196.c │ │ ├── bug_1702.c │ │ ├── bug_1718.c │ │ ├── bug_489.c │ │ ├── bug_671.c │ │ ├── bug_i_222.c │ │ ├── bug_i_771.c │ │ ├── bug_i_876.c │ │ ├── bugs-1.c │ │ ├── bugs-2.c │ │ ├── bugs-3.c │ │ ├── bugs-4.c │ │ ├── bugs-5.c │ │ ├── bugs-6.c │ │ ├── bugs-7.c │ │ ├── bugs-8.c │ │ ├── bugs.c │ │ ├── case.c │ │ ├── cast_brace.c │ │ ├── casts.c │ │ ├── clang-has_include.h │ │ ├── cmt-align.c │ │ ├── cmt_multi.c │ │ ├── cmt_multi_utf8.c │ │ ├── cmt_nl_end.c │ │ ├── cmt_right_align.c │ │ ├── code_width.c │ │ ├── colon-asm.c │ │ ├── comment-convert.c │ │ ├── comment-indent.c │ │ ├── cond.c │ │ ├── custom_types_ssl.c │ │ ├── define-if-indent.c │ │ ├── deref.c │ │ ├── directfb.h │ │ ├── dos.c │ │ ├── doxy-comment.c │ │ ├── else-if.c │ │ ├── empty-for.c │ │ ├── endif.c │ │ ├── enum-struct-init.c │ │ ├── enum_gallery.c │ │ ├── extern-c-attribute.c │ │ ├── extern.c │ │ ├── fcn_indent.c │ │ ├── fcn_indent_func_def_col1.c │ │ ├── fcn_type.c │ │ ├── for-space.c │ │ ├── freebsd.c │ │ ├── func_call_user.c │ │ ├── func_call_user2.c │ │ ├── func_wrap.c │ │ ├── funcfunc.c │ │ ├── function-def.c │ │ ├── gh399.c │ │ ├── global-vars.c │ │ ├── hello.c │ │ ├── i1270.c │ │ ├── i1413.c │ │ ├── i1564.c │ │ ├── i2c-core.c │ │ ├── if_chain.c │ │ ├── ifdef-indent.c │ │ ├── ifdef-nest.c │ │ ├── include_define.h │ │ ├── indent-assign.c │ │ ├── indent-vbrace.c │ │ ├── indent.cpp │ │ ├── indent_first_bool_expr.c │ │ ├── indent_ternary-1.c │ │ ├── indent_ternary-2.c │ │ ├── kw_subst.c │ │ ├── lvalue.c │ │ ├── mac.c │ │ ├── minus-minus.c │ │ ├── misc.c │ │ ├── mod-paren.c │ │ ├── mod_case_brace.c │ │ ├── multi.h │ │ ├── negative_value.c │ │ ├── newline_after_endif.c │ │ ├── nl-comment.c │ │ ├── nl-cont.c │ │ ├── nl-cont2.c │ │ ├── nl-semicolon.c │ │ ├── nl-ver-def.c │ │ ├── nl_assign.c │ │ ├── nl_create_one_liner.c │ │ ├── nl_ds_struct_enum.c │ │ ├── nl_endif.c │ │ ├── nl_proto_endif.c │ │ ├── nl_return_expr.c │ │ ├── one-liner-define.c │ │ ├── one-liner-init.c │ │ ├── output.cpp │ │ ├── paren-indent.c │ │ ├── paren_indent.c │ │ ├── pascal_ptr.c │ │ ├── pos_compare.c │ │ ├── pos_conditional.c │ │ ├── pp-if-indent.c │ │ ├── pp-nest.c │ │ ├── pp-space.c │ │ ├── pp_concat_asn1.h │ │ ├── pp_ret.c │ │ ├── pragma.c │ │ ├── pragma_asm.c │ │ ├── preproc-if.c │ │ ├── return-multi.c │ │ ├── semicolons.c │ │ ├── sf588.c │ │ ├── sf594.c │ │ ├── sort_include.c │ │ ├── sp_after_sparen.c │ │ ├── sp_cmt_cpp_start.c │ │ ├── sp_embed_comment.c │ │ ├── string_prefixes.c │ │ ├── string_utf8.c │ │ ├── struct-brace.c │ │ ├── switch-case.c │ │ ├── switch.c │ │ ├── t3.in.c │ │ ├── type-cast.c │ │ ├── type_wrap.c │ │ ├── utf8-identifiers.c │ │ ├── vardefcol.c │ │ ├── various_colons.c │ │ ├── vb-do.c │ │ ├── vb-pp.c │ │ ├── vb-while.c │ │ └── xml.c │ ├── cpp │ │ ├── 621_this-spacing.cpp │ │ ├── 622_ifdef-indentation.cpp │ │ ├── 623_caret-spacing.cpp │ │ ├── 633_decl-in-func-typedef.cpp │ │ ├── 634_extern-c-no-block.cpp │ │ ├── DB.cpp │ │ ├── DoxygenComments.cpp │ │ ├── Example.h │ │ ├── I1112-1.cpp │ │ ├── I1112-2.cpp │ │ ├── I1112-3.cpp │ │ ├── NewLine.cpp │ │ ├── NewLine0.cpp │ │ ├── PR326_invalid-backslash-eol-csharp.cpp │ │ ├── Q_2.cpp │ │ ├── Q_EMIT.cpp │ │ ├── Q_FOREACH.cpp │ │ ├── Q_FOREVER.cpp │ │ ├── Q_SIGNAL_SLOT.cpp │ │ ├── STUCK_macro-difficulties.cpp │ │ ├── Timestamp.h │ │ ├── UNI-10496.cpp │ │ ├── UNI-12046.cpp │ │ ├── UNI-1288.cpp │ │ ├── UNI-1334.cpp │ │ ├── UNI-1335.cpp │ │ ├── UNI-1337.cpp │ │ ├── UNI-1339.cpp │ │ ├── UNI-1340.cpp │ │ ├── UNI-1344.cpp │ │ ├── UNI-1346.cpp │ │ ├── UNI-1347.cpp │ │ ├── UNI-1350.cpp │ │ ├── UNI-1356.cpp │ │ ├── UNI-1358.cpp │ │ ├── UNI-16283.cpp │ │ ├── UNI-18439.cpp │ │ ├── UNI-18777.cpp │ │ ├── UNI-1980.cpp │ │ ├── UNI-1981.cpp │ │ ├── UNI-1983.cpp │ │ ├── UNI-19894.cpp │ │ ├── UNI-2049.cpp │ │ ├── UNI-21506.cpp │ │ ├── UNI-21509.cpp │ │ ├── UNI-21510.cpp │ │ ├── UNI-21727.cpp │ │ ├── UNI-21728.cpp │ │ ├── UNI-21729.cpp │ │ ├── UNI-2650.cpp │ │ ├── UNI-2680.cpp │ │ ├── UNI-2683.cpp │ │ ├── UNI-29935.cpp │ │ ├── UNI-30088.cpp │ │ ├── UNI-30628.cpp │ │ ├── UNI-32657.cpp │ │ ├── UNI-38381.cpp │ │ ├── UNI-9650.cpp │ │ ├── al.cpp │ │ ├── align-star-amp-pos.cpp │ │ ├── align_class.cpp │ │ ├── align_constr.cpp │ │ ├── align_fcall.cpp │ │ ├── align_func_params.cpp │ │ ├── align_left_shift.cpp │ │ ├── align_left_shift2.cpp │ │ ├── align_right_comment.cpp │ │ ├── align_var_def_thresh.cpp │ │ ├── alt_tokens.cpp │ │ ├── av.h │ │ ├── bit-colon.cpp │ │ ├── block_pointer.cpp │ │ ├── bool.cpp │ │ ├── brace_brace_init_lst.cpp │ │ ├── braced_init_list.cpp │ │ ├── braces_align.cpp │ │ ├── braces_empty.cpp │ │ ├── bug_1001.cpp │ │ ├── bug_1002.cpp │ │ ├── bug_1003.cpp │ │ ├── bug_1004.cpp │ │ ├── bug_1005.cpp │ │ ├── bug_1020.cpp │ │ ├── bug_1027.cpp │ │ ├── bug_1032.cpp │ │ ├── bug_1068.cpp │ │ ├── bug_1108.cpp │ │ ├── bug_1112.cpp │ │ ├── bug_1127.cpp │ │ ├── bug_1134.cpp │ │ ├── bug_1139.cpp │ │ ├── bug_1158.cpp │ │ ├── bug_1160.cpp │ │ ├── bug_1161.cpp │ │ ├── bug_1169.cpp │ │ ├── bug_1170.cpp │ │ ├── bug_1235.cpp │ │ ├── bug_1236.cpp │ │ ├── bug_1249.cpp │ │ ├── bug_1288.cpp │ │ ├── bug_1289.cpp │ │ ├── bug_1296.cpp │ │ ├── bug_1315.cpp │ │ ├── bug_1321.cpp │ │ ├── bug_1324.cpp │ │ ├── bug_1338.cpp │ │ ├── bug_1340.cpp │ │ ├── bug_1346.h │ │ ├── bug_1349.cpp │ │ ├── bug_1395.cpp │ │ ├── bug_1402.cpp │ │ ├── bug_1403.cpp │ │ ├── bug_1432.cpp │ │ ├── bug_1439.cpp │ │ ├── bug_1452.cpp │ │ ├── bug_1462.cpp │ │ ├── bug_1607.cpp │ │ ├── bug_1649.cpp │ │ ├── bug_1689.cpp │ │ ├── bug_1691.cpp │ │ ├── bug_1717.cpp │ │ ├── bug_33056.cpp │ │ ├── bug_472.cpp │ │ ├── bug_481.cpp │ │ ├── bug_484.cpp │ │ ├── bug_485.cpp │ │ ├── bug_488.cpp │ │ ├── bug_495.cpp │ │ ├── bug_612.cpp │ │ ├── bug_631.cpp │ │ ├── bug_633.cpp │ │ ├── bug_634.cpp │ │ ├── bug_643.cpp │ │ ├── bug_651.cpp │ │ ├── bug_653.cpp │ │ ├── bug_654.cpp │ │ ├── bug_657.cpp │ │ ├── bug_662.cpp │ │ ├── bug_663.cpp │ │ ├── bug_664.cpp │ │ ├── bug_666.cpp │ │ ├── bug_670.cpp │ │ ├── bug_670.h │ │ ├── bug_671.h │ │ ├── bug_902.cpp │ │ ├── bug_i_1000.cpp │ │ ├── bug_i_197.cpp │ │ ├── bug_i_322.cpp │ │ ├── bug_i_323.cpp │ │ ├── bug_i_359.cpp │ │ ├── bug_i_405.cpp │ │ ├── bug_i_409.cpp │ │ ├── bug_i_411.cpp │ │ ├── bug_i_478.cpp │ │ ├── bug_i_481.cpp │ │ ├── bug_i_503.cpp │ │ ├── bug_i_512.cpp │ │ ├── bug_i_525.cpp │ │ ├── bug_i_552.cpp │ │ ├── bug_i_568.cpp │ │ ├── bug_i_575.cpp │ │ ├── bug_i_596.cpp │ │ ├── bug_i_646.cpp │ │ ├── bug_i_663.cpp │ │ ├── bug_i_666.cpp │ │ ├── bug_i_682.h │ │ ├── bug_i_687.cpp │ │ ├── bug_i_752.cpp │ │ ├── bug_i_753.cpp │ │ ├── bug_i_793.cpp │ │ ├── bug_i_825.cpp │ │ ├── bug_i_889.cpp │ │ ├── bug_i_928.cpp │ │ ├── bug_i_938.h │ │ ├── bug_i_999.cpp │ │ ├── bug_i_width.cpp │ │ ├── byref-2.cpp │ │ ├── byref.cpp │ │ ├── case-brace-remove.cpp │ │ ├── cast.cpp │ │ ├── casts.cpp │ │ ├── class-addr.h │ │ ├── class-implementation.cpp │ │ ├── class-init.cpp │ │ ├── class.h │ │ ├── cmt-cpp-cont.cpp │ │ ├── cmt-reflow.cpp │ │ ├── cmt_backslash_eol.cpp │ │ ├── cmt_convert_tab_to_spaces.cpp │ │ ├── cmt_indent.cpp │ │ ├── cmt_indent_pp.h │ │ ├── cmt_insert.cpp │ │ ├── cmt_right.cpp │ │ ├── comment-align-multiline.cpp │ │ ├── comment-align.cpp │ │ ├── const_throw.cpp │ │ ├── constructor.cpp │ │ ├── cout.cpp │ │ ├── cpp17.cpp │ │ ├── cpp_move.cpp │ │ ├── ctor-var.cpp │ │ ├── custom-open-2.cpp │ │ ├── custom-open.cpp │ │ ├── define-indentation.cpp │ │ ├── delete.cpp │ │ ├── deref.cpp │ │ ├── digraph.cpp │ │ ├── dont-detab-strings.cpp │ │ ├── dont-process-defines.cpp │ │ ├── enum.cpp │ │ ├── enum_class.h │ │ ├── enum_comma.h │ │ ├── enum_shr.cpp │ │ ├── exception.cpp │ │ ├── extern_c.h │ │ ├── first_len_minimum.cpp │ │ ├── fix_for_relational_operators.cpp │ │ ├── for_auto.cpp │ │ ├── for_long.cpp │ │ ├── for_loop_head.cpp │ │ ├── foreach.cpp │ │ ├── func-param-wrap-oc.mm │ │ ├── func_call.cpp │ │ ├── func_call_chain.cpp │ │ ├── func_class.cpp │ │ ├── func_class.h │ │ ├── func_param.cpp │ │ ├── func_param_indent_leading_comma.cpp │ │ ├── function-def.cpp │ │ ├── gh555.cpp │ │ ├── goto.cpp │ │ ├── i1082.cpp │ │ ├── i1165.cpp │ │ ├── i1181.cpp │ │ ├── i1207.cpp │ │ ├── i1218.cpp │ │ ├── i1464.cpp │ │ ├── i1466.cpp │ │ ├── i1509.cpp │ │ ├── i1509_bug_1112_correction.cpp │ │ ├── i1516.cpp │ │ ├── i1536.cpp │ │ ├── i1565.cpp │ │ ├── i1617.cpp │ │ ├── i1768.cpp │ │ ├── i683.cpp │ │ ├── if_chain_braces.cpp │ │ ├── if_constexpr.cpp │ │ ├── ifcomment.cpp │ │ ├── indent-misc.cpp │ │ ├── indent-off.cpp │ │ ├── indent.cpp │ │ ├── indent_braces_no.h │ │ ├── indent_comment_align_thresh.cpp │ │ ├── indent_ctor_init.cpp │ │ ├── indent_ctor_members_twice.cpp │ │ ├── indent_namespace.h │ │ ├── indent_namespace2.h │ │ ├── indent_namespace_single_indent.h │ │ ├── indent_param.cpp │ │ ├── indent_paren_after_func_call.cpp │ │ ├── indent_paren_after_func_decl.cpp │ │ ├── indent_paren_after_func_def.cpp │ │ ├── indent_shift.cpp │ │ ├── indent_switch_pp.cpp │ │ ├── indent_var_def.cpp │ │ ├── indent_var_def_cont.cpp │ │ ├── init_align.h │ │ ├── initlist_leading_commas.cpp │ │ ├── issue_1752.cpp │ │ ├── issue_523.cpp │ │ ├── issue_547_for_each.cpp │ │ ├── issue_564.cpp │ │ ├── issue_574.cpp │ │ ├── issue_624_angle.cpp │ │ ├── issue_633_typename.cpp │ │ ├── issue_672.cpp │ │ ├── kw_subst.cpp │ │ ├── kw_subst2.cpp │ │ ├── lambda.cpp │ │ ├── lambda2.cpp │ │ ├── long_br_cmt.cpp │ │ ├── long_namespace.cpp │ │ ├── macro_spaces.cpp │ │ ├── misc.cpp │ │ ├── misc2.cpp │ │ ├── misc3.cpp │ │ ├── misc4.cpp │ │ ├── misc5.cpp │ │ ├── misc6.cpp │ │ ├── mod_remove_empty_return.cpp │ │ ├── ms-style-ref.cpp │ │ ├── multi_line.cpp │ │ ├── namespace_namespace.cpp │ │ ├── new_op.cpp │ │ ├── nl-class.h │ │ ├── nl-namespace.h │ │ ├── nl_before_after.h │ │ ├── nl_before_func_body_def.cpp │ │ ├── nl_brace_brace.cpp │ │ ├── nl_func.cpp │ │ ├── nl_func_call_empty.cpp │ │ ├── nl_func_call_paren.cpp │ │ ├── nl_func_call_paren_empty.cpp │ │ ├── nl_func_decl.cpp │ │ ├── nl_func_def_paren_empty.cpp │ │ ├── nl_func_paren_empty.cpp │ │ ├── nl_func_scope_name.cpp │ │ ├── nl_func_type_name.cpp │ │ ├── nl_max_blank_in_func.cpp │ │ ├── not_lambda.cpp │ │ ├── op_sym_empty.cpp │ │ ├── operator.cpp │ │ ├── operator_proto.cpp │ │ ├── override_virtual.cpp │ │ ├── parameter-packs.cpp │ │ ├── patch_32.cpp │ │ ├── pp-define-indent.cpp │ │ ├── pp-pragma.cpp │ │ ├── pp_indent_brace.cpp │ │ ├── pp_indent_case.cpp │ │ ├── pp_indent_extern.cpp │ │ ├── pp_indent_func_def.cpp │ │ ├── proto-wrap.cpp │ │ ├── ptr-star.cpp │ │ ├── qt-1.cpp │ │ ├── qtargs.cpp │ │ ├── region.cpp │ │ ├── sef.cpp │ │ ├── semicolons.cpp │ │ ├── sf.2886991.cpp │ │ ├── sf.3266678.cpp │ │ ├── sf.3315874.h │ │ ├── sf557.cpp │ │ ├── sf562.cpp │ │ ├── sf567.cpp │ │ ├── sf574.cpp │ │ ├── sf583.cpp │ │ ├── sf593.cpp │ │ ├── sim.h │ │ ├── sp_after_type.cpp │ │ ├── sp_angle_paren.cpp │ │ ├── sp_arith_additive.cpp │ │ ├── sp_balance_nested_parens.cpp │ │ ├── sp_before_tr_emb_cmt_input.cpp │ │ ├── sp_cmt_cpp_start.cc │ │ ├── sp_cparen_oparen.cpp │ │ ├── sp_skip_vbrace_tokens.cpp │ │ ├── sp_throw_paren.cpp │ │ ├── squeeze_ifdef.cpp │ │ ├── static.h │ │ ├── stdcall.cpp │ │ ├── string_replace_tab_chars.cpp │ │ ├── strings.cpp │ │ ├── tab-0.cpp │ │ ├── tab-1.cpp │ │ ├── templ_class.h │ │ ├── templates.cpp │ │ ├── templates2.cpp │ │ ├── templates3.cpp │ │ ├── templates4.cpp │ │ ├── toggle_processing_cmt.cpp │ │ ├── toggle_processing_cmt2.cpp │ │ ├── try-catch-nl.cpp │ │ ├── type_brace_init_lst.cpp │ │ ├── uniform_initialization.cpp │ │ ├── var_def_gap.cpp │ │ ├── variadic-template.h │ │ └── wacky-template.cpp │ ├── cs │ │ ├── 615_nested-usings.cs │ │ ├── 620_getset-brace.cs │ │ ├── 621_this-spacing.cs │ │ ├── 625_where-constraints.cs │ │ ├── 630_bad-new-init-semicolon-removal.cs │ │ ├── UNI-11095.mm │ │ ├── UNI-11662.cs │ │ ├── UNI-11993.cs │ │ ├── UNI-12303.cs │ │ ├── UNI-1288.cs │ │ ├── UNI-1333.mm │ │ ├── UNI-1338.cs │ │ ├── UNI-1343.cs │ │ ├── UNI-1345.cs │ │ ├── UNI-13955.cs │ │ ├── UNI-14131.cs │ │ ├── UNI-17253.cs │ │ ├── UNI-18437.cs │ │ ├── UNI-18777.cs │ │ ├── UNI-18780.cs │ │ ├── UNI-18829.cs │ │ ├── UNI-1919.cs │ │ ├── UNI-19644.cs │ │ ├── UNI-1975.cs │ │ ├── UNI-1977.cs │ │ ├── UNI-1978.cs │ │ ├── UNI-19895.cs │ │ ├── UNI-2007.cs │ │ ├── UNI-2008.cs │ │ ├── UNI-2020.cs │ │ ├── UNI-2021.cs │ │ ├── UNI-21730.cs │ │ ├── UNI-2505.cs │ │ ├── UNI-2506.cs │ │ ├── UNI-2684.cs │ │ ├── UNI-2685.cs │ │ ├── UNI-29933.cs │ │ ├── UNI-30498_2.cs │ │ ├── UNI-3083.cs │ │ ├── UNI-32658.cs │ │ ├── UNI-3484.cs │ │ ├── UNI-36862.cs │ │ ├── UNI-37241.cs │ │ ├── UNI-40685.cs │ │ ├── UNI-9917.cs │ │ ├── argtypes.mm │ │ ├── bug_1591.cs │ │ ├── bug_1620.cs │ │ ├── bug_1637.cs │ │ ├── bug_1650.cs │ │ ├── bug_600.cs │ │ ├── bug_620.cs │ │ ├── bug_i_679.cs │ │ ├── bug_i_935.cs │ │ ├── casting.mm │ │ ├── cmt_backslash_eol.cs │ │ ├── definesalign.h.mm │ │ ├── delegate.cs │ │ ├── delete-space-oc.mm │ │ ├── exception-filters.cs │ │ ├── fncall_as_ctor_in_attr.cs │ │ ├── func-param-wrap-oc.mm │ │ ├── generics.cs │ │ ├── getset.cs │ │ ├── gs.cs │ │ ├── ifcolalign.cs │ │ ├── ifcomment.cs │ │ ├── inttypes.h.mm │ │ ├── logger.cs │ │ ├── mdarray_space.cs │ │ ├── misc-failures.cs │ │ ├── mod_full_brace_nl_block_rem_mlcond.cs │ │ ├── new-constraint-paren-space.cs │ │ ├── newlines.mm │ │ ├── nullable_prop.cs │ │ ├── oneline_property.cs │ │ ├── operator-null-conditional.cs │ │ ├── operator_null-coalescing-assignment.cs │ │ ├── pp-ignore.mm │ │ ├── property.cs │ │ ├── region.cs │ │ ├── remove_semi.cs │ │ ├── sf607.cs │ │ ├── sf628.cs │ │ ├── simple.cs │ │ ├── sort_using.cs │ │ ├── sort_using_categ.cs │ │ ├── sp_between_new_paren.cs │ │ ├── squeeze-paren-close-Option.cs │ │ ├── string_multi.cs │ │ ├── strings.cs │ │ ├── tcf.cs │ │ ├── unsafe.cs │ │ ├── utf16be.cs │ │ ├── utf16be_no_bom.cs │ │ ├── utf16le.cs │ │ ├── utf16le_no_bom.cs │ │ ├── var-member.cs │ │ ├── verbatim_strings.cs │ │ └── when.cs │ ├── d │ │ ├── HashMap.d │ │ ├── Lexer.d │ │ ├── bug-indent.d │ │ ├── casts.d │ │ ├── const.d │ │ ├── d_sp_paren.d │ │ ├── delegate.d │ │ ├── enum.d │ │ ├── funcfunc.d │ │ ├── imports.d │ │ ├── numbers.d │ │ ├── sort_import.d │ │ ├── square_indent_tab.d │ │ ├── static_if.d │ │ ├── strings.d │ │ ├── template.d │ │ ├── tst01.d │ │ ├── tst02.d │ │ ├── tst03.d │ │ ├── volatile-1.d │ │ ├── volatile-2.d │ │ ├── volatile-3.d │ │ └── volatile.d │ ├── ecma │ │ └── example-1.es │ ├── java │ │ ├── Java8DoubleColon.java │ │ ├── annotation1.java │ │ ├── annotation2.java │ │ ├── annotation3.java │ │ ├── assert.java │ │ ├── cast.java │ │ ├── double_brace.java │ │ ├── foreach.java │ │ ├── generics.java │ │ ├── generics_return_type.java │ │ ├── generics_wildcard.java │ │ ├── i1121.java │ │ ├── issue_672.java │ │ ├── long_cl_cmt.java │ │ ├── sf567.java │ │ ├── sp_after_angle.java │ │ ├── sp_before_byref.java │ │ ├── sp_this_paren.java │ │ ├── synchronized.java │ │ ├── try.java │ │ └── variable_aligns.java │ ├── oc │ │ ├── Declarations.h │ │ ├── Fraction.h │ │ ├── Fraction.m │ │ ├── asm.h.mm │ │ ├── available.m │ │ ├── block_in_method.m │ │ ├── block_literal_protocol.m │ │ ├── blocks.m │ │ ├── blocks_align.m │ │ ├── blocks_align2.m │ │ ├── box.m │ │ ├── boxed_receiver.m │ │ ├── bug_1366.m │ │ ├── bug_1674.m │ │ ├── bug_1683.m │ │ ├── bug_340.m │ │ ├── bug_404.m │ │ ├── bug_497.m │ │ ├── bug_841.m │ │ ├── bug_i_125-412.m │ │ ├── bug_i_408.m │ │ ├── bug_i_477.m │ │ ├── c-cpp-oc-wrapper.c │ │ ├── cast.m │ │ ├── chunk_ends_type1.m │ │ ├── chunk_ends_type2.m │ │ ├── chunk_ends_type3.m │ │ ├── chunk_ends_type4.m │ │ ├── cmt_insert.m │ │ ├── cmt_insert2.m │ │ ├── code_placeholder.m │ │ ├── complex_method.m │ │ ├── delete-space-oc.mm │ │ ├── exceptions.m │ │ ├── extern-c-attribute.m │ │ ├── for.m │ │ ├── for2.m │ │ ├── func-param-wrap-oc.mm │ │ ├── func_def.mm │ │ ├── gh137.m │ │ ├── gh293.m │ │ ├── gh511.m │ │ ├── i1213.m │ │ ├── indent_boxed.m │ │ ├── indent_single_newline.m │ │ ├── kw.m │ │ ├── literals.m │ │ ├── macro-close-brace.m │ │ ├── main.m │ │ ├── method_ends_semicolon.m │ │ ├── misc.m │ │ ├── more_blocks.m │ │ ├── more_blocks_2.m │ │ ├── msg.m │ │ ├── msg_align.m │ │ ├── negative_value.m │ │ ├── nelem.m │ │ ├── ns_enum.m │ │ ├── objc.mm │ │ ├── oc-split.m │ │ ├── oc_cond_colon.m │ │ ├── oc_msg_in_pp.m │ │ ├── pp_bool.m │ │ ├── properties.m │ │ ├── protocol.m │ │ ├── react_native.m │ │ ├── real_world_file.m │ │ ├── receiver.m │ │ ├── return_type.m │ │ ├── selector.m │ │ ├── sort_import.m │ │ ├── sp_after_angle.m │ │ ├── sp_after_oc_msg_receiver.m │ │ ├── sp_inside_braces_oc_dict.m │ │ ├── sp_oc_boxed.m │ │ ├── sp_oc_catch.m │ │ ├── sp_oc_synchronized.m │ │ ├── string.m │ │ ├── ternary.m │ │ └── typeof.m │ ├── pawn │ │ ├── comment.p │ │ ├── crusty_ex-1.sma │ │ ├── enum.pawn │ │ ├── functions.pawn │ │ ├── gh419.pawn │ │ ├── preproc.pawn │ │ ├── rpn_calc.pawn │ │ ├── str-escape.p │ │ ├── switch-vsemi.sma │ │ ├── tags.pawn │ │ ├── test1.pawn │ │ ├── traffic.p │ │ └── unbraced.p │ ├── sql │ │ ├── issue_527.sqc │ │ ├── mysql.sqc │ │ └── sta-select.sqc │ ├── staging │ │ ├── 614_multiple-passes.cs │ │ ├── 615_nested-usings.cs │ │ ├── 620_getset-brace.cs │ │ ├── 621_this-spacing.cpp │ │ ├── 621_this-spacing.cs │ │ ├── 622_ifdef-indentation.cpp │ │ ├── 623_caret-spacing.cpp │ │ ├── 625_where-constraints.cs │ │ ├── 630_bad-new-init-semicolon-removal.cs │ │ ├── 633_decl-in-func-typedef.cpp │ │ ├── 634_extern-c-no-block.cpp │ │ ├── PR326_invalid-backslash-eol-csharp.cpp │ │ ├── PR326_invalid-backslash-eol-csharp.cs │ │ ├── STUCK_macro-difficulties.cpp │ │ ├── UNI-10496.cpp │ │ ├── UNI-10566.cpp │ │ ├── UNI-11095.mm │ │ ├── UNI-11643.cpp │ │ ├── UNI-11662.cs │ │ ├── UNI-11993.cs │ │ ├── UNI-12046.cpp │ │ ├── UNI-12303.cs │ │ ├── UNI-1288.cpp │ │ ├── UNI-1288.cs │ │ ├── UNI-1333.mm │ │ ├── UNI-1334.cpp │ │ ├── UNI-1335.cpp │ │ ├── UNI-1336.cpp │ │ ├── UNI-1337.cpp │ │ ├── UNI-1338.cs │ │ ├── UNI-1339.cpp │ │ ├── UNI-1340.cpp │ │ ├── UNI-1343.cs │ │ ├── UNI-1344.cpp │ │ ├── UNI-1345.cs │ │ ├── UNI-1346.cpp │ │ ├── UNI-1347.cpp │ │ ├── UNI-1348.cpp │ │ ├── UNI-1349.cpp │ │ ├── UNI-1350.cpp │ │ ├── UNI-1355.cs │ │ ├── UNI-1356.cpp │ │ ├── UNI-1358.cpp │ │ ├── UNI-13955.cs │ │ ├── UNI-14107.cpp │ │ ├── UNI-14131.cs │ │ ├── UNI-1443.cs │ │ ├── UNI-16283.cpp │ │ ├── UNI-17253.cs │ │ ├── UNI-18437.cs │ │ ├── UNI-18439.cpp │ │ ├── UNI-18777.cpp │ │ ├── UNI-18777.cs │ │ ├── UNI-18780.cs │ │ ├── UNI-18829.cs │ │ ├── UNI-1919.cs │ │ ├── UNI-19644.cs │ │ ├── UNI-1975.cs │ │ ├── UNI-1977.cs │ │ ├── UNI-1978.cs │ │ ├── UNI-1979.cs │ │ ├── UNI-1980.cpp │ │ ├── UNI-1981.cpp │ │ ├── UNI-1983.cpp │ │ ├── UNI-19894.cpp │ │ ├── UNI-19895.cs │ │ ├── UNI-2007.cs │ │ ├── UNI-2008.cs │ │ ├── UNI-2020.cs │ │ ├── UNI-2021.cs │ │ ├── UNI-2048.cpp │ │ ├── UNI-2049.cpp │ │ ├── UNI-21506.cpp │ │ ├── UNI-21509.cpp │ │ ├── UNI-21510.cpp │ │ ├── UNI-21727.cpp │ │ ├── UNI-21728.cpp │ │ ├── UNI-21729.cpp │ │ ├── UNI-21730.cs │ │ ├── UNI-21731.cpp │ │ ├── UNI-22858.cs │ │ ├── UNI-24076.cs │ │ ├── UNI-24090.cs │ │ ├── UNI-2505.cs │ │ ├── UNI-2506.cs │ │ ├── UNI-25811.cpp │ │ ├── UNI-2650.cpp │ │ ├── UNI-2680.cpp │ │ ├── UNI-2683.cpp │ │ ├── UNI-2684.cs │ │ ├── UNI-2685.cs │ │ ├── UNI-29933.cs │ │ ├── UNI-29935.cpp │ │ ├── UNI-30088.cpp │ │ ├── UNI-30498.cpp │ │ ├── UNI-30498_2.cs │ │ ├── UNI-30628.cpp │ │ ├── UNI-3083.cs │ │ ├── UNI-32009.cpp │ │ ├── UNI-32012.cpp │ │ ├── UNI-32014.cs │ │ ├── UNI-32405.cs │ │ ├── UNI-32657.cpp │ │ ├── UNI-32658.cs │ │ ├── UNI-34087.cpp │ │ ├── UNI-34114.cpp │ │ ├── UNI-3484.cs │ │ ├── UNI-36862.cs │ │ ├── UNI-37241.cs │ │ ├── UNI-38381.cpp │ │ ├── UNI-40605.cs │ │ ├── UNI-40685.cs │ │ ├── UNI-4603.cs │ │ ├── UNI-46333.cpp │ │ ├── UNI-47842.cpp │ │ ├── UNI-47842.cs │ │ ├── UNI-9650.cpp │ │ ├── UNI-9917.cs │ │ ├── UNI-crash.cpp │ │ ├── _experiments.cpp │ │ ├── _experiments.cs │ │ ├── argtypes.mm │ │ ├── asm.h.mm │ │ ├── braces_align.cpp │ │ ├── casting.mm │ │ ├── define-indentation.cpp │ │ ├── definesalign.h.mm │ │ ├── delete-space-oc.mm │ │ ├── dont-detab-strings.cpp │ │ ├── dont-process-defines.cpp │ │ ├── everything.cpp │ │ ├── everything.cs │ │ ├── for_auto.cpp │ │ ├── foreach.cpp │ │ ├── func-param-wrap-oc.mm │ │ ├── ifcolalign.cs │ │ ├── ifcomment.cpp │ │ ├── ifcomment.cs │ │ ├── ifoneliner.cpp │ │ ├── indent-bad.mm │ │ ├── indent-multistring-coulmn1.cs │ │ ├── inttypes.h.mm │ │ ├── issue_564.cpp │ │ ├── macro_spaces.cpp │ │ ├── misc-failures.cs │ │ ├── new-constraint-paren-space.cs │ │ ├── newlines.mm │ │ ├── nl-brace.cs │ │ ├── objc.mm │ │ ├── oneline_property.cs │ │ ├── pp-ignore.mm │ │ ├── qtargs.cpp │ │ ├── squeeze-paren-close-Option.cs │ │ └── when.cs │ └── vala │ │ ├── advanced.vala │ │ ├── gh287.vala │ │ ├── list.vala │ │ ├── preproc.vala │ │ ├── verbatim_str.vala │ │ └── verbatim_str2.vala ├── java - Copy.test ├── java.test ├── objective-c.test ├── output │ ├── c │ │ ├── 00000-comment-indent.c │ │ ├── 00001-comment-indent.c │ │ ├── 00002-comment-indent.c │ │ ├── 00003-comment-indent.c │ │ ├── 00004-switch.c │ │ ├── 00005-cmt-align.c │ │ ├── 00006-comment-convert.c │ │ ├── 00007-comment-convert.c │ │ ├── 00008-comment-convert.c │ │ ├── 00009-comment-convert.c │ │ ├── 00010-braces.c │ │ ├── 00011-braces.c │ │ ├── 00012-braces.c │ │ ├── 00012-braces.rerun.lang │ │ ├── 00013-braces.c │ │ ├── 00014-braces.c │ │ ├── 00015-braces.c │ │ ├── 00016-braces.c │ │ ├── 00020-define-if-indent.c │ │ ├── 00050-brace-remove.c │ │ ├── 00051-brace-remove.c │ │ ├── 00052-brace-remove2.c │ │ ├── 00053-brace.c │ │ ├── 00054-if_chain.c │ │ ├── 00055-braces-2.c │ │ ├── 00056-brace-remove3.c │ │ ├── 00057-brace-remove3.c │ │ ├── 00058-if_chain.c │ │ ├── 00060-braces-2.c │ │ ├── 00061-braces-3.c │ │ ├── 00062-braces-4.c │ │ ├── 00065-braces-5.c │ │ ├── 00066-vb-while.c │ │ ├── 00067-vb-do.c │ │ ├── 00068-bsnl.c │ │ ├── 00069-vb-pp.c │ │ ├── 00070-return-multi.c │ │ ├── 00071-include_define.h │ │ ├── 00072-align-proto.c │ │ ├── 00073-nl_proto_endif.c │ │ ├── 00074-clang-has_include.h │ │ ├── 00081-else-if.c │ │ ├── 00082-else-if.c │ │ ├── 00091-cond.c │ │ ├── 00092-cond.c │ │ ├── 00093-cond.c │ │ ├── 00101-bugs-1.c │ │ ├── 00102-bugs-2.c │ │ ├── 00103-bugs-3.c │ │ ├── 00104-bugs-4.c │ │ ├── 00105-bugs-5.c │ │ ├── 00106-bugs-6.c │ │ ├── 00107-bugs-7.c │ │ ├── 00108-bugs-8.c │ │ ├── 00110-misc.c │ │ ├── 00111-misc.c │ │ ├── 00120-sp_cmt_cpp_start.c │ │ ├── 00121-sp_cmt_cpp_start.c │ │ ├── 00122-sp_cmt_cpp_start.c │ │ ├── 00130-minus-minus.c │ │ ├── 00135-br_cmt.c │ │ ├── 00140-global-vars.c │ │ ├── 00141-deref.c │ │ ├── 00142-type-cast.c │ │ ├── 00143-t3.in.c │ │ ├── 00144-align-proto-vars.c │ │ ├── 00145-vardefcol.c │ │ ├── 00150-casts.c │ │ ├── 00151-casts.c │ │ ├── 00152-casts.c │ │ ├── 00153-casts.c │ │ ├── 00154-casts.c │ │ ├── 00155-cast_brace.c │ │ ├── 00160-fcn_indent.c │ │ ├── 00161-fcn_indent.c │ │ ├── 00162-fcn_indent.c │ │ ├── 00163-fcn_indent.c │ │ ├── 00164-fcn_indent_func_def_col1.c │ │ ├── 00170-beautifier-off.c │ │ ├── 00180-lvalue.c │ │ ├── 00201-case.c │ │ ├── 00202-case.c │ │ ├── 00203-case.c │ │ ├── 00204-bug_1718.c │ │ ├── 00301-align-struct-init.c │ │ ├── 00302-one-liner-init.c │ │ ├── 00303-one-liner-init.c │ │ ├── 00304-one-liner-init.c │ │ ├── 00305-one-liner-define.c │ │ ├── 00310-sp_embed_comment.c │ │ ├── 00320-indent_first_bool_expr.c │ │ ├── 00401-align-equ.c │ │ ├── 00402-align-var.c │ │ ├── 00403-align-var.c │ │ ├── 00404-align-var.c │ │ ├── 00405-bits.c │ │ ├── 00406-bug_i_771.c │ │ ├── 00411-align-typedef.c │ │ ├── 00412-align-typedef.c │ │ ├── 00413-align-typedef.c │ │ ├── 00414-align-typedef.c │ │ ├── 00421-nl_ds_struct_enum.c │ │ ├── 00422-nl_ds_struct_enum.c │ │ ├── 00423-bug_1702.c │ │ ├── 00430-paren-indent.c │ │ ├── 00431-paren-indent.c │ │ ├── 00432-paren-indent.c │ │ ├── 00440-bug_489.c │ │ ├── 00451-enum_gallery.c │ │ ├── 00452-enum_gallery.c │ │ ├── 00453-enum_gallery.c │ │ ├── 00453-enum_gallery.rerun.lang │ │ ├── 00454-enum_gallery.c │ │ ├── 00501-bool-pos.c │ │ ├── 00502-bool-pos.c │ │ ├── 00503-pos_compare.c │ │ ├── 00504-pos_compare.c │ │ ├── 00505-pos_conditional.c │ │ ├── 00506-pos_conditional.c │ │ ├── 00510-bool-pos.c │ │ ├── 00511-bool-pos.c │ │ ├── 00512-bool-pos.c │ │ ├── 00513-bool-pos.c │ │ ├── 00600-dos.c │ │ ├── 00601-mac.c │ │ ├── 00611-pp-space.c │ │ ├── 00612-pp-space.c │ │ ├── 00613-pp-space.c │ │ ├── 00614-pp-space.c │ │ ├── 00615-pp-nest.c │ │ ├── 00616-pp-if-indent.c │ │ ├── 00617-pp-if-indent.c │ │ ├── 00618-pp-if-indent.c │ │ ├── 00620-indent-assign.c │ │ ├── 00621-nl_endif.c │ │ ├── 00631-nl_assign.c │ │ ├── 00632-nl_assign.c │ │ ├── 00701-function-def.c │ │ ├── 00702-function-def.c │ │ ├── 00703-function-def.c │ │ ├── 00710-add_long_comment.c │ │ ├── 00721-nl-semicolon.c │ │ ├── 00801-fcn_type.c │ │ ├── 00802-funcfunc.c │ │ ├── 00803-fcn_type.c │ │ ├── 00901-code_width.c │ │ ├── 00902-code_width.c │ │ ├── 00903-code_width.c │ │ ├── 00910-pascal_ptr.c │ │ ├── 00911-pascal_ptr.c │ │ ├── 01000-mod-paren.c │ │ ├── 01001-nl-comment.c │ │ ├── 01002-mod-paren.c │ │ ├── 01005-mod_case_brace.c │ │ ├── 01006-mod_case_brace.c │ │ ├── 01007-mod_case_brace.c │ │ ├── 01011-semicolons.c │ │ ├── 01012-semicolons.c │ │ ├── 01015-paren_indent.c │ │ ├── 01016-align_attr.c │ │ ├── 01020-kw_subst.c │ │ ├── 01021-hello.c │ │ ├── 01022-kw_subst.c │ │ ├── 01030-multi.h │ │ ├── 01035-func_wrap.c │ │ ├── 01036-func_wrap.c │ │ ├── 01037-type_wrap.c │ │ ├── 01040-newline_after_endif.c │ │ ├── 01050-func_call_user.c │ │ ├── 01060-backslash-newline-lex.c │ │ ├── 01070-various_colons.c │ │ ├── 01071-various_colons.c │ │ ├── 01080-bug_1196.c │ │ ├── 02000-i2c-core.c │ │ ├── 02001-directfb.h │ │ ├── 02002-i2c-core.c │ │ ├── 02100-i2c-core.c │ │ ├── 02101-comment-indent.c │ │ ├── 02102-indent.cpp │ │ ├── 02102-indent.rerun.lang │ │ ├── 02103-output.cpp │ │ ├── 02200-xml.c │ │ ├── 02201-align-string.c │ │ ├── 02300-preproc-if.c │ │ ├── 02301-preproc-if.c │ │ ├── 02302-nl-cont.c │ │ ├── 02303-nl-cont2.c │ │ ├── 02310-empty-for.c │ │ ├── 02311-pragma.c │ │ ├── 02315-pp_ret.c │ │ ├── 02320-nl_create_one_liner.c │ │ ├── 02325-sort_include.c │ │ ├── 02410-ifdef-indent.c │ │ ├── 02411-ifdef-indent.c │ │ ├── 02412-ifdef-indent.c │ │ ├── 02413-ifdef-indent.c │ │ ├── 02415-endif.c │ │ ├── 02416-cmt_nl_end.c │ │ ├── 02421-cmt_multi.c │ │ ├── 02422-cmt_multi.c │ │ ├── 02423-cmt_multi_utf8.c │ │ ├── 02431-cmt_right_align.c │ │ ├── 02432-cmt_right_align.c │ │ ├── 02440-string_utf8.c │ │ ├── 02441-utf8-identifiers.c │ │ ├── 02451-nl_return_expr.c │ │ ├── 02452-nl_return_expr.c │ │ ├── 02453-nl_return_expr.c │ │ ├── 02454-nl_return_expr.c │ │ ├── 02460-freebsd.c │ │ ├── 02486-doxy-comment.c │ │ ├── 02487-doxy-comment.c │ │ ├── 02501-custom_types_ssl.c │ │ ├── 02502-custom_types_ssl.c │ │ ├── 02503-pp_concat_asn1.h │ │ ├── 02504-align_keep_extra.c │ │ ├── 02510-asm.c │ │ ├── 07630-indent-vbrace.c │ │ ├── 08399-gh399.c │ │ ├── 09588-sf588.c │ │ ├── 09594-sf594.c │ │ ├── 09601-sp_after_sparen.c │ │ ├── 09602-bug_671.c │ │ ├── 09603-indent_ternary-1.c │ │ ├── 09604-indent_ternary-2.c │ │ ├── 09605-negative_value.c │ │ ├── 09606-extern.c │ │ ├── 09607-attribute.c │ │ ├── 09608-func_call_user2.c │ │ ├── 09610-bug_i_876.c │ │ ├── 09611-bug_i_222.c │ │ ├── 09612-bug_1041.c │ │ ├── 09613-i1413.c │ │ ├── 09614-string_prefixes.c │ │ ├── 09615-i1564.c │ │ ├── 09905-negative_value.c │ │ ├── 09906-extern-c-attribute.c │ │ ├── 09907-func_call_user2.c │ │ ├── 10003-bug_i_222.c │ │ ├── 10004-pragma_asm.c │ │ └── 10005-i1270.c │ ├── cpp │ │ ├── 10000-621_this-spacing.cpp │ │ ├── 10001-622_ifdef-indentation.cpp │ │ ├── 10002-623_caret-spacing.cpp │ │ ├── 10003-633_decl-in-func-typedef.cpp │ │ ├── 10004-634_extern-c-no-block.cpp │ │ ├── 10005-define-indentation.cpp │ │ ├── 10006-dont-detab-strings.cpp │ │ ├── 10007-dont-process-defines.cpp │ │ ├── 10008-PR326_invalid-backslash-eol-csharp.cpp │ │ ├── 10009-STUCK_macro-difficulties.cpp │ │ ├── 10020-macro_spaces.cpp │ │ ├── 10021-braces_align.cpp │ │ ├── 10022-foreach.cpp │ │ ├── 10023-for_auto.cpp │ │ ├── 10024-ifcomment.cpp │ │ ├── 10025-qtargs.cpp │ │ ├── 10047-UNI-1334.cpp │ │ ├── 10048-UNI-1335.cpp │ │ ├── 10050-UNI-1337.cpp │ │ ├── 10052-UNI-1339.cpp │ │ ├── 10053-UNI-1340.cpp │ │ ├── 10054-UNI-1344.cpp │ │ ├── 10056-UNI-1346.cpp │ │ ├── 10057-UNI-1347.cpp │ │ ├── 10060-UNI-1350.cpp │ │ ├── 10062-UNI-1356.cpp │ │ ├── 10063-UNI-1358.cpp │ │ ├── 10069-UNI-1980.cpp │ │ ├── 10070-UNI-1981.cpp │ │ ├── 10071-UNI-1983.cpp │ │ ├── 10079-UNI-9650.cpp │ │ ├── 10080-UNI-10496.cpp │ │ ├── 10100-issue_564.cpp │ │ ├── 10101-issue_574.cpp │ │ ├── 10101-issue_574.cpp-a │ │ ├── 10566-issue_1752.cpp │ │ ├── 11000-UNI-12046.cpp │ │ ├── 20002-UNI-32657.cpp │ │ ├── 20011-UNI-38381.cpp │ │ ├── 30000-cout.cpp │ │ ├── 30001-alt_tokens.cpp │ │ ├── 30002-constructor.cpp │ │ ├── 30003-strings.cpp │ │ ├── 30010-class.h │ │ ├── 30011-misc.cpp │ │ ├── 30012-misc2.cpp │ │ ├── 30013-sim.h │ │ ├── 30014-ctor-var.cpp │ │ ├── 30015-exception.cpp │ │ ├── 30016-custom-open.cpp │ │ ├── 30017-custom-open.cpp │ │ ├── 30018-class-addr.h │ │ ├── 30019-wacky-template.cpp │ │ ├── 30020-bool.cpp │ │ ├── 30021-byref.cpp │ │ ├── 30022-extern_c.h │ │ ├── 30023-templates.cpp │ │ ├── 30024-class-init.cpp │ │ ├── 30025-class-init.cpp │ │ ├── 30026-byref.cpp │ │ ├── 30027-byref.cpp │ │ ├── 30028-byref.cpp │ │ ├── 30029-init_align.h │ │ ├── 30030-Timestamp.h │ │ ├── 30031-operator.cpp │ │ ├── 30032-operator.cpp │ │ ├── 30033-operator.cpp │ │ ├── 30034-operator_proto.cpp │ │ ├── 30035-operator_proto.cpp │ │ ├── 30036-operator.cpp │ │ ├── 30037-operator_proto.cpp │ │ ├── 30038-operator.cpp │ │ ├── 30039-operator_proto.cpp │ │ ├── 30040-nl-class.h │ │ ├── 30041-nl-class.h │ │ ├── 30043-nl_func_call_empty.cpp │ │ ├── 30044-nl_func_call_paren_empty.cpp │ │ ├── 30045-nl_func_decl.cpp │ │ ├── 30046-nl_func_decl.cpp │ │ ├── 30047-nl_func_paren_empty.cpp │ │ ├── 30048-nl_func_def_paren_empty.cpp │ │ ├── 30049-nl_func_call_paren.cpp │ │ ├── 30050-nl-namespace.h │ │ ├── 30051-nl-namespace.h │ │ ├── 30052-try-catch-nl.cpp │ │ ├── 30055-nl_func.cpp │ │ ├── 30056-nl_func.cpp │ │ ├── 30061-class-init.cpp │ │ ├── 30062-class-init.cpp │ │ ├── 30063-class-init.cpp │ │ ├── 30064-class-init.cpp │ │ ├── 30065-Example.h │ │ ├── 30066-class-init.cpp │ │ ├── 30067-nl_func_type_name.cpp │ │ ├── 30068-nl_func_scope_name.cpp │ │ ├── 30069-class-implementation.cpp │ │ ├── 30070-nl_func_scope_name.cpp │ │ ├── 30075-goto.cpp │ │ ├── 30080-nl_brace_brace.cpp │ │ ├── 30085-align_class.cpp │ │ ├── 30090-bug_488.cpp │ │ ├── 30091-bug_472.cpp │ │ ├── 30092-bug_481.cpp │ │ ├── 30093-bug_484.cpp │ │ ├── 30094-bug_495.cpp │ │ ├── 30095-bug_485.cpp │ │ ├── 30099-bug_1127.cpp │ │ ├── 30100-templates.cpp │ │ ├── 30101-templates.cpp │ │ ├── 30102-templates.cpp │ │ ├── 30103-templates.cpp │ │ ├── 30104-templ_class.h │ │ ├── 30105-av.h │ │ ├── 30106-templates2.cpp │ │ ├── 30107-templates2.cpp │ │ ├── 30108-templates3.cpp │ │ ├── 30109-templates4.cpp │ │ ├── 30110-class-init.cpp │ │ ├── 30111-bug_1346.h │ │ ├── 30112-bug_1432.cpp │ │ ├── 30113-bug_1452.cpp │ │ ├── 30114-bug_1462.cpp │ │ ├── 30201-cmt_indent.cpp │ │ ├── 30202-cmt_indent.cpp │ │ ├── 30203-cmt_indent.cpp │ │ ├── 30204-comment-align.cpp │ │ ├── 30205-cmt_right.cpp │ │ ├── 30206-cmt_backslash_eol.cpp │ │ ├── 30207-cmt_indent_pp.h │ │ ├── 30208-bug_1108.cpp │ │ ├── 30209-bug_1134.cpp │ │ ├── 30210-bug_1338.cpp │ │ ├── 30211-indent_comment_align_thresh.cpp │ │ ├── 30212-indent_comment_align_thresh.cpp │ │ ├── 30213-align_right_comment.cpp │ │ ├── 30220-bug_1340.cpp │ │ ├── 30240-align_func_params.cpp │ │ ├── 30241-align_func_params.cpp │ │ ├── 30242-align_func_params.cpp │ │ ├── 30243-align_func_params.cpp │ │ ├── 30244-align_func_params.cpp │ │ ├── 30245-align_func_params.cpp │ │ ├── 30246-align_func_params.cpp │ │ ├── 30250-align_fcall.cpp │ │ ├── 30251-align_fcall.cpp │ │ ├── 30253-align_left_shift.cpp │ │ ├── 30254-align_left_shift2.cpp │ │ ├── 30255-align_constr.cpp │ │ ├── 30256-func_call.cpp │ │ ├── 30257-func_call_chain.cpp │ │ ├── 30258-casts.cpp │ │ ├── 30260-var_def_gap.cpp │ │ ├── 30261-align_var_def_thresh.cpp │ │ ├── 30262-align_var_def_thresh.cpp │ │ ├── 30263-align_var_def_thresh.cpp │ │ ├── 30265-long_br_cmt.cpp │ │ ├── 30265-long_br_cmt.rerun.lang │ │ ├── 30270-const_throw.cpp │ │ ├── 30271-sp_throw_paren.cpp │ │ ├── 30272-sp_throw_paren.cpp │ │ ├── 30273-sp_cparen_oparen.cpp │ │ ├── 30274-sp_cparen_oparen.cpp │ │ ├── 30275-bug_1321.cpp │ │ ├── 30278-bug_1439.cpp │ │ ├── 30280-sf557.cpp │ │ ├── 30290-align_left_shift.cpp │ │ ├── 30291-indent_shift.cpp │ │ ├── 30300-enum_shr.cpp │ │ ├── 30301-enum_class.h │ │ ├── 30302-bug_1315.cpp │ │ ├── 30310-braced_init_list.cpp │ │ ├── 30311-uniform_initialization.cpp │ │ ├── 30701-function-def.cpp │ │ ├── 30702-function-def.cpp │ │ ├── 30703-function-def.cpp │ │ ├── 30705-func_param.cpp │ │ ├── 30706-bug_1020.cpp │ │ ├── 30711-semicolons.cpp │ │ ├── 30712-bug_1158.cpp │ │ ├── 30713-fix_for_relational_operators.cpp │ │ ├── 30720-custom-open-2.cpp │ │ ├── 30730-qt-1.cpp │ │ ├── 30731-qt-1.cpp │ │ ├── 30740-sef.cpp │ │ ├── 30741-al.cpp │ │ ├── 30742-delete.cpp │ │ ├── 30750-lambda.cpp │ │ ├── 30751-lambda.cpp │ │ ├── 30752-lambda.cpp │ │ ├── 30753-lambda2.cpp │ │ ├── 30754-bug_i_682.h │ │ ├── 30755-bug_i_938.h │ │ ├── 30756-bug_1296.cpp │ │ ├── 30800-align-star-amp-pos.cpp │ │ ├── 30801-align-star-amp-pos.cpp │ │ ├── 30802-align-star-amp-pos.cpp │ │ ├── 30803-bug_1403.cpp │ │ ├── 30804-block_pointer.cpp │ │ ├── 30805-ptr-star.cpp │ │ ├── 30806-ptr-star.cpp │ │ ├── 30807-ptr-star.cpp │ │ ├── 30808-ptr-star.cpp │ │ ├── 30809-bug_1289.cpp │ │ ├── 30810-ptr-star.cpp │ │ ├── 30811-misc3.cpp │ │ ├── 30812-misc4.cpp │ │ ├── 30813-misc5.cpp │ │ ├── 30814-misc6.cpp │ │ ├── 30815-cmt-reflow.cpp │ │ ├── 30815-cmt-reflow.rerun.lang │ │ ├── 30816-for_long.cpp │ │ ├── 30817-cmt-cpp-cont.cpp │ │ ├── 30818-bug_1169.cpp │ │ ├── 30819-bug_1170.cpp │ │ ├── 30820-pp-define-indent.cpp │ │ ├── 30821-pp_indent_case.cpp │ │ ├── 30822-pp_indent_brace.cpp │ │ ├── 30823-pp_indent_func_def.cpp │ │ ├── 30824-pp_indent_extern.cpp │ │ ├── 30828-bug_1691.cpp │ │ ├── 30830-kw_subst.cpp │ │ ├── 30831-kw_subst2.cpp │ │ ├── 30832-kw_subst.cpp │ │ ├── 30840-nl_func_type_name.cpp │ │ ├── 30841-nl_func_type_name.cpp │ │ ├── 30842-nl_func_type_name.cpp │ │ ├── 30845-deref.cpp │ │ ├── 30850-sp_cmt_cpp_start.cc │ │ ├── 30855-cpp_move.cpp │ │ ├── 30860-sf574.cpp │ │ ├── 30870-cmt_insert.cpp │ │ ├── 30871-cmt_insert.cpp │ │ ├── 30900-region.cpp │ │ ├── 30901-region.cpp │ │ ├── 30902-region.cpp │ │ ├── 30903-region.cpp │ │ ├── 30910-indent_namespace.h │ │ ├── 30911-indent_namespace.h │ │ ├── 30912-long_namespace.cpp │ │ ├── 30913-indent_namespace2.h │ │ ├── 30914-indent_namespace_single_indent.h │ │ ├── 30915-bug_1235.cpp │ │ ├── 30920-indent-off.cpp │ │ ├── 30921-variadic-template.h │ │ ├── 30922-variadic-template.h │ │ ├── 30923-sf.2886991.cpp │ │ ├── 30924-sf.2886991.cpp │ │ ├── 30925-function-def.cpp │ │ ├── 30926-function-def.cpp │ │ ├── 30927-function-def.cpp │ │ ├── 30928-function-def.cpp │ │ ├── 30929-bug_1324.cpp │ │ ├── 30930-indent_var_def.cpp │ │ ├── 30931-indent_var_def_cont.cpp │ │ ├── 30932-indent_var_def_cont.cpp │ │ ├── 30933-indent_paren_after_func_def.cpp │ │ ├── 30934-indent_paren_after_func_decl.cpp │ │ ├── 30935-indent-misc.cpp │ │ ├── 30936-indent_braces_no.h │ │ ├── 30937-indent_param.cpp │ │ ├── 30938-indent_switch_pp.cpp │ │ ├── 30939-indent_paren_after_func_call.cpp │ │ ├── 30940-case-brace-remove.cpp │ │ ├── 30945-sf.3266678.cpp │ │ ├── 30946-sf.3315874.h │ │ ├── 30947-bug_1689.cpp │ │ ├── 30950-sp_before_tr_emb_cmt_input.cpp │ │ ├── 30951-sp_before_tr_emb_cmt_input.cpp │ │ ├── 30955-indent_ctor_init.cpp │ │ ├── 30956-indent_ctor_init.cpp │ │ ├── 30957-class-init.cpp │ │ ├── 31000-digraph.cpp │ │ ├── 31001-digraph.cpp │ │ ├── 31562-sf562.cpp │ │ ├── 31567-sf567.cpp │ │ ├── 31583-sf583.cpp │ │ ├── 31593-sf593.cpp │ │ ├── 31594-issue_672.cpp │ │ ├── 31600-parameter-packs.cpp │ │ ├── 31601-parameter-packs.cpp │ │ ├── 31602-parameter-packs.cpp │ │ ├── 31603-parameter-packs.cpp │ │ ├── 31604-parameter-packs.cpp │ │ ├── 31605-parameter-packs.cpp │ │ ├── 31606-parameter-packs.cpp │ │ ├── 31607-parameter-packs.cpp │ │ ├── 31608-parameter-packs.cpp │ │ ├── 31609-parameter-packs.cpp │ │ ├── 31620-sp_after_type.cpp │ │ ├── 31621-sp_after_type.cpp │ │ ├── 31622-sp_after_type.cpp │ │ ├── 31623-sp_after_type.cpp │ │ ├── 31624-sp_after_type.cpp │ │ ├── 31625-sp_after_type.cpp │ │ ├── 31700-toggle_processing_cmt.cpp │ │ ├── 31701-toggle_processing_cmt2.cpp │ │ ├── 31710-string_replace_tab_chars.cpp │ │ ├── 31711-string_replace_tab_chars.cpp │ │ ├── 31720-bit-colon.cpp │ │ ├── 31730-ms-style-ref.cpp │ │ ├── 32000-sp_skip_vbrace_tokens.cpp │ │ ├── 32001-issue_547_for_each.cpp │ │ ├── 32002-proto-wrap.cpp │ │ ├── 32003-issue_633_typename.cpp │ │ ├── 32004-issue_624_angle.cpp │ │ ├── 32005-issue_633_typename.cpp │ │ ├── 32006-bug_i_687.cpp │ │ ├── 32100-cpp17.cpp │ │ ├── 33000-tab-0.cpp │ │ ├── 33001-tab-1.cpp │ │ ├── 33002-cmt_convert_tab_to_spaces.cpp │ │ ├── 33003-cmt_convert_tab_to_spaces.cpp │ │ ├── 33004-DoxygenComments.cpp │ │ ├── 33005-DoxygenComments.cpp │ │ ├── 33006-string_replace_tab_chars.cpp │ │ ├── 33007-NewLine.cpp │ │ ├── 33008-NewLine.cpp │ │ ├── 33009-NewLine0.cpp │ │ ├── 33010-Q_EMIT.cpp │ │ ├── 33011-static.h │ │ ├── 33012-Q_SIGNAL_SLOT.cpp │ │ ├── 33013-Q_2.cpp │ │ ├── 33014-DB.cpp │ │ ├── 33015-Q_FOREACH.cpp │ │ ├── 33016-indent.cpp │ │ ├── 33017-bug_1160.cpp │ │ ├── 33018-byref-2.cpp │ │ ├── 33019-bug_657.cpp │ │ ├── 33020-bug_662.cpp │ │ ├── 33021-bug_633.cpp │ │ ├── 33022-bug_634.cpp │ │ ├── 33023-bug_651.cpp │ │ ├── 33024-bug_653.cpp │ │ ├── 33025-bug_654.cpp │ │ ├── 33026-bug_631.cpp │ │ ├── 33027-bug_664.cpp │ │ ├── 33028-braces_empty.cpp │ │ ├── 33029-cast.cpp │ │ ├── 33030-Q_FOREVER.cpp │ │ ├── 33031-bug_612.cpp │ │ ├── 33032-bug_670.cpp │ │ ├── 33033-bug_670.h │ │ ├── 33034-bug_671.h │ │ ├── 33035-patch_32.cpp │ │ ├── 33036-bug_663.cpp │ │ ├── 33037-func_class.cpp │ │ ├── 33038-func_class.h │ │ ├── 33039-mod_remove_empty_return.cpp │ │ ├── 33040-bug_i_411.cpp │ │ ├── 33041-bug_i_411.cpp │ │ ├── 33042-bug_i_411.cpp │ │ ├── 33043-bug_i_478.cpp │ │ ├── 33044-bug_i_481.cpp │ │ ├── 33045-bug_i_width.cpp │ │ ├── 33046-bug_i_409.cpp │ │ ├── 33047-bug_i_409.cpp │ │ ├── 33048-bug_i_405.cpp │ │ ├── 33049-pp-pragma.cpp │ │ ├── 33050-issue_523.cpp │ │ ├── 33051-bug_i_503.cpp │ │ ├── 33052-bug_i_512.cpp │ │ ├── 33053-for_auto.cpp │ │ ├── 33054-bug_i_825.cpp │ │ ├── 33056-bug_33056.cpp │ │ ├── 33057-bug_1349.cpp │ │ ├── 33058-stdcall.cpp │ │ ├── 33060-if_constexpr.cpp │ │ ├── 33061-if_chain_braces.cpp │ │ ├── 33062-if_chain_braces.cpp │ │ ├── 33063-if_chain_braces.cpp │ │ ├── 33064-if_chain_braces.cpp │ │ ├── 33070-multi_line.cpp │ │ ├── 33071-multi_line.cpp │ │ ├── 33072-multi_line.cpp │ │ ├── 33073-multi_line.cpp │ │ ├── 33074-multi_line.cpp │ │ ├── 33075-multi_line.cpp │ │ ├── 33076-multi_line.cpp │ │ ├── 33077-multi_line.cpp │ │ ├── 33078-multi_line.cpp │ │ ├── 33079-multi_line.cpp │ │ ├── 33080-multi_line.cpp │ │ ├── 33081-bug_i_552.cpp │ │ ├── 33081-namespace_namespace.cpp │ │ ├── 33082-namespace_namespace.cpp │ │ ├── 33083-bug_i_359.cpp │ │ ├── 33084-op_sym_empty.cpp │ │ ├── 33085-bug_i_323.cpp │ │ ├── 33086-bug_i_568.cpp │ │ ├── 33087-bug_i_596.cpp │ │ ├── 33088-bug_i_197.cpp │ │ ├── 33089-bug_643.cpp │ │ ├── 33090-gh555.cpp │ │ ├── 33091-squeeze_ifdef.cpp │ │ ├── 33092-squeeze_ifdef.cpp │ │ ├── 33093-bug_i_322.cpp │ │ ├── 33093-sp_angle_paren.cpp │ │ ├── 33094-sp_angle_paren.cpp │ │ ├── 33095-bug_i_322.cpp │ │ ├── 33096-squeeze_ifdef.cpp │ │ ├── 33097-enum_comma.h │ │ ├── 33098-enum_comma.h │ │ ├── 33099-enum_comma.h │ │ ├── 33100-enum_comma.h │ │ ├── 33101-enum_comma.h │ │ ├── 33102-enum_comma.h │ │ ├── 33105-bug_1001.cpp │ │ ├── 33110-enum.cpp │ │ ├── 33150-bug_i_753.cpp │ │ ├── 33151-bug_i_752.cpp │ │ ├── 33152-bug_1004.cpp │ │ ├── 33160-bug_1112.cpp │ │ ├── 33200-first_len_minimum.cpp │ │ ├── 33201-indent_ctor_members_twice.cpp │ │ ├── 33202-initlist_leading_commas.cpp │ │ ├── 33203-bug_1288.cpp │ │ ├── 34001-nl_before_after.h │ │ ├── 34002-bug_i_793.cpp │ │ ├── 34003-nl_max_blank_in_func.cpp │ │ ├── 34004-nl_max_blank_in_func.cpp │ │ ├── 34005-nl_max_blank_in_func.cpp │ │ ├── 34006-bug_i_575.cpp │ │ ├── 34007-bug_i_928.cpp │ │ ├── 34100-bug_i_525.cpp │ │ ├── 34101-bug_i_646.cpp │ │ ├── 34105-bug_i_663.cpp │ │ ├── 34108-bug_i_666.cpp │ │ ├── 34112-bug_i_889.cpp │ │ ├── 34113-bug_902.cpp │ │ ├── 34113-bug_902.rerun.lang │ │ ├── 34114-bug_902.cpp │ │ ├── 34115-nl_before_func_body_def.cpp │ │ ├── 34120-bug_i_999.cpp │ │ ├── 34121-bug_1717.cpp │ │ ├── 34130-bug_i_1000.cpp │ │ ├── 34131-bug_i_1000.cpp │ │ ├── 34132-new_op.cpp │ │ ├── 34133-new_op.cpp │ │ ├── 34134-new_op.cpp │ │ ├── 34135-new_op.cpp │ │ ├── 34136-sp_balance_nested_parens.cpp │ │ ├── 34140-bug_1027.cpp │ │ ├── 34141-bug_1005.cpp │ │ ├── 34142-I1112-1.cpp │ │ ├── 34143-I1112-2.cpp │ │ ├── 34144-I1112-3.cpp │ │ ├── 34145-i683.cpp │ │ ├── 34146-bug_1002.cpp │ │ ├── 34147-bug_1002.cpp │ │ ├── 34148-bug_1139.cpp │ │ ├── 34149-bug_1139.cpp │ │ ├── 34150-bug_1032.cpp │ │ ├── 34151-bug_666.cpp │ │ ├── 34152-bug_1068.cpp │ │ ├── 34153-type_brace_init_lst.cpp │ │ ├── 34154-type_brace_init_lst.cpp │ │ ├── 34155-type_brace_init_lst.cpp │ │ ├── 34156-type_brace_init_lst.cpp │ │ ├── 34157-type_brace_init_lst.cpp │ │ ├── 34158-type_brace_init_lst.cpp │ │ ├── 34159-type_brace_init_lst.cpp │ │ ├── 34160-type_brace_init_lst.cpp │ │ ├── 34161-type_brace_init_lst.cpp │ │ ├── 34162-type_brace_init_lst.cpp │ │ ├── 34163-type_brace_init_lst.cpp │ │ ├── 34164-type_brace_init_lst.cpp │ │ ├── 34165-type_brace_init_lst.cpp │ │ ├── 34166-type_brace_init_lst.cpp │ │ ├── 34170-i1082.cpp │ │ ├── 34171-i1181.cpp │ │ ├── 34172-i1165.cpp │ │ ├── 34173-i1464.cpp │ │ ├── 34174-i1466.cpp │ │ ├── 34175-i1509.cpp │ │ ├── 34176-i1509_bug_1112_correction.cpp │ │ ├── 34180-bug_1402.cpp │ │ ├── 34190-bug_1003.cpp │ │ ├── 34191-comment-align-multiline.cpp │ │ ├── 34192-i1207.cpp │ │ ├── 34193-i1218.cpp │ │ ├── 34194-sp_arith_additive.cpp │ │ ├── 34195-sp_arith_additive.cpp │ │ ├── 34197-bug_1161.cpp │ │ ├── 34198-bug_1249.cpp │ │ ├── 34199-not_lambda.cpp │ │ ├── 34200-i1536.cpp │ │ ├── 34201-i1565.cpp │ │ ├── 34202-i1617.cpp │ │ ├── 34203-i1516.cpp │ │ ├── 34204-func_param_indent_leading_comma.cpp │ │ ├── 34205-bug_1395.cpp │ │ ├── 34206-for_loop_head.cpp │ │ ├── 34207-for_loop_head.cpp │ │ ├── 34210-override_virtual.cpp │ │ ├── 34250-bug_1607.cpp │ │ ├── 34251-bug_1649.cpp │ │ ├── 34280-UNI-29935.cpp │ │ ├── 34290-brace_brace_init_lst.cpp │ │ ├── 34291-brace_brace_init_lst.cpp │ │ ├── 34292-brace_brace_init_lst.cpp │ │ ├── 34293-brace_brace_init_lst.cpp │ │ ├── 34294-brace_brace_init_lst.cpp │ │ ├── 34295-brace_brace_init_lst.cpp │ │ ├── 34296-i1768.cpp │ │ ├── 34300-bug_1236.cpp │ │ ├── 60001-UNI-2650.cpp │ │ ├── 60002-UNI-16283.cpp │ │ ├── 60003-UNI-1288.cpp │ │ ├── 60006-UNI-2049.cpp │ │ ├── 60017-UNI-2683.cpp │ │ ├── 60022-UNI-18439.cpp │ │ ├── 60025-UNI-19894.cpp │ │ ├── 60027-UNI-21506.cpp │ │ ├── 60028-UNI-21509.cpp │ │ ├── 60029-UNI-21510.cpp │ │ ├── 60030-UNI-21727.cpp │ │ ├── 60031-UNI-21728.cpp │ │ ├── 60032-UNI-21729.cpp │ │ ├── 60036-UNI-2680.cpp │ │ ├── 60038-UNI-30088.cpp │ │ ├── 60039-UNI-30628.cpp │ │ └── 60042-UNI-18777.cpp │ ├── cs │ │ ├── 10000-simple.cs │ │ ├── 10001-getset.cs │ │ ├── 10002-simple.cs │ │ ├── 10003-region.cs │ │ ├── 10010-var-member.cs │ │ ├── 10011-strings.cs │ │ ├── 10012-621_this-spacing.cs │ │ ├── 10013-620_getset-brace.cs │ │ ├── 10013-625_where-constraints.cs │ │ ├── 10014-630_bad-new-init-semicolon-removal.cs │ │ ├── 10015-misc-failures.cs │ │ ├── 10016-new-constraint-paren-space.cs │ │ ├── 10018-delete-space-oc.mm │ │ ├── 10019-func-param-wrap-oc.mm │ │ ├── 10020-region.cs │ │ ├── 10021-region.cs │ │ ├── 10022-region.cs │ │ ├── 10023-region.cs │ │ ├── 10027-oneline_property.cs │ │ ├── 10028-ifcolalign.cs │ │ ├── 10029-when.cs │ │ ├── 10030-sort_using.cs │ │ ├── 10031-bug_i_935.cs │ │ ├── 10032-newlines.rerun.lang │ │ ├── 10032-sort_using_categ.cs │ │ ├── 10033-objc.rerun.lang │ │ ├── 10035-definesalign.h.mm │ │ ├── 10036-inttypes.h.mm │ │ ├── 10039-615_nested-usings.cs │ │ ├── 10040-tcf.cs │ │ ├── 10041-gs.cs │ │ ├── 10042-exception-filters.cs │ │ ├── 10044-ifcomment.cs │ │ ├── 10045-UNI-1288.cs │ │ ├── 10046-UNI-1333.mm │ │ ├── 10050-generics.cs │ │ ├── 10051-UNI-1338.cs │ │ ├── 10055-UNI-1345.cs │ │ ├── 10060-unsafe.cs │ │ ├── 10065-UNI-1975.cs │ │ ├── 10066-UNI-1977.cs │ │ ├── 10067-UNI-1978.cs │ │ ├── 10070-utf16le.cs │ │ ├── 10071-utf16be.cs │ │ ├── 10072-utf16le_no_bom.cs │ │ ├── 10073-utf16be_no_bom.cs │ │ ├── 10074-UNI-2020.cs │ │ ├── 10075-UNI-2021.cs │ │ ├── 10076-UNI-1343.cs │ │ ├── 10077-UNI-1919.cs │ │ ├── 10078-UNI-3484.cs │ │ ├── 10080-property.cs │ │ ├── 10090-string_multi.cs │ │ ├── 10100-bug_600.cs │ │ ├── 10101-sf607.cs │ │ ├── 10102-pp-ignore.mm │ │ ├── 10103-UNI-2506.cs │ │ ├── 10104-UNI-2505.cs │ │ ├── 10110-mdarray_space.cs │ │ ├── 10111-mdarray_space.cs │ │ ├── 10112-mdarray_space.cs │ │ ├── 10120-cmt_backslash_eol.cs │ │ ├── 10130-sp_between_new_paren.cs │ │ ├── 10140-remove_semi.cs │ │ ├── 10150-operator-null-conditional.cs │ │ ├── 10151-operator_null-coalescing-assignment.cs │ │ ├── 10160-delegate.cs │ │ ├── 10161-delegate.cs │ │ ├── 10200-logger.cs │ │ ├── 10628-sf628.cs │ │ ├── 11011-620_getset-brace.cs │ │ ├── 11030-argtypes.mm │ │ ├── 11031-casting.mm │ │ ├── 11032-newlines.mm │ │ ├── 11072-UNI-2007.cs │ │ ├── 11073-UNI-2008.cs │ │ ├── 12001-bug_620.cs │ │ ├── 12002-nullable_prop.cs │ │ ├── 12003-fncall_as_ctor_in_attr.cs │ │ ├── 12004-verbatim_strings.cs │ │ ├── 12005-bug_1591.cs │ │ ├── 12101-bug_i_679.cs │ │ ├── 12102-mod_full_brace_nl_block_rem_mlcond.cs │ │ ├── 12103-mod_full_brace_nl_block_rem_mlcond.cs │ │ ├── 12104-bug_1637.cs │ │ ├── 12105-bug_1650.cs │ │ ├── 12106-UNI-40685.cs │ │ ├── 20010-UNI-32658.cs │ │ ├── 20011-bug_1620.cs │ │ ├── 60004-UNI-2684.cs │ │ ├── 60005-UNI-2685.cs │ │ ├── 60007-UNI-3083.cs │ │ ├── 60008-UNI-17253.cs │ │ ├── 60009-UNI-9917.cs │ │ ├── 60009-UNI-9917.rerun.lang │ │ ├── 60011-UNI-11095.mm │ │ ├── 60012-UNI-12303.cs │ │ ├── 60013-UNI-13955.cs │ │ ├── 60015-UNI-14131.cs │ │ ├── 60016-UNI-11662.cs │ │ ├── 60018-UNI-18777.cs │ │ ├── 60019-UNI-18780.cs │ │ ├── 60020-UNI-18829.cs │ │ ├── 60023-UNI-18437.cs │ │ ├── 60024-UNI-19644.cs │ │ ├── 60026-UNI-19895.cs │ │ ├── 60033-UNI-21730.cs │ │ ├── 60036-UNI-11993.cs │ │ ├── 60037-UNI-29933.cs │ │ ├── 60040-UNI-30498_2.cs │ │ ├── 60041-squeeze-paren-close-Option.cs │ │ ├── 60043-UNI-36862.cs │ │ └── 60044-UNI-37241.cs │ ├── d │ │ ├── 40000-HashMap.d │ │ ├── 40001-imports.d │ │ ├── 40002-volatile.d │ │ ├── 40003-volatile-1.d │ │ ├── 40004-volatile-2.d │ │ ├── 40005-volatile-3.d │ │ ├── 40006-Lexer.d │ │ ├── 40007-Lexer.d │ │ ├── 40010-template.d │ │ ├── 40011-template.d │ │ ├── 40020-funcfunc.d │ │ ├── 40021-tst01.d │ │ ├── 40022-tst02.d │ │ ├── 40023-bug-indent.d │ │ ├── 40024-tst03.d │ │ ├── 40025-tst03.d │ │ ├── 40030-delegate.d │ │ ├── 40035-enum.d │ │ ├── 40040-sort_import.d │ │ ├── 40050-strings.d │ │ ├── 40051-numbers.d │ │ ├── 40052-numbers.d │ │ ├── 40060-casts.d │ │ ├── 40061-const.d │ │ ├── 40070-d_sp_paren.d │ │ ├── 40080-static_if.d │ │ └── 40090-square_indent_tab.d │ ├── ecma │ │ └── 90000-example-1.es │ ├── java │ │ ├── 80000-assert.java │ │ ├── 80010-annotation1.java │ │ ├── 80011-annotation2.java │ │ ├── 80012-annotation2.java │ │ ├── 80013-annotation2.java │ │ ├── 80014-annotation2.java │ │ ├── 80020-foreach.java │ │ ├── 80030-variable_aligns.java │ │ ├── 80040-try.java │ │ ├── 80050-double_brace.java │ │ ├── 80051-double_brace.java │ │ ├── 80060-synchronized.java │ │ ├── 80061-synchronized.java │ │ ├── 80062-sp_this_paren.java │ │ ├── 80063-i1121.java │ │ ├── 80064-long_cl_cmt.java │ │ ├── 80065-Java8DoubleColon.java │ │ ├── 80100-sf567.java │ │ ├── 80200-sp_before_byref.java │ │ ├── 80201-generics.java │ │ ├── 80202-generics_wildcard.java │ │ ├── 80203-generics_return_type.java │ │ ├── 80204-cast.java │ │ ├── 80205-sp_after_angle.java │ │ ├── 80206-annotation3.java │ │ ├── 80301-issue_672.java │ │ ├── 80900-sp_before_byref.java │ │ ├── 80901-generics.java │ │ ├── 80902-generics_wildcard.java │ │ ├── 80903-generics_return_type.java │ │ ├── 80904-cast.java │ │ ├── 80905-sp_after_angle.java │ │ └── 80906-annotation3.java │ ├── oc │ │ ├── 10018-delete-space-oc.mm │ │ ├── 10019-func-param-wrap-oc.mm │ │ ├── 50001-Fraction.h │ │ ├── 50002-Fraction.m │ │ ├── 50003-main.m │ │ ├── 50004-string.m │ │ ├── 50005-Declarations.h │ │ ├── 50006-exceptions.m │ │ ├── 50007-misc.m │ │ ├── 50008-protocol.m │ │ ├── 50009-literals.m │ │ ├── 50010-return_type.m │ │ ├── 50011-return_type.m │ │ ├── 50012-return_type.m │ │ ├── 50015-receiver.m │ │ ├── 50016-ternary.m │ │ ├── 50017-ternary.m │ │ ├── 50020-selector.m │ │ ├── 50021-selector.m │ │ ├── 50022-selector.m │ │ ├── 50025-exceptions.m │ │ ├── 50026-exceptions.m │ │ ├── 50030-sort_import.m │ │ ├── 50040-complex_method.m │ │ ├── 50050-real_world_file.m │ │ ├── 50060-oc-split.m │ │ ├── 50070-blocks.m │ │ ├── 50071-blocks.m │ │ ├── 50072-blocks.m │ │ ├── 50073-blocks.m │ │ ├── 50074-blocks.m │ │ ├── 50075-blocks.m │ │ ├── 50076-blocks.m │ │ ├── 50077-more_blocks.m │ │ ├── 50078-more_blocks.m │ │ ├── 50079-more_blocks.m │ │ ├── 50080-more_blocks.m │ │ ├── 50081-more_blocks.m │ │ ├── 50082-more_blocks.m │ │ ├── 50083-more_blocks.m │ │ ├── 50084-more_blocks.m │ │ ├── 50085-block_in_method.m │ │ ├── 50090-kw.m │ │ ├── 50095-box.m │ │ ├── 50100-bug_340.m │ │ ├── 50110-msg_align.m │ │ ├── 50111-ns_enum.m │ │ ├── 50112-ns_enum.m │ │ ├── 50113-ns_enum.m │ │ ├── 50120-gh137.m │ │ ├── 50200-more_blocks_2.m │ │ ├── 50201-blocks_align.m │ │ ├── 50202-blocks_align.m │ │ ├── 50203-blocks_align.m │ │ ├── 50204-blocks_align.m │ │ ├── 50205-msg_align.m │ │ ├── 50300-msg.m │ │ ├── 50400-for.m │ │ ├── 50410-oc_cond_colon.m │ │ ├── 50500-code_placeholder.m │ │ ├── 50510-gh293.m │ │ ├── 50511-gh293.m │ │ ├── 50512-sp_oc_catch.m │ │ ├── 50513-sp_oc_boxed.m │ │ ├── 50514-indent_boxed.m │ │ ├── 50515-sp_oc_synchronized.m │ │ ├── 50600-bug_i_477.m │ │ ├── 50601-bug_i_408.m │ │ ├── 50601-bug_i_477.m │ │ ├── 50602-bug_i_125-412.m │ │ ├── 50603-gh511.m │ │ ├── 50604-bug_497.m │ │ ├── 50605-bug_404.m │ │ ├── 50606-bug_1366.m │ │ ├── 50607-sp_after_oc_msg_receiver.m │ │ ├── 50608-blocks_align2.m │ │ ├── 50609-negative_value.m │ │ ├── 50610-nelem.m │ │ ├── 50611-for2.m │ │ ├── 50612-chunk_ends_type1.m │ │ ├── 50613-chunk_ends_type2.m │ │ ├── 50614-chunk_ends_type3.m │ │ ├── 50615-block_literal_protocol.m │ │ ├── 50616-oc_msg_in_pp.m │ │ ├── 50617-boxed_receiver.m │ │ ├── 50618-func_def.mm │ │ ├── 50619-cast.m │ │ ├── 50620-sp_after_angle.m │ │ ├── 50621-Fraction.h │ │ ├── 50622-c-cpp-oc-wrapper.c │ │ ├── 50623-extern-c-attribute.m │ │ ├── 50624-typeof.m │ │ ├── 50625-sp_inside_braces_oc_dict.m │ │ ├── 50626-chunk_ends_type4.m │ │ ├── 50627-method_ends_semicolon.m │ │ ├── 50628-macro-close-brace.m │ │ ├── 50629-pp_bool.m │ │ ├── 50630-react_native.m │ │ ├── 50700-cmt_insert.m │ │ ├── 50701-cmt_insert2.m │ │ ├── 50800-properties.m │ │ ├── 50801-i1213.m │ │ ├── 50802-available.m │ │ ├── 50803-indent_single_newline.m │ │ ├── 50810-bug_841.m │ │ ├── 50811-bug_1674.m │ │ ├── 50812-bug_1683.m │ │ ├── 50907-sp_after_oc_msg_receiver.m │ │ ├── 50908-blocks_align2.m │ │ ├── 50909-negative_value.m │ │ ├── 50910-nelem.m │ │ ├── 50911-for2.m │ │ ├── 50912-chunk_ends_type1.m │ │ ├── 50913-chunk_ends_type2.m │ │ ├── 50914-chunk_ends_type3.m │ │ ├── 50915-block_literal_protocol.m │ │ ├── 50916-oc_msg_in_pp.m │ │ ├── 50917-boxed_receiver.m │ │ ├── 50918-func_def.mm │ │ ├── 50919-cast.m │ │ ├── 50920-sp_after_angle.m │ │ ├── 50921-Fraction.h │ │ ├── 50922-c-cpp-oc-wrapper.c │ │ ├── 50923-extern-c-attribute.m │ │ ├── 50924-typeof.m │ │ ├── 50925-sp_inside_braces_oc_dict.m │ │ ├── 50926-chunk_ends_type4.m │ │ ├── 50927-method_ends_semicolon.m │ │ ├── 50928-macro-close-brace.m │ │ ├── 50929-pp_bool.m │ │ ├── 50930-react_native.m │ │ ├── 50931-objc.mm │ │ └── 50932-asm.h.mm │ ├── pawn │ │ ├── 60000-functions.pawn │ │ ├── 60001-comment.p │ │ ├── 60002-traffic.p │ │ ├── 60003-tags.pawn │ │ ├── 60004-enum.pawn │ │ ├── 60005-unbraced.p │ │ ├── 60010-str-escape.p │ │ ├── 60020-switch-vsemi.sma │ │ ├── 60030-crusty_ex-1.sma │ │ ├── 60040-preproc.pawn │ │ └── 60050-gh419.pawn │ ├── sql │ │ ├── 02400-mysql.sqc │ │ ├── 02401-sta-select.sqc │ │ ├── 02402-issue_527.sqc │ │ ├── 21000-mysql.sqc │ │ └── 21001-sta-select.sqc │ ├── staging │ │ ├── 10000-621_this-spacing.cpp │ │ ├── 10001-622_ifdef-indentation.cpp │ │ ├── 10002-623_caret-spacing.cpp │ │ ├── 10003-633_decl-in-func-typedef.cpp │ │ ├── 10004-634_extern-c-no-block.cpp │ │ ├── 10005-define-indentation.cpp │ │ ├── 10006-dont-detab-strings.cpp │ │ ├── 10007-dont-process-defines.cpp │ │ ├── 10008-PR326_invalid-backslash-eol-csharp.cpp │ │ ├── 10009-STUCK_macro-difficulties.cpp │ │ ├── 10010-_experiments.cpp │ │ ├── 10011-620_getset-brace.cs │ │ ├── 10012-621_this-spacing.cs │ │ ├── 10013-625_where-constraints.cs │ │ ├── 10014-630_bad-new-init-semicolon-removal.cs │ │ ├── 10015-misc-failures.cs │ │ ├── 10016-new-constraint-paren-space.cs │ │ ├── 10017-PR326_invalid-backslash-eol-csharp.cs │ │ ├── 10018-delete-space-oc.mm │ │ ├── 10019-func-param-wrap-oc.mm │ │ ├── 10020-macro_spaces.cpp │ │ ├── 10021-braces_align.cpp │ │ ├── 10022-foreach.cpp │ │ ├── 10023-for_auto.cpp │ │ ├── 10024-ifcomment.cpp │ │ ├── 10025-qtargs.cpp │ │ ├── 10026-ifoneliner.cpp │ │ ├── 10027-oneline_property.cs │ │ ├── 10028-ifcolalign.cs │ │ ├── 10029-when.cs │ │ ├── 10030-argtypes.mm │ │ ├── 10031-casting.mm │ │ ├── 10032-newlines.mm │ │ ├── 10033-objc.mm │ │ ├── 10034-asm.h.mm │ │ ├── 10035-definesalign.h.mm │ │ ├── 10036-inttypes.h.mm │ │ ├── 10038-614_multiple-passes.cs │ │ ├── 10039-615_nested-usings.cs │ │ ├── 10042-indent-bad.mm │ │ ├── 10043-nl-brace.cs │ │ ├── 10044-ifcomment.cs │ │ ├── 10045-UNI-1288.cs │ │ ├── 10046-UNI-1333.mm │ │ ├── 10047-UNI-1334.cpp │ │ ├── 10048-UNI-1335.cpp │ │ ├── 10049-UNI-1336.cpp │ │ ├── 10050-UNI-1337.cpp │ │ ├── 10051-UNI-1338.cs │ │ ├── 10052-UNI-1339.cpp │ │ ├── 10053-UNI-1340.cpp │ │ ├── 10054-UNI-1344.cpp │ │ ├── 10055-UNI-1345.cs │ │ ├── 10056-UNI-1346.cpp │ │ ├── 10057-UNI-1347.cpp │ │ ├── 10058-UNI-1348.cpp │ │ ├── 10059-UNI-1349.cpp │ │ ├── 10060-UNI-1350.cpp │ │ ├── 10061-UNI-1355.cs │ │ ├── 10062-UNI-1356.cpp │ │ ├── 10063-UNI-1358.cpp │ │ ├── 10064-UNI-1443.cs │ │ ├── 10065-UNI-1975.cs │ │ ├── 10066-UNI-1977.cs │ │ ├── 10067-UNI-1978.cs │ │ ├── 10068-UNI-1979.cs │ │ ├── 10069-UNI-1980.cpp │ │ ├── 10070-UNI-1981.cpp │ │ ├── 10071-UNI-1983.cpp │ │ ├── 10072-UNI-2007.cs │ │ ├── 10073-UNI-2008.cs │ │ ├── 10074-UNI-2020.cs │ │ ├── 10075-UNI-2021.cs │ │ ├── 10076-UNI-1343.cs │ │ ├── 10077-UNI-1919.cs │ │ ├── 10078-UNI-3484.cs │ │ ├── 10079-UNI-9650.cpp │ │ ├── 10080-UNI-10496.cpp │ │ ├── 10100-issue_564.cpp │ │ ├── 10102-pp-ignore.mm │ │ ├── 10103-UNI-2506.cs │ │ ├── 10104-UNI-2505.cs │ │ ├── 20001-UNI-32012.cpp │ │ ├── 20002-UNI-32657.cpp │ │ ├── 20003-UNI-32405.cs │ │ ├── 20004-UNI-32009.cpp │ │ ├── 20005-UNI-34114.cpp │ │ ├── 20006-UNI-32014.cs │ │ ├── 20010-UNI-32658.cs │ │ ├── 20011-UNI-38381.cpp │ │ ├── 30001-UNI-4603.cs │ │ ├── 60001-UNI-2650.cpp │ │ ├── 60002-UNI-16283.cpp │ │ ├── 60003-UNI-1288.cpp │ │ ├── 60004-UNI-2684.cs │ │ ├── 60005-UNI-2685.cs │ │ ├── 60006-UNI-2049.cpp │ │ ├── 60007-UNI-3083.cs │ │ ├── 60008-UNI-17253.cs │ │ ├── 60009-UNI-9917.cs │ │ ├── 60010-UNI-16283.cpp │ │ ├── 60011-UNI-11095.mm │ │ ├── 60012-UNI-12303.cs │ │ ├── 60013-UNI-13955.cs │ │ ├── 60014-UNI-14107.cpp │ │ ├── 60015-UNI-14131.cs │ │ ├── 60016-UNI-11662.cs │ │ ├── 60017-UNI-2683.cpp │ │ ├── 60018-UNI-18777.cs │ │ ├── 60019-UNI-18780.cs │ │ ├── 60020-UNI-18829.cs │ │ ├── 60021-UNI-12046.cpp │ │ ├── 60022-UNI-18439.cpp │ │ ├── 60023-UNI-18437.cs │ │ ├── 60024-UNI-19644.cs │ │ ├── 60025-UNI-19894.cpp │ │ ├── 60026-UNI-19895.cs │ │ ├── 60027-UNI-21506.cpp │ │ ├── 60028-UNI-21509.cpp │ │ ├── 60029-UNI-21510.cpp │ │ ├── 60030-UNI-11993.cs │ │ ├── 60030-UNI-21727.cpp │ │ ├── 60031-UNI-21728.cpp │ │ ├── 60032-UNI-21729.cpp │ │ ├── 60033-UNI-21730.cs │ │ ├── 60034-UNI-21731.cpp │ │ ├── 60035-UNI-22858.cs │ │ ├── 60036-UNI-2680.cpp │ │ ├── 60037-UNI-29933.cs │ │ ├── 60038-UNI-30088.cpp │ │ ├── 60039-UNI-30498.cpp │ │ ├── 60039-UNI-30628.cpp │ │ ├── 60040-UNI-30498_2.cs │ │ ├── 60041-squeeze-paren-close-Option.cs │ │ ├── 60042-UNI-18777.cpp │ │ ├── 60042-indent-multistring-coulmn1.cs │ │ ├── 60043-UNI-11993.cs │ │ ├── 60043-UNI-34087.cpp │ │ ├── 60044-UNI-37241.cs │ │ ├── 60045-indent-multistring-coulmn1.cs │ │ ├── 60046-UNI-24090.cs │ │ ├── 60047-UNI-24076.cs │ │ ├── 60050-UNI-40605.cs │ │ ├── 60051-UNI-11643.cpp │ │ ├── 60052-UNI-40685.cs │ │ ├── 60053-UNI-36862.cs │ │ ├── 60054-UNI-25811.cpp │ │ ├── 60055-UNI-29935.cpp │ │ ├── 60056-UNI-29935.cpp │ │ ├── 60057-UNI-crash.cpp │ │ ├── 60058-UNI-10566.cpp │ │ ├── 60061-UNI-46333.cpp │ │ ├── 60062-UNI-2048.cpp │ │ ├── 60063-UNI-47842.cpp │ │ └── 60064-UNI-47842.cs │ └── vala │ │ ├── 70000-list.vala │ │ ├── 70001-advanced.vala │ │ ├── 70010-verbatim_str.vala │ │ ├── 70011-verbatim_str2.vala │ │ ├── 70012-verbatim_str2.vala │ │ ├── 70020-preproc.vala │ │ └── 70287-gh287.vala ├── pawn.test ├── regression.test ├── rejected.test ├── run_test.cmake ├── run_tests.py ├── staging.test ├── tests.vpj └── vala.test ├── uncrustify.sublime-project ├── uncrustify.vpj ├── uncrustify.vpw ├── win32 └── uncrustify.natvis └── working.txt /.editorconfig: -------------------------------------------------------------------------------- 1 | [src/*] 2 | indent_style = space 3 | indent_size = 3 4 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @mihaipopescu @CDanU @gmaurel 2 | src/* @mihaipopescu @CDanU @gmaurel 3 | -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- 1 | No news is good news! 2 | 3 | -------------------------------------------------------------------------------- /documentation/htdocs/examples/c-1.in.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/documentation/htdocs/examples/c-1.in.c -------------------------------------------------------------------------------- /documentation/htdocs/examples/c-1.out.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/documentation/htdocs/examples/c-1.out.c -------------------------------------------------------------------------------- /documentation/htdocs/project-support.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/documentation/htdocs/project-support.jpg -------------------------------------------------------------------------------- /documentation/overview.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/documentation/overview.odt -------------------------------------------------------------------------------- /emscripten/postfix_file: -------------------------------------------------------------------------------- 1 | if (typeof module !== 'undefined') module.exports = libUncrustify; 2 | if (typeof define === 'function') define(libUncrustify); 3 | -------------------------------------------------------------------------------- /lnt/chunk_list.lnt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/lnt/chunk_list.lnt -------------------------------------------------------------------------------- /lnt/logger.lnt: -------------------------------------------------------------------------------- 1 | -esym(530, args) -------------------------------------------------------------------------------- /lnt/unc_text.lnt: -------------------------------------------------------------------------------- 1 | -esym(550, di) 2 | -esym(746, end) -------------------------------------------------------------------------------- /lnt/uncrustify_types.lnt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/lnt/uncrustify_types.lnt -------------------------------------------------------------------------------- /run_tests.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | python tests\run_tests.py %* 3 | exit /b %ERRORLEVEL% 4 | 5 | -------------------------------------------------------------------------------- /run_tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | python tests/run_tests.py $@ 4 | 5 | exit $? 6 | -------------------------------------------------------------------------------- /tests/cli/config/I-842.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/cli/config/I-842.cfg -------------------------------------------------------------------------------- /tests/cli/config/unmatched_close_pp.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/cli/config/unmatched_close_pp.cfg -------------------------------------------------------------------------------- /tests/cli/input/I-842.cpp: -------------------------------------------------------------------------------- 1 | namespace Namespace 2 | { 3 | // class Class { 4 | public void foo() 5 | { 6 | 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tests/cli/output/9.txt: -------------------------------------------------------------------------------- 1 | Using LF line endings 2 | -------------------------------------------------------------------------------- /tests/cli/output/I-842.txt: -------------------------------------------------------------------------------- 1 | Unmatched BRACE_CLOSE 2 | at orig_line=9, orig_col=1 3 | Try the option 'tok_split_gte = true' 4 | -------------------------------------------------------------------------------- /tests/cli/output/mini_d_error.txt: -------------------------------------------------------------------------------- 1 | config/mini_d.cfg:2 Unknown symbol 'not_existing_option' 2 | -------------------------------------------------------------------------------- /tests/cli/output/unmatched_close_pp.txt: -------------------------------------------------------------------------------- 1 | Unmatched BRACE_CLOSE 2 | at orig_line=11, orig_col=1 3 | Try the option 'tok_split_gte = true' 4 | -------------------------------------------------------------------------------- /tests/config/615_nested_usings.cfg: -------------------------------------------------------------------------------- 1 | indent_using_block = false 2 | -------------------------------------------------------------------------------- /tests/config/623_caret-spacing.cfg: -------------------------------------------------------------------------------- 1 | sp_arith = add 2 | -------------------------------------------------------------------------------- /tests/config/633_decl-in-func-typedef.cfg: -------------------------------------------------------------------------------- 1 | sp_arith = add 2 | -------------------------------------------------------------------------------- /tests/config/NewLine-f.cfg: -------------------------------------------------------------------------------- 1 | nl_start_of_file = force 2 | nl_start_of_file_min = 1 -------------------------------------------------------------------------------- /tests/config/NewLine-r.cfg: -------------------------------------------------------------------------------- 1 | nl_start_of_file = remove 2 | nl_end_of_file = remove -------------------------------------------------------------------------------- /tests/config/U01-Cpp.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | indent_with_tabs = 0 3 | pp_ignore_define_body = true 4 | -------------------------------------------------------------------------------- /tests/config/U02-Cpp.cfg: -------------------------------------------------------------------------------- 1 | nl_end_of_file = force 2 | nl_end_of_file_min = 1 3 | -------------------------------------------------------------------------------- /tests/config/U04-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | -------------------------------------------------------------------------------- /tests/config/U08-Cpp.cfg: -------------------------------------------------------------------------------- 1 | sp_func_proto_paren = remove 2 | -------------------------------------------------------------------------------- /tests/config/U09-Cpp.cfg: -------------------------------------------------------------------------------- 1 | nl_end_of_file = force 2 | nl_end_of_file_min = 1 3 | -------------------------------------------------------------------------------- /tests/config/U09-Cs.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | indent_cs_delegate_brace = true 4 | -------------------------------------------------------------------------------- /tests/config/U10-Cpp.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "U10-Cpp.cfg" 2 | -------------------------------------------------------------------------------- /tests/config/U10-Cs.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_fparen = remove 2 | indent_columns = 4 3 | -------------------------------------------------------------------------------- /tests/config/U11-Cpp.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "U11-Cpp.cfg" 2 | -------------------------------------------------------------------------------- /tests/config/U13-Cpp.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | indent_with_tabs = 0 3 | pp_ignore_define_body = true 4 | -------------------------------------------------------------------------------- /tests/config/U13-Cs.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | -------------------------------------------------------------------------------- /tests/config/U14-Cpp.cfg: -------------------------------------------------------------------------------- 1 | sp_func_proto_paren = remove 2 | -------------------------------------------------------------------------------- /tests/config/U15-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | -------------------------------------------------------------------------------- /tests/config/U15-Cs.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_class = true 3 | nl_class_leave_one_liners = true 4 | -------------------------------------------------------------------------------- /tests/config/U16-Cpp.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | pp_ignore_define_body = true 3 | -------------------------------------------------------------------------------- /tests/config/U18-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | -------------------------------------------------------------------------------- /tests/config/U21-Cpp.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | sp_after_type = ignore 3 | indent_columns = 4 4 | -------------------------------------------------------------------------------- /tests/config/U23-Cpp.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_paren = remove 2 | sp_inside_angle = remove 3 | -------------------------------------------------------------------------------- /tests/config/U24-Cpp.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | indent_columns = 4 3 | pp_ignore_define_body = true 4 | -------------------------------------------------------------------------------- /tests/config/U25-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | -------------------------------------------------------------------------------- /tests/config/U27-Cpp.cfg: -------------------------------------------------------------------------------- 1 | nl_end_of_file = force 2 | nl_end_of_file_min = 1 3 | -------------------------------------------------------------------------------- /tests/config/U29-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | nl_end_of_file = force 3 | nl_end_of_file_min = 1 4 | -------------------------------------------------------------------------------- /tests/config/U30-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | -------------------------------------------------------------------------------- /tests/config/U31-Cpp.cfg: -------------------------------------------------------------------------------- 1 | sp_after_type = ignore 2 | -------------------------------------------------------------------------------- /tests/config/U33-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | -------------------------------------------------------------------------------- /tests/config/U36-Cpp.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_class = true 3 | 4 | -------------------------------------------------------------------------------- /tests/config/UNI-10496.cfg: -------------------------------------------------------------------------------- 1 | sp_after_dc = remove 2 | sp_before_dc = remove 3 | -------------------------------------------------------------------------------- /tests/config/UNI-12046.cfg: -------------------------------------------------------------------------------- 1 | sp_after_type = ignore 2 | nl_end_of_file = force 3 | nl_end_of_file_min = 1 4 | -------------------------------------------------------------------------------- /tests/config/UNI-1340.cfg: -------------------------------------------------------------------------------- 1 | nl_namespace_two_to_one_liner = true 2 | -------------------------------------------------------------------------------- /tests/config/UNI-1344.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | indent_columns = 4 3 | indent_ignore_asm_block = true 4 | -------------------------------------------------------------------------------- /tests/config/UNI-1347.cfg: -------------------------------------------------------------------------------- 1 | indent_extern = true 2 | set PROTO_WRAP FAKE_FUNCTION 3 | -------------------------------------------------------------------------------- /tests/config/UNI-1350.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_braces_struct = add 2 | -------------------------------------------------------------------------------- /tests/config/UNI-1356.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 2 2 | indent_continue = 4 3 | use_indent_continue_only_once = true 4 | -------------------------------------------------------------------------------- /tests/config/UNI-1358.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | -------------------------------------------------------------------------------- /tests/config/UNI-18777.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_align_assign = false 3 | indent_member_single = true 4 | -------------------------------------------------------------------------------- /tests/config/UNI-18829.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | nl_end_of_file = force 3 | nl_end_of_file_min = 1 4 | -------------------------------------------------------------------------------- /tests/config/UNI-1975.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | indent_class = true 4 | -------------------------------------------------------------------------------- /tests/config/UNI-2020.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | -------------------------------------------------------------------------------- /tests/config/UNI-21730.cfg: -------------------------------------------------------------------------------- 1 | sp_before_comma = ignore 2 | indent_columns = 4 3 | -------------------------------------------------------------------------------- /tests/config/UNI-2680.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | indent_func_call_param = true 4 | -------------------------------------------------------------------------------- /tests/config/UNI-30088.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_align_assign = false 3 | -------------------------------------------------------------------------------- /tests/config/UNI-3083.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | indent_class = true 4 | -------------------------------------------------------------------------------- /tests/config/Uncrustify.Cpp.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | indent_with_tabs = 0 3 | pp_ignore_define_body = true -------------------------------------------------------------------------------- /tests/config/add_long_closebrace_comment_1.cfg: -------------------------------------------------------------------------------- 1 | mod_add_long_function_closebrace_comment = 8 2 | mod_add_long_switch_closebrace_comment = 8 -------------------------------------------------------------------------------- /tests/config/aet-func_def.cfg: -------------------------------------------------------------------------------- 1 | include "aet.cfg" 2 | 3 | set FUNC_DEF MACRO1 4 | set FUNC_DEF MACRO2 5 | -------------------------------------------------------------------------------- /tests/config/aet-sp_after_oc_msg_receiver.cfg: -------------------------------------------------------------------------------- 1 | include "aet.cfg" 2 | 3 | sp_after_oc_msg_receiver=remove 4 | -------------------------------------------------------------------------------- /tests/config/aet-sp_inside_braces_oc_dict.cfg: -------------------------------------------------------------------------------- 1 | include "aet.cfg" 2 | 3 | sp_inside_braces_oc_dict=force 4 | -------------------------------------------------------------------------------- /tests/config/align_assign_span-1.cfg: -------------------------------------------------------------------------------- 1 | align_assign_span = 1 -------------------------------------------------------------------------------- /tests/config/align_attr.cfg: -------------------------------------------------------------------------------- 1 | align_var_def_span = 2 2 | align_var_def_attribute = true 3 | set ATTRIBUTE _PREPROCESSOR_SOMETHING -------------------------------------------------------------------------------- /tests/config/align_fcall-2.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | align_number_right = true 3 | align_same_func_call_params = true -------------------------------------------------------------------------------- /tests/config/align_fcall.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | align_same_func_call_params = true -------------------------------------------------------------------------------- /tests/config/align_func_params-t.cfg: -------------------------------------------------------------------------------- 1 | align_func_params = true -------------------------------------------------------------------------------- /tests/config/align_func_params_gap.cfg: -------------------------------------------------------------------------------- 1 | align_func_params_span = 1 2 | align_func_params_gap = 3 -------------------------------------------------------------------------------- /tests/config/align_func_params_span-1.cfg: -------------------------------------------------------------------------------- 1 | align_func_params_span = 1 -------------------------------------------------------------------------------- /tests/config/align_func_params_thresh_1.cfg: -------------------------------------------------------------------------------- 1 | align_func_params_span = 1 2 | align_func_params_thresh = 4 -------------------------------------------------------------------------------- /tests/config/align_func_params_thresh_2.cfg: -------------------------------------------------------------------------------- 1 | align_func_params_span = 1 2 | align_func_params_thresh = 8 -------------------------------------------------------------------------------- /tests/config/align_func_params_thresh_3.cfg: -------------------------------------------------------------------------------- 1 | align_func_params_span = 2 2 | align_func_params_thresh = 4 -------------------------------------------------------------------------------- /tests/config/align_func_params_thresh_4.cfg: -------------------------------------------------------------------------------- 1 | align_func_params_span = 2 2 | align_func_params_thresh = 8 -------------------------------------------------------------------------------- /tests/config/align_oc_msg_colon_span-1.cfg: -------------------------------------------------------------------------------- 1 | align_oc_msg_colon_span = 1 -------------------------------------------------------------------------------- /tests/config/align_right_cmt_gap-1.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_with_tabs = 0 3 | align_right_cmt_span = 8 -------------------------------------------------------------------------------- /tests/config/align_right_comment.cfg: -------------------------------------------------------------------------------- 1 | align_right_cmt_span = 3 2 | -------------------------------------------------------------------------------- /tests/config/align_same_func_call_params-t.cfg: -------------------------------------------------------------------------------- 1 | align_same_func_call_params = true 2 | -------------------------------------------------------------------------------- /tests/config/align_typedef_func-1.cfg: -------------------------------------------------------------------------------- 1 | align_typedef_gap = 3 2 | align_typedef_span = 5 3 | align_typedef_func = 1 -------------------------------------------------------------------------------- /tests/config/align_typedef_gap-3_span-5.cfg: -------------------------------------------------------------------------------- 1 | align_typedef_gap = 3 2 | align_typedef_span = 5 -------------------------------------------------------------------------------- /tests/config/align_var_class_span-1.cfg: -------------------------------------------------------------------------------- 1 | align_var_class_span = 1 -------------------------------------------------------------------------------- /tests/config/align_var_def_thresh_1.cfg: -------------------------------------------------------------------------------- 1 | align_var_def_span = 1 2 | align_var_def_thresh = 4 -------------------------------------------------------------------------------- /tests/config/annotation.cfg: -------------------------------------------------------------------------------- 1 | nl_after_annotation = force 2 | nl_between_annotation = force -------------------------------------------------------------------------------- /tests/config/ben_001.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_010.cfg: -------------------------------------------------------------------------------- 1 | sp_before_byref = remove 2 | align_func_params = true -------------------------------------------------------------------------------- /tests/config/ben_011.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | mod_paren_on_return = add -------------------------------------------------------------------------------- /tests/config/ben_016.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ptr_star = force 2 | sp_after_ptr_star = remove 3 | sp_inside_fparen = remove -------------------------------------------------------------------------------- /tests/config/ben_020.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | nl_enum_brace = add -------------------------------------------------------------------------------- /tests/config/ben_024.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ptr_star = force 2 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_028.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ellipsis = remove 2 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_031.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_class = true 3 | indent_label = 2 4 | indent_access_spec = 2 -------------------------------------------------------------------------------- /tests/config/ben_038.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_paren = remove 2 | indent_columns = 3 3 | mod_paren_on_return = add -------------------------------------------------------------------------------- /tests/config/ben_042.cfg: -------------------------------------------------------------------------------- 1 | align_pp_define_gap = 4 2 | align_pp_define_span = 3 -------------------------------------------------------------------------------- /tests/config/ben_043.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_class = true -------------------------------------------------------------------------------- /tests/config/ben_047.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | align_right_cmt_span = 3 -------------------------------------------------------------------------------- /tests/config/ben_050.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_with_tabs = 0 3 | nl_if_brace = add 4 | mod_full_brace_if = add -------------------------------------------------------------------------------- /tests/config/ben_056.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | align_nl_cont = true 3 | pp_space = remove -------------------------------------------------------------------------------- /tests/config/ben_064.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | indent_columns = 3 3 | align_var_def_span = 2 -------------------------------------------------------------------------------- /tests/config/ben_070.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | align_assign_span = 1 3 | mod_paren_on_return = add -------------------------------------------------------------------------------- /tests/config/ben_071.cfg: -------------------------------------------------------------------------------- 1 | align_var_def_span = 2 2 | align_var_def_star_style = 1 -------------------------------------------------------------------------------- /tests/config/ben_072.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | eat_blanks_before_close_brace = true 3 | align_nl_cont = true -------------------------------------------------------------------------------- /tests/config/ben_074.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ptr_star = force 2 | sp_after_ptr_star = remove 3 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_075.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_fparen = remove 2 | align_func_params = true 3 | align_var_def_star_style = 1 -------------------------------------------------------------------------------- /tests/config/ben_076.cfg: -------------------------------------------------------------------------------- 1 | sp_after_ptr_star = remove 2 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_078.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | indent_columns = 3 3 | nl_after_brace_open = true -------------------------------------------------------------------------------- /tests/config/ben_081.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ellipsis = remove 2 | indent_columns = 3 3 | align_nl_cont = true -------------------------------------------------------------------------------- /tests/config/ben_083.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | nl_func_var_def_blk = 1 -------------------------------------------------------------------------------- /tests/config/ben_085.cfg: -------------------------------------------------------------------------------- 1 | sp_paren_paren = remove 2 | sp_inside_fparen = remove 3 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_088.cfg: -------------------------------------------------------------------------------- 1 | sp_before_sparen = force 2 | indent_columns = 3 3 | nl_func_var_def_blk = 1 -------------------------------------------------------------------------------- /tests/config/ben_089.cfg: -------------------------------------------------------------------------------- 1 | sp_compare = force 2 | sp_before_semi_for_empty = force 3 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/ben_090.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | align_nl_cont = true -------------------------------------------------------------------------------- /tests/config/ben_093.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | align_asm_colon = true -------------------------------------------------------------------------------- /tests/config/ben_095.cfg: -------------------------------------------------------------------------------- 1 | sp_before_sparen = force 2 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/brace-banner.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "brace-banner.cfg" 2 | 3 | input_tab_size = output_tab_size 4 | -------------------------------------------------------------------------------- /tests/config/bug_1020.cfg: -------------------------------------------------------------------------------- 1 | code_width = 190 2 | ls_func_split_full = true -------------------------------------------------------------------------------- /tests/config/bug_1108.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_with_tabs = 0 3 | indent_braces = true -------------------------------------------------------------------------------- /tests/config/bug_1161.cfg: -------------------------------------------------------------------------------- 1 | indent_class = true 2 | indent_access_spec_body = true 3 | -------------------------------------------------------------------------------- /tests/config/bug_1236.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_ignore_asm_block = true -------------------------------------------------------------------------------- /tests/config/bug_1296.cfg: -------------------------------------------------------------------------------- 1 | indent_with_tabs = 0 2 | indent_cpp_lambda_only_once = true 3 | -------------------------------------------------------------------------------- /tests/config/bug_1324.cfg: -------------------------------------------------------------------------------- 1 | sp_after_semi_for = remove 2 | sp_after_semi_for_empty = force 3 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/bug_1349.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | code_width = 115 3 | align_struct_init_span = 5 -------------------------------------------------------------------------------- /tests/config/bug_1395.cfg: -------------------------------------------------------------------------------- 1 | align_same_func_call_params = true 2 | nl_cpp_lambda_leave_one_liners = true 3 | -------------------------------------------------------------------------------- /tests/config/bug_1402.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/config/bug_1402.cfg -------------------------------------------------------------------------------- /tests/config/bug_1403.cfg: -------------------------------------------------------------------------------- 1 | sp_arith = force 2 | -------------------------------------------------------------------------------- /tests/config/bug_1432.cfg: -------------------------------------------------------------------------------- 1 | nl_after_func_proto = 0 2 | nl_after_func_proto_group = 2 3 | -------------------------------------------------------------------------------- /tests/config/bug_1439.cfg: -------------------------------------------------------------------------------- 1 | nl_after_struct = 2 2 | -------------------------------------------------------------------------------- /tests/config/bug_1452.cfg: -------------------------------------------------------------------------------- 1 | nl_class_leave_one_liners = true 2 | nl_func_type_name = force 3 | align_var_struct_span = 99 4 | -------------------------------------------------------------------------------- /tests/config/bug_1649.cfg: -------------------------------------------------------------------------------- 1 | sp_after_noexcept = remove 2 | -------------------------------------------------------------------------------- /tests/config/bug_1689.cfg: -------------------------------------------------------------------------------- 1 | sp_before_unnamed_byref = remove 2 | -------------------------------------------------------------------------------- /tests/config/bug_1691.cfg: -------------------------------------------------------------------------------- 1 | align_var_def_span = 1 2 | align_var_def_thresh = 30 3 | -------------------------------------------------------------------------------- /tests/config/bug_1717.cfg: -------------------------------------------------------------------------------- 1 | align_assign_span = 1 2 | -------------------------------------------------------------------------------- /tests/config/bug_1718.cfg: -------------------------------------------------------------------------------- 1 | indent_switch_pp = false 2 | -------------------------------------------------------------------------------- /tests/config/bug_472.cfg: -------------------------------------------------------------------------------- 1 | nl_func_proto_type_name = remove 2 | type dbgTrace -------------------------------------------------------------------------------- /tests/config/bug_488.cfg: -------------------------------------------------------------------------------- 1 | indent_continue = -4 2 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/bug_489.cfg: -------------------------------------------------------------------------------- 1 | newlines = crlf 2 | nl_end_of_file = force 3 | nl_end_of_file_min = 1 -------------------------------------------------------------------------------- /tests/config/bug_633.cfg: -------------------------------------------------------------------------------- 1 | # bug 633 2 | indent_columns = 4 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/bug_643.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_class = true -------------------------------------------------------------------------------- /tests/config/bug_664.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_square = add 2 | indent_columns = 4 3 | nl_max = 2 -------------------------------------------------------------------------------- /tests/config/bug_841.cfg: -------------------------------------------------------------------------------- 1 | align_oc_msg_colon_span = 1 2 | # 3 | indent_oc_msg_prioritize_first_colon = false 4 | -------------------------------------------------------------------------------- /tests/config/bug_i_125-412.cfg: -------------------------------------------------------------------------------- 1 | nl_oc_msg_args = true 2 | align_oc_msg_colon_span = 4 -------------------------------------------------------------------------------- /tests/config/bug_i_322.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 4 2 | indent_columns = 4 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/bug_i_359.cfg: -------------------------------------------------------------------------------- 1 | sp_case_label = force 2 | indent_columns = 4 3 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/bug_i_409-create.cfg: -------------------------------------------------------------------------------- 1 | nl_create_if_one_liner = true 2 | nl_create_for_one_liner = true 3 | nl_create_while_one_liner = true -------------------------------------------------------------------------------- /tests/config/bug_i_478.cfg: -------------------------------------------------------------------------------- 1 | indent_continue = 5 2 | indent_with_tabs = 0 3 | use_indent_continue_only_once = true -------------------------------------------------------------------------------- /tests/config/bug_i_666.cfg: -------------------------------------------------------------------------------- 1 | indent_else_if = true 2 | nl_after_brace_close = true 3 | -------------------------------------------------------------------------------- /tests/config/bug_i_771.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | align_var_def_star_style = 1 3 | align_var_struct_span = 1 -------------------------------------------------------------------------------- /tests/config/byref-2.cfg: -------------------------------------------------------------------------------- 1 | sp_before_byref = force 2 | sp_after_byref = force 3 | sp_addr = force -------------------------------------------------------------------------------- /tests/config/case-1.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 3 2 | indent_columns = 3 3 | nl_before_case = true -------------------------------------------------------------------------------- /tests/config/cast.cfg: -------------------------------------------------------------------------------- 1 | sp_after_cast = force 2 | sp_inside_paren_cast = force 3 | sp_cpp_cast_paren = remove -------------------------------------------------------------------------------- /tests/config/clang-has_include.cfg: -------------------------------------------------------------------------------- 1 | sp_bool = force 2 | sp_func_call_paren = remove 3 | pp_space = remove 4 | -------------------------------------------------------------------------------- /tests/config/clark.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "clark.cfg" 2 | -------------------------------------------------------------------------------- /tests/config/class-header.h: -------------------------------------------------------------------------------- 1 | /** 2 | * CLASS: $(class) 3 | * TODO: DESCRIPTION 4 | */ 5 | -------------------------------------------------------------------------------- /tests/config/cmt_convert_tab_to_spaces-t.cfg: -------------------------------------------------------------------------------- 1 | cmt_convert_tab_to_spaces = true -------------------------------------------------------------------------------- /tests/config/cmt_cpp_to_c-t.cfg: -------------------------------------------------------------------------------- 1 | cmt_cpp_to_c = true -------------------------------------------------------------------------------- /tests/config/cmt_indent_multi-f.cfg: -------------------------------------------------------------------------------- 1 | cmt_indent_multi = false -------------------------------------------------------------------------------- /tests/config/cmt_multi_check_last-f.cfg: -------------------------------------------------------------------------------- 1 | cmt_multi_check_last = false -------------------------------------------------------------------------------- /tests/config/cmt_multi_first_len_minimum-1.cfg: -------------------------------------------------------------------------------- 1 | cmt_multi_first_len_minimum = 1 -------------------------------------------------------------------------------- /tests/config/cmt_nl_end.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | nl_before_if = force -------------------------------------------------------------------------------- /tests/config/code_width-70.cfg: -------------------------------------------------------------------------------- 1 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/code_width-80.cfg: -------------------------------------------------------------------------------- 1 | code_width = 80 -------------------------------------------------------------------------------- /tests/config/cond-1.cfg: -------------------------------------------------------------------------------- 1 | sp_cond_colon = force 2 | sp_cond_question = force 3 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/cpp17.cfg: -------------------------------------------------------------------------------- 1 | sp_cpp_before_struct_binding = force 2 | -------------------------------------------------------------------------------- /tests/config/del_semicolon.cfg: -------------------------------------------------------------------------------- 1 | sp_after_semi_for = remove 2 | mod_remove_extra_semicolon = true -------------------------------------------------------------------------------- /tests/config/dont-detab-strings.cfg: -------------------------------------------------------------------------------- 1 | string_replace_tab_chars = true 2 | -------------------------------------------------------------------------------- /tests/config/dont-process-defines.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | set = WORD define 3 | -------------------------------------------------------------------------------- /tests/config/else-if-1.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 2 2 | nl_else_if = remove -------------------------------------------------------------------------------- /tests/config/else-if-2.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 2 2 | indent_else_if = true -------------------------------------------------------------------------------- /tests/config/empty.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/config/empty.cfg -------------------------------------------------------------------------------- /tests/config/enum_comma-3.cfg: -------------------------------------------------------------------------------- 1 | pos_comma = lead_break 2 | pos_enum_comma = trail_break -------------------------------------------------------------------------------- /tests/config/enum_comma-4.cfg: -------------------------------------------------------------------------------- 1 | pos_comma = trail_force 2 | pos_enum_comma = lead -------------------------------------------------------------------------------- /tests/config/enum_comma-6.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | pos_comma = trail_break 3 | pos_enum_comma = lead_break -------------------------------------------------------------------------------- /tests/config/file-header.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file $(filename) 3 | * Description 4 | * 5 | * $Id$ 6 | */ 7 | -------------------------------------------------------------------------------- /tests/config/file_footer.txt: -------------------------------------------------------------------------------- 1 | /** 2 | * CVS History: 3 | * $Log $ 4 | * 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /tests/config/force_tab_after_define-t.cfg: -------------------------------------------------------------------------------- 1 | force_tab_after_define = true -------------------------------------------------------------------------------- /tests/config/func-header.h: -------------------------------------------------------------------------------- 1 | /** 2 | * $(function) 3 | * TODO: DESCRIPTION 4 | * $(javaparam) 5 | */ 6 | -------------------------------------------------------------------------------- /tests/config/func-header2.h: -------------------------------------------------------------------------------- 1 | /** 2 | * CLASS: $(fclass) 3 | * METHOD: $(function) 4 | * TODO: DESCRIPTION 5 | * $(javaparam) 6 | */ 7 | -------------------------------------------------------------------------------- /tests/config/getset.cfg: -------------------------------------------------------------------------------- 1 | indent_with_tabs = 0 2 | nl_getset_brace = force -------------------------------------------------------------------------------- /tests/config/gh137.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | indent_oc_block = true -------------------------------------------------------------------------------- /tests/config/gh293.a.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 4 2 | indent_columns = 4 3 | indent_braces = true -------------------------------------------------------------------------------- /tests/config/gh293.b.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 4 2 | indent_columns = 4 -------------------------------------------------------------------------------- /tests/config/i1516.cfg: -------------------------------------------------------------------------------- 1 | nl_func_var_def_blk = 2 2 | nl_var_def_blk_start = 2 3 | nl_var_def_blk_end = 2 4 | nl_var_def_blk_in = 1 -------------------------------------------------------------------------------- /tests/config/i1536.cfg: -------------------------------------------------------------------------------- 1 | cmt_insert_func_header=i1536.txt -------------------------------------------------------------------------------- /tests/config/i1536.txt: -------------------------------------------------------------------------------- 1 | // $(function) 2 | -------------------------------------------------------------------------------- /tests/config/i1564.cfg: -------------------------------------------------------------------------------- 1 | pos_comma = lead 2 | pos_enum_comma = trail -------------------------------------------------------------------------------- /tests/config/i1768.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_paren = remove 2 | nl_func_decl_start = force -------------------------------------------------------------------------------- /tests/config/if_chain_braces_2.cfg: -------------------------------------------------------------------------------- 1 | mod_full_brace_if_chain = true 2 | mod_full_brace_if_chain_only = true -------------------------------------------------------------------------------- /tests/config/indent-1.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 4 2 | indent_columns = 4 3 | indent_switch_case = 4 -------------------------------------------------------------------------------- /tests/config/indent_class-t.cfg: -------------------------------------------------------------------------------- 1 | indent_class = true -------------------------------------------------------------------------------- /tests/config/indent_class-t_columns-4.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_class = true -------------------------------------------------------------------------------- /tests/config/indent_columns-11.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 11 -------------------------------------------------------------------------------- /tests/config/indent_columns-2.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 2 -------------------------------------------------------------------------------- /tests/config/indent_columns-3.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 -------------------------------------------------------------------------------- /tests/config/indent_columns-4.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 -------------------------------------------------------------------------------- /tests/config/indent_continue-8.cfg: -------------------------------------------------------------------------------- 1 | indent_continue = 8 -------------------------------------------------------------------------------- /tests/config/indent_cs_delegate_brace-t.cfg: -------------------------------------------------------------------------------- 1 | indent_cs_delegate_brace = true -------------------------------------------------------------------------------- /tests/config/indent_else_if-t.cfg: -------------------------------------------------------------------------------- 1 | indent_else_if = true -------------------------------------------------------------------------------- /tests/config/indent_first_for_expr-t.cfg: -------------------------------------------------------------------------------- 1 | indent_semicolon_for_paren = true # 2 | indent_first_for_expr = true -------------------------------------------------------------------------------- /tests/config/indent_func_proto_param.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 3 2 | indent_columns = 3 3 | indent_func_proto_param = true -------------------------------------------------------------------------------- /tests/config/indent_namespace-t.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | indent_namespace_single_indent = true 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/indent_namespace_single_indent.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | indent_namespace_single_indent = true 3 | indent_extern = true -------------------------------------------------------------------------------- /tests/config/indent_once.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 2 2 | indent_continue = 5 3 | use_indent_continue_only_once = true -------------------------------------------------------------------------------- /tests/config/indent_param.cfg: -------------------------------------------------------------------------------- 1 | indent_param = 3 2 | indent_func_proto_param = true -------------------------------------------------------------------------------- /tests/config/indent_paren_after_func_call-t.cfg: -------------------------------------------------------------------------------- 1 | indent_paren_after_func_call = true -------------------------------------------------------------------------------- /tests/config/indent_paren_after_func_decl-t.cfg: -------------------------------------------------------------------------------- 1 | indent_paren_after_func_decl = true -------------------------------------------------------------------------------- /tests/config/indent_paren_after_func_def-t.cfg: -------------------------------------------------------------------------------- 1 | indent_paren_after_func_def = true -------------------------------------------------------------------------------- /tests/config/indent_paren_close-2.cfg: -------------------------------------------------------------------------------- 1 | indent_paren_close = 2 -------------------------------------------------------------------------------- /tests/config/indent_semicolon_for_paren-t.cfg: -------------------------------------------------------------------------------- 1 | indent_semicolon_for_paren = true 2 | -------------------------------------------------------------------------------- /tests/config/indent_ternary_operator-1.cfg: -------------------------------------------------------------------------------- 1 | indent_ternary_operator = 1 -------------------------------------------------------------------------------- /tests/config/indent_ternary_operator-2.cfg: -------------------------------------------------------------------------------- 1 | indent_ternary_operator = 2 -------------------------------------------------------------------------------- /tests/config/indent_using_block-f.cfg: -------------------------------------------------------------------------------- 1 | indent_using_block = false -------------------------------------------------------------------------------- /tests/config/indent_var_def_cont-t.cfg: -------------------------------------------------------------------------------- 1 | indent_var_def_cont = true -------------------------------------------------------------------------------- /tests/config/indent_with_tabs-0.cfg: -------------------------------------------------------------------------------- 1 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/initlist_leading_commas.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | nl_constr_init_args = force 3 | pos_constr_comma = trail -------------------------------------------------------------------------------- /tests/config/issue_564.cfg: -------------------------------------------------------------------------------- 1 | align_same_func_call_params = true 2 | -------------------------------------------------------------------------------- /tests/config/java_synchronized_2.cfg: -------------------------------------------------------------------------------- 1 | indent_class = true 2 | nl_synchronized_brace = force -------------------------------------------------------------------------------- /tests/config/jdbi-f.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | nl_paren_dbrace_open = force -------------------------------------------------------------------------------- /tests/config/jdbi-r.cfg: -------------------------------------------------------------------------------- 1 | sp_fparen_dbrace = force 2 | indent_columns = 3 3 | nl_paren_dbrace_open = remove -------------------------------------------------------------------------------- /tests/config/kdepim5.cfg: -------------------------------------------------------------------------------- 1 | sp_before_sparen = force 2 | indent_columns = 4 3 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/long_br_cmt.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "long_br_cmt.cfg" 2 | -------------------------------------------------------------------------------- /tests/config/long_namespace.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | indent_namespace_limit = 6 -------------------------------------------------------------------------------- /tests/config/mda_space_c.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = add 2 | sp_between_mdatype_commas = force -------------------------------------------------------------------------------- /tests/config/mod_add_long_class_closebrace_comment-1.cfg: -------------------------------------------------------------------------------- 1 | mod_add_long_class_closebrace_comment = 1 -------------------------------------------------------------------------------- /tests/config/mod_add_long_namespace_closebrace_comment-1.cfg: -------------------------------------------------------------------------------- 1 | mod_add_long_namespace_closebrace_comment = 1 -------------------------------------------------------------------------------- /tests/config/mod_full_brace_function-f.cfg: -------------------------------------------------------------------------------- 1 | mod_full_brace_function = force 2 | -------------------------------------------------------------------------------- /tests/config/mod_full_brace_if_chain-t.cfg: -------------------------------------------------------------------------------- 1 | mod_full_brace_if_chain = true -------------------------------------------------------------------------------- /tests/config/mod_full_brace_if_chain_only-t.cfg: -------------------------------------------------------------------------------- 1 | mod_full_brace_if_chain_only = true -------------------------------------------------------------------------------- /tests/config/mod_full_brace_nl_block_rem_mlcond-1.cfg: -------------------------------------------------------------------------------- 1 | mod_full_brace_if_chain = true 2 | mod_full_brace_nl_block_rem_mlcond = true -------------------------------------------------------------------------------- /tests/config/mod_remove_empty_return-t.cfg: -------------------------------------------------------------------------------- 1 | mod_remove_empty_return = true -------------------------------------------------------------------------------- /tests/config/mod_remove_extra_semicolon-t.cfg: -------------------------------------------------------------------------------- 1 | mod_remove_extra_semicolon = true -------------------------------------------------------------------------------- /tests/config/mod_sort_using-t.cfg: -------------------------------------------------------------------------------- 1 | mod_sort_using = true -------------------------------------------------------------------------------- /tests/config/msg-header.h: -------------------------------------------------------------------------------- 1 | /** 2 | * $(scope)[$(class)$(category) $(message)] 3 | * 4 | * $(javaparam) 5 | */ 6 | -------------------------------------------------------------------------------- /tests/config/multi_line_1.cfg: -------------------------------------------------------------------------------- 1 | nl_func_decl_start_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_10.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_end_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_2.cfg: -------------------------------------------------------------------------------- 1 | nl_func_def_start_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_3.cfg: -------------------------------------------------------------------------------- 1 | nl_func_decl_end_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_4.cfg: -------------------------------------------------------------------------------- 1 | nl_func_def_end_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_5.cfg: -------------------------------------------------------------------------------- 1 | nl_func_decl_args_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_6.cfg: -------------------------------------------------------------------------------- 1 | nl_func_def_args_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_8.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_start_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/multi_line_9.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_args_multi_line = true 2 | code_width = 70 -------------------------------------------------------------------------------- /tests/config/nepenthes.cfg: -------------------------------------------------------------------------------- 1 | input_tab_size = 4 2 | output_tab_size = 4 3 | indent_columns = 4 -------------------------------------------------------------------------------- /tests/config/new-constraint-paren-space.cfg: -------------------------------------------------------------------------------- 1 | sp_after_new=force 2 | -------------------------------------------------------------------------------- /tests/config/new_op_paren_open_close.cfg: -------------------------------------------------------------------------------- 1 | sp_paren_paren = force 2 | sp_inside_newop_paren_open = force 3 | sp_inside_newop_paren_close = remove -------------------------------------------------------------------------------- /tests/config/newline_after_endif.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_with_tabs = 0 3 | pp_if_indent_code = true -------------------------------------------------------------------------------- /tests/config/nl_after_annotation-f.cfg: -------------------------------------------------------------------------------- 1 | nl_after_annotation = force -------------------------------------------------------------------------------- /tests/config/nl_after_func_body-3.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 4 2 | indent_columns = 4 3 | nl_after_func_body = 3 -------------------------------------------------------------------------------- /tests/config/nl_after_func_class_proto-3.cfg: -------------------------------------------------------------------------------- 1 | nl_after_func_class_proto = 3 -------------------------------------------------------------------------------- /tests/config/nl_after_func_proto-3.cfg: -------------------------------------------------------------------------------- 1 | nl_after_func_proto = 3 -------------------------------------------------------------------------------- /tests/config/nl_after_func_proto_group-3.cfg: -------------------------------------------------------------------------------- 1 | nl_after_func_proto_group = 3 -------------------------------------------------------------------------------- /tests/config/nl_before_func_body_def-1.cfg: -------------------------------------------------------------------------------- 1 | nl_before_func_body_def = 1 -------------------------------------------------------------------------------- /tests/config/nl_before_func_body_def-1.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "nl_before_func_body_def-1.cfg" 2 | -------------------------------------------------------------------------------- /tests/config/nl_before_func_body_def-2.cfg: -------------------------------------------------------------------------------- 1 | nl_before_func_body_def = 2 -------------------------------------------------------------------------------- /tests/config/nl_before_if_closing_paren-f.cfg: -------------------------------------------------------------------------------- 1 | nl_before_if_closing_paren = force -------------------------------------------------------------------------------- /tests/config/nl_before_if_closing_paren-r.cfg: -------------------------------------------------------------------------------- 1 | nl_before_if_closing_paren = remove -------------------------------------------------------------------------------- /tests/config/nl_between_annotation-f.cfg: -------------------------------------------------------------------------------- 1 | nl_between_annotation = force -------------------------------------------------------------------------------- /tests/config/nl_brace_brace-a.cfg: -------------------------------------------------------------------------------- 1 | nl_brace_brace = add -------------------------------------------------------------------------------- /tests/config/nl_brace_fparen-f.cfg: -------------------------------------------------------------------------------- 1 | nl_brace_fparen = force -------------------------------------------------------------------------------- /tests/config/nl_brace_fparen-r.cfg: -------------------------------------------------------------------------------- 1 | nl_brace_fparen = remove -------------------------------------------------------------------------------- /tests/config/nl_class-a.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | indent_class = true 3 | nl_class_brace = add -------------------------------------------------------------------------------- /tests/config/nl_class-r.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | indent_class = true 3 | nl_class_brace = remove -------------------------------------------------------------------------------- /tests/config/nl_ds_struct_enum_cmt-t.cfg: -------------------------------------------------------------------------------- 1 | nl_ds_struct_enum_cmt = true -------------------------------------------------------------------------------- /tests/config/nl_enum_own_lines-3.cfg: -------------------------------------------------------------------------------- 1 | nl_enum_own_lines = remove 2 | code_width = 80 -------------------------------------------------------------------------------- /tests/config/nl_enum_own_lines-3.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "nl_enum_own_lines-3.cfg" 2 | -------------------------------------------------------------------------------- /tests/config/nl_enum_own_lines-4.cfg: -------------------------------------------------------------------------------- 1 | nl_enum_own_lines = force 2 | nl_remove_extra_newlines = 2 -------------------------------------------------------------------------------- /tests/config/nl_enum_own_lines-a.cfg: -------------------------------------------------------------------------------- 1 | nl_enum_own_lines = add -------------------------------------------------------------------------------- /tests/config/nl_func_call_empty-r.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_empty = remove -------------------------------------------------------------------------------- /tests/config/nl_func_call_paren-f.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_paren = force -------------------------------------------------------------------------------- /tests/config/nl_func_call_paren_empty-r.cfg: -------------------------------------------------------------------------------- 1 | nl_func_call_paren_empty = remove -------------------------------------------------------------------------------- /tests/config/nl_func_class_scope-a.cfg: -------------------------------------------------------------------------------- 1 | nl_func_class_scope = add -------------------------------------------------------------------------------- /tests/config/nl_func_paren_empty.cfg: -------------------------------------------------------------------------------- 1 | nl_func_paren = force # should be overridden by nl_func_paren_empty 2 | nl_func_paren_empty = remove -------------------------------------------------------------------------------- /tests/config/nl_func_scope_name-a.cfg: -------------------------------------------------------------------------------- 1 | nl_func_scope_name = add -------------------------------------------------------------------------------- /tests/config/nl_max_blank_in_func-1.cfg: -------------------------------------------------------------------------------- 1 | nl_max_blank_in_func = 1 -------------------------------------------------------------------------------- /tests/config/nl_max_blank_in_func-4.cfg: -------------------------------------------------------------------------------- 1 | nl_max_blank_in_func = 4 -------------------------------------------------------------------------------- /tests/config/nl_namespace-a.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | nl_namespace_brace = add -------------------------------------------------------------------------------- /tests/config/nl_namespace-r.cfg: -------------------------------------------------------------------------------- 1 | indent_namespace = true 2 | nl_namespace_brace = remove -------------------------------------------------------------------------------- /tests/config/nl_oc_block_brace-f.cfg: -------------------------------------------------------------------------------- 1 | nl_oc_block_brace = force -------------------------------------------------------------------------------- /tests/config/nl_type_brace_init_lst-f.cfg: -------------------------------------------------------------------------------- 1 | nl_type_brace_init_lst = force -------------------------------------------------------------------------------- /tests/config/nl_type_brace_init_lst-r.cfg: -------------------------------------------------------------------------------- 1 | nl_type_brace_init_lst = remove -------------------------------------------------------------------------------- /tests/config/nl_type_brace_init_lst_close-f.cfg: -------------------------------------------------------------------------------- 1 | nl_type_brace_init_lst_close = force -------------------------------------------------------------------------------- /tests/config/nl_type_brace_init_lst_close-r.cfg: -------------------------------------------------------------------------------- 1 | nl_type_brace_init_lst_close = remove -------------------------------------------------------------------------------- /tests/config/nl_type_brace_init_lst_open-f.cfg: -------------------------------------------------------------------------------- 1 | nl_type_brace_init_lst_open = force -------------------------------------------------------------------------------- /tests/config/nl_type_brace_init_lst_open-r.cfg: -------------------------------------------------------------------------------- 1 | nl_type_brace_init_lst_open = remove -------------------------------------------------------------------------------- /tests/config/no_squeeze_ifdef.cfg: -------------------------------------------------------------------------------- 1 | nl_before_return = true 2 | nl_after_return = true -------------------------------------------------------------------------------- /tests/config/obj-c-available.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 # number 2 | indent_with_tabs = 0 # number 3 | -------------------------------------------------------------------------------- /tests/config/objc_bug_497.cfg: -------------------------------------------------------------------------------- 1 | indent_continue = 10 2 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/oc17.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | align_var_def_span = 2 3 | align_assign_span = 1 -------------------------------------------------------------------------------- /tests/config/oc2.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_fparen = remove 2 | indent_columns = 3 3 | nl_fdef_brace = add -------------------------------------------------------------------------------- /tests/config/oc_bug_1683.cfg: -------------------------------------------------------------------------------- 1 | nl_after_brace_close = true # boolean (false/true) 2 | -------------------------------------------------------------------------------- /tests/config/pos_comma-lf.cfg: -------------------------------------------------------------------------------- 1 | pos_comma = lead_force -------------------------------------------------------------------------------- /tests/config/pos_comma-tb.cfg: -------------------------------------------------------------------------------- 1 | pos_comma = trail_break -------------------------------------------------------------------------------- /tests/config/pos_compare-eol.cfg: -------------------------------------------------------------------------------- 1 | sp_compare = force 2 | pos_compare = trail -------------------------------------------------------------------------------- /tests/config/pos_compare-sol.cfg: -------------------------------------------------------------------------------- 1 | sp_compare = force 2 | pos_compare = lead -------------------------------------------------------------------------------- /tests/config/pos_conditional-l.cfg: -------------------------------------------------------------------------------- 1 | pos_conditional = lead -------------------------------------------------------------------------------- /tests/config/pos_conditional-t.cfg: -------------------------------------------------------------------------------- 1 | pos_conditional = trail -------------------------------------------------------------------------------- /tests/config/pos_enum_comma-tf.cfg: -------------------------------------------------------------------------------- 1 | pos_enum_comma = trail_force -------------------------------------------------------------------------------- /tests/config/pp-pragma.cfg: -------------------------------------------------------------------------------- 1 | pp_indent_at_level = true 2 | pp_if_indent_code = true 3 | pp_define_at_level = true -------------------------------------------------------------------------------- /tests/config/pp-space.cfg: -------------------------------------------------------------------------------- 1 | output_tab_size = 4 2 | pp_indent = add 3 | pp_indent_count = 4 -------------------------------------------------------------------------------- /tests/config/pp_indent-a.cfg: -------------------------------------------------------------------------------- 1 | pp_indent = add -------------------------------------------------------------------------------- /tests/config/pp_ret.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | nl_end_of_file = force 3 | nl_end_of_file_min = 1 -------------------------------------------------------------------------------- /tests/config/ptr_star-1.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ptr_star = remove 2 | sp_after_ptr_star = force -------------------------------------------------------------------------------- /tests/config/region-0.cfg: -------------------------------------------------------------------------------- 1 | # default region indent 2 | indent_columns = 4 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/region-1.cfg: -------------------------------------------------------------------------------- 1 | # indented region code 2 | indent_columns = 4 3 | indent_class = true 4 | pp_region_indent_code = true -------------------------------------------------------------------------------- /tests/config/region-3.cfg: -------------------------------------------------------------------------------- 1 | # Abs column region preproc 2 | indent_columns = 4 3 | indent_class = true 4 | pp_indent_region = 2 -------------------------------------------------------------------------------- /tests/config/return-2.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | nl_return_expr = remove 3 | mod_paren_on_return = remove -------------------------------------------------------------------------------- /tests/config/return-3.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | nl_return_expr = force 3 | mod_paren_on_return = remove -------------------------------------------------------------------------------- /tests/config/sf.2886991-f.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = force 2 | sp_inside_fparen = remove -------------------------------------------------------------------------------- /tests/config/sf537.cfg: -------------------------------------------------------------------------------- 1 | sp_assign = remove 2 | sp_before_ptr_star = add 3 | indent_columns = 2 -------------------------------------------------------------------------------- /tests/config/sf538.cfg: -------------------------------------------------------------------------------- 1 | sp_arith = remove 2 | sp_before_semi = force 3 | indent_columns = 2 -------------------------------------------------------------------------------- /tests/config/sf607.cfg: -------------------------------------------------------------------------------- 1 | nl_getset_brace = force 2 | nl_property_brace = force -------------------------------------------------------------------------------- /tests/config/sort_imports.cfg: -------------------------------------------------------------------------------- 1 | mod_sort_import = true 2 | mod_sort_using = true 3 | mod_sort_include = true -------------------------------------------------------------------------------- /tests/config/sort_using_categ.cfg: -------------------------------------------------------------------------------- 1 | mod_sort_using = true 2 | include_category_0 = "System" -------------------------------------------------------------------------------- /tests/config/sp_after_cast-f.cfg: -------------------------------------------------------------------------------- 1 | sp_after_cast = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_after_cast-r.cfg: -------------------------------------------------------------------------------- 1 | sp_after_cast = remove -------------------------------------------------------------------------------- /tests/config/sp_after_comma-a.cfg: -------------------------------------------------------------------------------- 1 | sp_after_comma = add -------------------------------------------------------------------------------- /tests/config/sp_after_ptr_star_qualifier-f.cfg: -------------------------------------------------------------------------------- 1 | sp_after_ptr_star_qualifier = force -------------------------------------------------------------------------------- /tests/config/sp_after_send_oc_colon-f.cfg: -------------------------------------------------------------------------------- 1 | sp_after_send_oc_colon = force -------------------------------------------------------------------------------- /tests/config/sp_after_sparen.cfg: -------------------------------------------------------------------------------- 1 | # test for bug # 637 2 | sp_before_semi = force 3 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/sp_after_type-f.cfg: -------------------------------------------------------------------------------- 1 | sp_after_type = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_after_type-i.cfg: -------------------------------------------------------------------------------- 1 | sp_after_type = ignore 2 | -------------------------------------------------------------------------------- /tests/config/sp_after_type_brace_init_lst_open-f.cfg: -------------------------------------------------------------------------------- 1 | sp_after_type_brace_init_lst_open = force -------------------------------------------------------------------------------- /tests/config/sp_after_type_brace_init_lst_open-r.cfg: -------------------------------------------------------------------------------- 1 | sp_after_type_brace_init_lst_open = remove -------------------------------------------------------------------------------- /tests/config/sp_angle_paren-f.cfg: -------------------------------------------------------------------------------- 1 | sp_angle_paren = force -------------------------------------------------------------------------------- /tests/config/sp_angle_paren_empty.cfg: -------------------------------------------------------------------------------- 1 | sp_angle_paren = force 2 | sp_angle_paren_empty = remove -------------------------------------------------------------------------------- /tests/config/sp_arith-a.cfg: -------------------------------------------------------------------------------- 1 | sp_arith = add 2 | -------------------------------------------------------------------------------- /tests/config/sp_arith_additive-f.cfg: -------------------------------------------------------------------------------- 1 | # sp_arith_additive overwrites sp_arith 2 | sp_arith = remove 3 | sp_arith_additive = force -------------------------------------------------------------------------------- /tests/config/sp_arith_additive-r.cfg: -------------------------------------------------------------------------------- 1 | # sp_arith_additive overwrites sp_arith 2 | sp_arith = force 3 | sp_arith_additive = remove -------------------------------------------------------------------------------- /tests/config/sp_assign-a.cfg: -------------------------------------------------------------------------------- 1 | sp_assign = add -------------------------------------------------------------------------------- /tests/config/sp_balance_nested_parens.cfg: -------------------------------------------------------------------------------- 1 | sp_balance_nested_parens = true 2 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/sp_before_byref-r.cfg: -------------------------------------------------------------------------------- 1 | sp_before_byref = remove -------------------------------------------------------------------------------- /tests/config/sp_before_comma-f.cfg: -------------------------------------------------------------------------------- 1 | sp_before_comma = force -------------------------------------------------------------------------------- /tests/config/sp_before_ellipsis-f.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ellipsis = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_before_ellipsis-r.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ellipsis = remove 2 | -------------------------------------------------------------------------------- /tests/config/sp_before_ptr_star-f.cfg: -------------------------------------------------------------------------------- 1 | sp_before_ptr_star = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_before_type_brace_init_lst_close-f.cfg: -------------------------------------------------------------------------------- 1 | sp_before_type_brace_init_lst_close = force -------------------------------------------------------------------------------- /tests/config/sp_before_type_brace_init_lst_close-r.cfg: -------------------------------------------------------------------------------- 1 | sp_before_type_brace_init_lst_close = remove -------------------------------------------------------------------------------- /tests/config/sp_between_new_paren.cfg: -------------------------------------------------------------------------------- 1 | sp_after_new = force 2 | sp_between_new_paren = remove -------------------------------------------------------------------------------- /tests/config/sp_bool-f.cfg: -------------------------------------------------------------------------------- 1 | sp_bool = force -------------------------------------------------------------------------------- /tests/config/sp_bool-r.cfg: -------------------------------------------------------------------------------- 1 | sp_bool = remove -------------------------------------------------------------------------------- /tests/config/sp_cmt.cfg: -------------------------------------------------------------------------------- 1 | sp_cmt_cpp_start = add 2 | sp_cmt_cpp_doxygen = true -------------------------------------------------------------------------------- /tests/config/sp_cmt_cpp_start-a.cfg: -------------------------------------------------------------------------------- 1 | sp_cmt_cpp_start = add -------------------------------------------------------------------------------- /tests/config/sp_cmt_cpp_start-r.cfg: -------------------------------------------------------------------------------- 1 | sp_cmt_cpp_start = remove -------------------------------------------------------------------------------- /tests/config/sp_cmt_cpp_start_force.cfg: -------------------------------------------------------------------------------- 1 | sp_cmt_cpp_start = force 2 | cmt_width = 40 -------------------------------------------------------------------------------- /tests/config/sp_cparen_oparen-f.cfg: -------------------------------------------------------------------------------- 1 | sp_cparen_oparen = force 2 | indent_with_tabs = 0 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/sp_cparen_oparen-r.cfg: -------------------------------------------------------------------------------- 1 | sp_cparen_oparen = remove 2 | indent_with_tabs = 0 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/sp_dc.cfg: -------------------------------------------------------------------------------- 1 | sp_before_dc = remove 2 | sp_after_dc = remove -------------------------------------------------------------------------------- /tests/config/sp_enum_paren-r.cfg: -------------------------------------------------------------------------------- 1 | sp_enum_paren = remove -------------------------------------------------------------------------------- /tests/config/sp_inside_braces_empty-r.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_braces_empty = remove -------------------------------------------------------------------------------- /tests/config/sp_inside_fparen-f.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_fparen = force -------------------------------------------------------------------------------- /tests/config/sp_inside_type_brace_init_lst-f.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_type_brace_init_lst = force -------------------------------------------------------------------------------- /tests/config/sp_inside_type_brace_init_lst-r.cfg: -------------------------------------------------------------------------------- 1 | sp_inside_type_brace_init_lst = remove -------------------------------------------------------------------------------- /tests/config/sp_oc_synchronized.cfg: -------------------------------------------------------------------------------- 1 | sp_after_oc_synchronized = force # ignore/add/remove/force 2 | -------------------------------------------------------------------------------- /tests/config/sp_paren_ellipsis-f.cfg: -------------------------------------------------------------------------------- 1 | sp_paren_ellipsis = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_paren_ellipsis-r.cfg: -------------------------------------------------------------------------------- 1 | sp_paren_ellipsis = remove 2 | -------------------------------------------------------------------------------- /tests/config/sp_sizeof_ellipsis-f.cfg: -------------------------------------------------------------------------------- 1 | sp_sizeof_ellipsis = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_sizeof_ellipsis-r.cfg: -------------------------------------------------------------------------------- 1 | sp_sizeof_ellipsis = remove 2 | -------------------------------------------------------------------------------- /tests/config/sp_sizeof_ellipsis_paren-f.cfg: -------------------------------------------------------------------------------- 1 | sp_sizeof_ellipsis_paren = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_sizeof_ellipsis_paren-r.cfg: -------------------------------------------------------------------------------- 1 | sp_sizeof_ellipsis_paren = remove 2 | -------------------------------------------------------------------------------- /tests/config/sp_this_paren.cfg: -------------------------------------------------------------------------------- 1 | sp_super_paren = force 2 | sp_this_paren = force -------------------------------------------------------------------------------- /tests/config/sp_throw_paren-f.cfg: -------------------------------------------------------------------------------- 1 | sp_throw_paren = force -------------------------------------------------------------------------------- /tests/config/sp_throw_paren-r.cfg: -------------------------------------------------------------------------------- 1 | sp_throw_paren = remove -------------------------------------------------------------------------------- /tests/config/sp_type_brace_init_lst-f.cfg: -------------------------------------------------------------------------------- 1 | sp_type_brace_init_lst = force -------------------------------------------------------------------------------- /tests/config/sp_type_brace_init_lst-r.cfg: -------------------------------------------------------------------------------- 1 | sp_type_brace_init_lst = remove -------------------------------------------------------------------------------- /tests/config/sp_type_ellipsis-f.cfg: -------------------------------------------------------------------------------- 1 | sp_type_ellipsis = force 2 | -------------------------------------------------------------------------------- /tests/config/sp_type_ellipsis-r.cfg: -------------------------------------------------------------------------------- 1 | sp_type_ellipsis = remove 2 | -------------------------------------------------------------------------------- /tests/config/sp_word_brace_force.cfg: -------------------------------------------------------------------------------- 1 | sp_word_brace = force 2 | sp_word_brace_ns = remove 3 | -------------------------------------------------------------------------------- /tests/config/sp_word_brace_remove.cfg: -------------------------------------------------------------------------------- 1 | sp_word_brace = remove 2 | sp_word_brace_ns = force 3 | -------------------------------------------------------------------------------- /tests/config/space_indent_class-t_columns-4.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 3 | indent_class = true -------------------------------------------------------------------------------- /tests/config/space_indent_columns-3.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 3 2 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/space_indent_columns-4.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 4 2 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/squeeze_ifdef_top.cfg: -------------------------------------------------------------------------------- 1 | nl_squeeze_ifdef = true 2 | nl_squeeze_ifdef_top_level = true -------------------------------------------------------------------------------- /tests/config/staging/UNI-1288.cfg: -------------------------------------------------------------------------------- 1 | include Uncrustify.CSharp.cfg 2 | sp_fparen_brace_initializer=add 3 | -------------------------------------------------------------------------------- /tests/config/staging/UNI-1343.cfg: -------------------------------------------------------------------------------- 1 | ### This file holds rules specific to C# 2 | 3 | include Uncrustify.Common-CStyle.cfg 4 | 5 | mod_add_long_namespace_closebrace_comment=3 -------------------------------------------------------------------------------- /tests/config/staging/UNI-1350.cfg: -------------------------------------------------------------------------------- 1 | include Uncrustify.Cpp.cfg 2 | sp_inside_braces_struct=add 3 | -------------------------------------------------------------------------------- /tests/config/staging/UNI-2021.cfg: -------------------------------------------------------------------------------- 1 | ### This file holds rules specific to C# 2 | 3 | include Uncrustify.Common-CStyle.cfg 4 | nl_create_func_def_one_liner=true 5 | -------------------------------------------------------------------------------- /tests/config/staging/UNI-2049.cfg: -------------------------------------------------------------------------------- 1 | include Uncrustify.Common-CStyle.cfg 2 | sp_before_ptr_star=remove 3 | sp_after_ptr_star=force 4 | -------------------------------------------------------------------------------- /tests/config/staging/UNI-24076.cfg: -------------------------------------------------------------------------------- 1 | include Uncrustify.CSharp.cfg 2 | mod_paren_on_return=remove -------------------------------------------------------------------------------- /tests/config/staging/UNI-32405.cfg: -------------------------------------------------------------------------------- 1 | include Uncrustify.CSharp.cfg 2 | sp_assign=force 3 | -------------------------------------------------------------------------------- /tests/config/staging/dont-process-defines.cfg: -------------------------------------------------------------------------------- 1 | include Uncrustify.Cpp.cfg 2 | 3 | sp_pp_concat=ignore 4 | sp_before_square=remove 5 | 6 | set WORD define -------------------------------------------------------------------------------- /tests/config/string_replace_tab_chars-t.cfg: -------------------------------------------------------------------------------- 1 | string_replace_tab_chars = true 2 | -------------------------------------------------------------------------------- /tests/config/tab-0-11.cfg: -------------------------------------------------------------------------------- 1 | indent_columns = 11 2 | indent_with_tabs = 0 -------------------------------------------------------------------------------- /tests/config/ternary_short.cfg: -------------------------------------------------------------------------------- 1 | sp_cond_colon_after = add 2 | sp_cond_question_after = add 3 | sp_cond_ternary_short = remove -------------------------------------------------------------------------------- /tests/config/toggle_processing_cmt.cfg: -------------------------------------------------------------------------------- 1 | disable_processing_cmt = " **ABC**" -------------------------------------------------------------------------------- /tests/config/toggle_processing_cmt2.cfg: -------------------------------------------------------------------------------- 1 | enable_processing_cmt = " ??DEF??" -------------------------------------------------------------------------------- /tests/config/type_wrap.cfg: -------------------------------------------------------------------------------- 1 | sp_assign = force 2 | sp_after_ptr_star = remove 3 | set TYPE_WRAP STACK_OF -------------------------------------------------------------------------------- /tests/config/verbatim_strings.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "verbatim_strings.cfg" 2 | warn_level_tabs_found_in_verbatim_string_literals = 1 3 | -------------------------------------------------------------------------------- /tests/config/width-2.rerun.cfg: -------------------------------------------------------------------------------- 1 | include "width-2.cfg" 2 | -------------------------------------------------------------------------------- /tests/imported.test: -------------------------------------------------------------------------------- 1 | # This file contains tests examples we copied from other distributions. 2 | # 3 | # 4 | # this suite is not an ordinary language test suite. 5 | # 6 | -------------------------------------------------------------------------------- /tests/input/c/align-proto.c: -------------------------------------------------------------------------------- 1 | unsigned int align_here(); 2 | int this_works(int x); 3 | int bug(int); // BUG: left-aligned 4 | 5 | -------------------------------------------------------------------------------- /tests/input/c/align_attr.c: -------------------------------------------------------------------------------- 1 | 2 | char test[3] _PREPROCESSOR_SOMETHING; 3 | int numberThatIsReallyCool _PREPROCESSOR_SOMETHING; 4 | 5 | -------------------------------------------------------------------------------- /tests/input/c/align_keep_extra.c: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | int x= 3; 4 | int b = 4; 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/c/backslash-newline-lex.c: -------------------------------------------------------------------------------- 1 | void f () { g ("\ 2 | "); 3 | g ("\n", stdout); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/c/bits.c: -------------------------------------------------------------------------------- 1 | struct foo { 2 | unsigned long bar; 3 | u_int ndots : 4, 4 | nsort: 4, 5 | : 0; 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /tests/input/c/braces-3.c: -------------------------------------------------------------------------------- 1 | { 2 | list_for_each(k) { 3 | if (a) 4 | if (b) 5 | { 6 | c++; 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tests/input/c/bsnl.c: -------------------------------------------------------------------------------- 1 | # define SOME_MACRO \ 2 | bool has_err; \ 3 | bool is_comp;\ 4 | struct some_stream ostream 5 | 6 | -------------------------------------------------------------------------------- /tests/input/c/bug_1196.c: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | void foo(void); 6 | 7 | #ifdef __cplusplus 8 | } 9 | #endif -------------------------------------------------------------------------------- /tests/input/c/bug_1718.c: -------------------------------------------------------------------------------- 1 | switch (code) 2 | { 3 | case A: 4 | #ifdef XXX 5 | func(code); 6 | #endif 7 | break; 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/c/bug_i_876.c: -------------------------------------------------------------------------------- 1 | #define A 1 2 | -------------------------------------------------------------------------------- /tests/input/c/bugs-8.c: -------------------------------------------------------------------------------- 1 | 2 | void foo(void) 3 | { 4 | p[0].x = x + (rx * cos(rs)); 5 | p[0].y = y - (ry * sin(rs)); 6 | } 7 | 8 | -------------------------------------------------------------------------------- /tests/input/c/cast_brace.c: -------------------------------------------------------------------------------- 1 | // 2 | void disappearing_semicolon(void) 3 | { 4 | r = (recordtypecast){a, b, c}; //<-- 5 | p = Table_put(t,a,&r); 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/c/cmt_multi_utf8.c: -------------------------------------------------------------------------------- 1 | /* This is a multiline comment with a UTF8 character: á 2 | */ 3 | -------------------------------------------------------------------------------- /tests/input/c/define-if-indent.c: -------------------------------------------------------------------------------- 1 | 2 | #define foobar(x) \ 3 | { \ 4 | for (i=0; i < x; i++) \ 5 | { \ 6 | junk(i,x); \ 7 | } \ 8 | } 9 | 10 | -------------------------------------------------------------------------------- /tests/input/c/doxy-comment.c: -------------------------------------------------------------------------------- 1 | int a; //a 2 | int a; ///a 3 | int a; /// 2 | 3 | #include MY_HEADER 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/input/c/indent-vbrace.c: -------------------------------------------------------------------------------- 1 | 2 | void x(void) 3 | { 4 | if (a>b) 5 | b=a; 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/c/lvalue.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | if (c * ssize < initialCapacity); 4 | if (Item* item=nextItem()); 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/c/nl-ver-def.c: -------------------------------------------------------------------------------- 1 | void foo(void) 2 | { 3 | int a; 4 | int b;// comment 5 | 6 | /* comment */ 7 | a = b; 8 | return; 9 | } 10 | -------------------------------------------------------------------------------- /tests/input/c/one-liner-define.c: -------------------------------------------------------------------------------- 1 | // 2 | 3 | #define LOG_FMT(sev, args...) \ 4 | do { foo(); } while (0) 5 | -------------------------------------------------------------------------------- /tests/input/c/pp_ret.c: -------------------------------------------------------------------------------- 1 | #if 0 2 | int 3 | #else 4 | unsigned 5 | #endif 6 | f() 7 | { 8 | return 0; 9 | } 10 | 11 | #ifdef FOO 12 | #define BAR . 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /tests/input/c/sf588.c: -------------------------------------------------------------------------------- 1 | #define APPEND_TO_STREAM(VAR0) << #VAR0 2 | #define APPEND_TO_STREAM(VAR0, VAR1) << #VAR0 << ", " << #VAR1 3 | -------------------------------------------------------------------------------- /tests/input/c/sf594.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | if (x < d >> 1) 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/c/sp_embed_comment.c: -------------------------------------------------------------------------------- 1 | void f(); 2 | void g(int); 3 | void h() 4 | { 5 | f(/*foo*/); 6 | g(42/*foo*/); 7 | g(/*foo*/42); 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/c/string_utf8.c: -------------------------------------------------------------------------------- 1 | char* x = "中国語 (繁体)"; 2 | -------------------------------------------------------------------------------- /tests/input/c/type_wrap.c: -------------------------------------------------------------------------------- 1 | void foo(void) 2 | { 3 | STACK_OF(X509) * st=sk_X509_new_null(); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/621_this-spacing.cpp: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/623_caret-spacing.cpp: -------------------------------------------------------------------------------- 1 | Foo^ foo = dynamic_cast(bar); 2 | Foo* foo = dynamic_cast(bar); 3 | x = a^b; 4 | -------------------------------------------------------------------------------- /tests/input/cpp/633_decl-in-func-typedef.cpp: -------------------------------------------------------------------------------- 1 | typedef void (*func)(); 2 | typedef void (__stdcall *func)(); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/DoxygenComments.cpp: -------------------------------------------------------------------------------- 1 | //a cpp comment 2 | ///> 1; 2 | auto c = a < b; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/UNI-1340.cpp: -------------------------------------------------------------------------------- 1 | namespace dudeNamespace { class ForwardFooClass; } 2 | 3 | namespace dudeNamespace 4 | { class ForwardFooClass; } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/UNI-1983.cpp: -------------------------------------------------------------------------------- 1 | typedef HRESULT (WINAPI *Foo)(const void* pData, SIZE_T size, UINT flags, const char* szStr, D3D10BlobHack** ppBlob); 2 | -------------------------------------------------------------------------------- /tests/input/cpp/UNI-21510.cpp: -------------------------------------------------------------------------------- 1 | typedef std::pair Object; 2 | -------------------------------------------------------------------------------- /tests/input/cpp/UNI-21728.cpp: -------------------------------------------------------------------------------- 1 | friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o); 2 | -------------------------------------------------------------------------------- /tests/input/cpp/UNI-2680.cpp: -------------------------------------------------------------------------------- 1 | A(B(C( 2 | D(a | 3 | b | c)))); 4 | -------------------------------------------------------------------------------- /tests/input/cpp/UNI-29935.cpp: -------------------------------------------------------------------------------- 1 | void Foo1(BarType& x, void BarFunc()); 2 | 3 | void Bar() 4 | { 5 | void BarFunc2(BarType& x); 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1001.cpp: -------------------------------------------------------------------------------- 1 | template< > 2 | struct Bar< false > : Foo 3 | { 4 | }; 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1005.cpp: -------------------------------------------------------------------------------- 1 | friend void ::test::swap< >(future< T >&, future< T >&); 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1027.cpp: -------------------------------------------------------------------------------- 1 | int * fn1(); 2 | mytype * fn2(); 3 | myttype * fn3(); 4 | myttype * myclass::fn4(); 5 | myttype * myclass::fn5(); 6 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1032.cpp: -------------------------------------------------------------------------------- 1 | int variable1 = items_array[index()]; 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1112.cpp: -------------------------------------------------------------------------------- 1 | ::std::vector & foo(); 2 | std::vector & bar(); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1134.cpp: -------------------------------------------------------------------------------- 1 | #define ABC 123 // Start trailing comment.. 2 | // ..end with aligned comment. 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1158.cpp: -------------------------------------------------------------------------------- 1 | void Class1::Func(void) 2 | { 3 | while (Next()); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1235.cpp: -------------------------------------------------------------------------------- 1 | namespace dudeNamespace { class ForwardFooClass; } 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1288.cpp: -------------------------------------------------------------------------------- 1 | friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o); 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1296.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | auto lambda2 = [&]() 4 | { 5 | code(); 6 | }; 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1338.cpp: -------------------------------------------------------------------------------- 1 | /* *INDENT-OFF* */ 2 | printf("Hello World!\n"); 3 | 4 | 5 | //test 6 | /* *INDENT-ON* */ 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1402.cpp: -------------------------------------------------------------------------------- 1 | namespace Constants 2 | { 3 | double PI = 3.14; 4 | } 5 | int factor = 41; 6 | double result = Constants::PI * factor; 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1403.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | float x; 4 | float y; 5 | float result(1 + x*y); 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1432.cpp: -------------------------------------------------------------------------------- 1 | void set(); 2 | vector get(); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1439.cpp: -------------------------------------------------------------------------------- 1 | struct A; 2 | struct B; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1452.cpp: -------------------------------------------------------------------------------- 1 | struct foobar { 2 | char *foobarz() { return "foobar"; } 3 | char *foo_bar() { return "foo_bar"; } 4 | 5 | int foo; 6 | }; 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1607.cpp: -------------------------------------------------------------------------------- 1 | decltype(i * d) prod = i * d; 2 | decltype(i + d) sum; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1649.cpp: -------------------------------------------------------------------------------- 1 | Foo() 2 | noexcept () 3 | {} 4 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_1689.cpp: -------------------------------------------------------------------------------- 1 | using value_type = int; 2 | using reference = value_type &; 3 | using const_reference = const value_type &; 4 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_33056.cpp: -------------------------------------------------------------------------------- 1 | inline T* * someFunc(foo** p, bar&& q) 2 | { 3 | } 4 | 5 | inline T && someFunc(foo * *p, bar && q) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_472.cpp: -------------------------------------------------------------------------------- 1 | // comment 2 | void 3 | func( dbgTrace, (void) ); 4 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_481.cpp: -------------------------------------------------------------------------------- 1 | //comment 2 | void argvInter( int argc, char* argv[], Config * config ); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_484.cpp: -------------------------------------------------------------------------------- 1 | TestId::TestId( char* name ) : 2 | n_( ( char* )name ) 3 | { 4 | n_( (char*)name ); 5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_495.cpp: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | toto 4 | foo1(int); 5 | toto 6 | foo2(bar); 7 | int 8 | foo3; 9 | } 10 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_631.cpp: -------------------------------------------------------------------------------- 1 | static inline auto myFunc(MyType const& myValue) 2 | ->std::string 3 | 4 | static inline std::string myFunc(MyType const& myValue) 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_634.cpp: -------------------------------------------------------------------------------- 1 | __attribute__((visibility ("default"))) NSString* i; 2 | extern "C" NSString* i; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_643.cpp: -------------------------------------------------------------------------------- 1 | class test_Dummy 2 | : public QObject 3 | { 4 | Q_OBJECT 5 | test_Dummy* settings = nullptr; 6 | }; 7 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_653.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | **Some comment 4 | */ 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_657.cpp: -------------------------------------------------------------------------------- 1 | class NewClass: public OldClass/*somecomment*/, public SomeClass; 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_662.cpp: -------------------------------------------------------------------------------- 1 | ///foo 2 | /// FOO::foo(int key, std::string value); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_671.h: -------------------------------------------------------------------------------- 1 | #define FOO_MAX 10 2 | 3 | bool foo[FOO_MAX]; 4 | 5 | void 6 | foo_bar( int a, 7 | int* b, 8 | bool foo[FOO_MAX] ); 9 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_197.cpp: -------------------------------------------------------------------------------- 1 | struct A {int a;}; 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_322.cpp: -------------------------------------------------------------------------------- 1 | class STDMETHOD 2 | { 3 | STDMETHOD(GetValues)(BSTR bsName, REFDATA** pData); 4 | }; 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_323.cpp: -------------------------------------------------------------------------------- 1 | class ATL_NO_VTABLE CProxy : 2 | public ATL::CComCoClass 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_481.cpp: -------------------------------------------------------------------------------- 1 | { 2 | connect( timer, SIGNAL( timeout( ) ), this, SLOT( timeoutImage( ) ) ); 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_503.cpp: -------------------------------------------------------------------------------- 1 | 0B8h 2 | __asm 3 | { 4 | mov al, 0B8h 5 | mov al, 2 6 | mov dx, 0xD007 7 | out dx, al 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_512.cpp: -------------------------------------------------------------------------------- 1 | template 2 | class TTypeSpecialization1 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_646.cpp: -------------------------------------------------------------------------------- 1 | friend class ::MultiLabelMeshPipeline; 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_682.h: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | return [=](T* t) { }; 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_687.cpp: -------------------------------------------------------------------------------- 1 | struct S { static if (false) void bar() { }; } 2 | 3 | struct S { static if (false) { void bar() { }; } } 4 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_793.cpp: -------------------------------------------------------------------------------- 1 | static void h() 2 | { 3 | typedef int IntGroup; 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_825.cpp: -------------------------------------------------------------------------------- 1 | void a() 2 | { 3 | int i = 0; 4 | int h = 0h; 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_889.cpp: -------------------------------------------------------------------------------- 1 | boost::iostreams::mapped_file_source pdf((LPSTR) ATL::CW2A(sTemp)); 2 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_938.h: -------------------------------------------------------------------------------- 1 | 2 | void function(void); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_999.cpp: -------------------------------------------------------------------------------- 1 | template< class T, unsigned N = 0 > 2 | constexpr unsigned long extent_v = extent< T, N >::value; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/bug_i_width.cpp: -------------------------------------------------------------------------------- 1 | { 2 | // test if no split is possible 3 | aaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccddddddddddddd; 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/cast.cpp: -------------------------------------------------------------------------------- 1 | { 2 | a = ( int)5.6; 3 | b = int (5.6 ); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/casts.cpp: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | uint32 x = (uint8)b; 4 | uint32 x = (uint16)f(a, b); 5 | uint32 x = (uint32)std::distance(a, b); 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/cpp/class-addr.h: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | public: 4 | A* B; 5 | C& D; 6 | const C& D; 7 | static C& D; 8 | public C& D; 9 | E=c& D; 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /tests/input/cpp/cmt_backslash_eol.cpp: -------------------------------------------------------------------------------- 1 | foo(); 2 | // test \ 3 | blah(); 4 | bar(); 5 | -------------------------------------------------------------------------------- /tests/input/cpp/cmt_convert_tab_to_spaces.cpp: -------------------------------------------------------------------------------- 1 | void f() { 2 | /* Comment with here 3 | * and here again 4 | */ 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cpp/cpp_move.cpp: -------------------------------------------------------------------------------- 1 | 2 | void Test(X&& val1, Y* val2); 3 | -------------------------------------------------------------------------------- /tests/input/cpp/ctor-var.cpp: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | TextBody textbody(GetBody().GetText()); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/delete.cpp: -------------------------------------------------------------------------------- 1 | 2 | void x(int **d) { 3 | delete *d; 4 | } 5 | 6 | void x(int& d) { 7 | delete &d; 8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/input/cpp/digraph.cpp: -------------------------------------------------------------------------------- 1 | x = reinterpret_cast< ::Symbol*>(); 2 | 3 | int b() { 4 | char f <: 32 :> = <% 0 %>; 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cpp/enum_class.h: -------------------------------------------------------------------------------- 1 | enum class A 2 | { 3 | a, 4 | b 5 | } 6 | 7 | class B { 8 | private: 9 | int x; 10 | } 11 | enum C 12 | { 13 | a, 14 | b 15 | } 16 | -------------------------------------------------------------------------------- /tests/input/cpp/enum_comma.h: -------------------------------------------------------------------------------- 1 | 2 | void function(int a, int b, int c); 3 | 4 | enum Test { 5 | A, B 6 | , C, 7 | D, E 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/cpp/enum_shr.cpp: -------------------------------------------------------------------------------- 1 | enum MyEnum { 2 | kOne = 0, 3 | kTwo = 1 << 0, 4 | kThree = 1 << 1, 5 | kFour = 1 << 2 6 | }; 7 | 8 | -------------------------------------------------------------------------------- /tests/input/cpp/first_len_minimum.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | a 3 | b 4 | */ 5 | -------------------------------------------------------------------------------- /tests/input/cpp/fix_for_relational_operators.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | while (a < b && c > d) 4 | i++; 5 | 6 | for ( ;a < b && c > d; ) 7 | i++; 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/cpp/foreach.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for_each(it.begin(), it.end(), func); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/i1082.cpp: -------------------------------------------------------------------------------- 1 | // there should be no break ups caused by suffix or separator 2 | auto n2 = 1'000; 3 | auto m1 = 0b0010'1010LL; 4 | auto m2 = 0xfa'afUll; -------------------------------------------------------------------------------- /tests/input/cpp/i1181.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | if(true) {return 1;} 4 | else if(true) {return 1;} 5 | else {return 1;} 6 | } -------------------------------------------------------------------------------- /tests/input/cpp/i1464.cpp: -------------------------------------------------------------------------------- 1 | auto p = std::make_pair(r * cos(a), r * sin(a)); 2 | -------------------------------------------------------------------------------- /tests/input/cpp/i1466.cpp: -------------------------------------------------------------------------------- 1 | A a = {this->r * cos(b)}; -------------------------------------------------------------------------------- /tests/input/cpp/i1509.cpp: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | int i = A::B::C::bar(); 4 | int ii = A::B::C::bar(); 5 | } -------------------------------------------------------------------------------- /tests/input/cpp/i1536.cpp: -------------------------------------------------------------------------------- 1 | void FuncA(void) 2 | { 3 | } 4 | 5 | void FuncB(void) 6 | { 7 | } -------------------------------------------------------------------------------- /tests/input/cpp/i1565.cpp: -------------------------------------------------------------------------------- 1 | namespace ns1 { 2 | namespace ns2 { 3 | 4 | #define SOME_MACRO() \ 5 | if(true) { \ 6 | } 7 | 8 | } 9 | } -------------------------------------------------------------------------------- /tests/input/cpp/i1617.cpp: -------------------------------------------------------------------------------- 1 | namespace 2 | { 3 | void f(){ 4 | }; 5 | } -------------------------------------------------------------------------------- /tests/input/cpp/i1768.cpp: -------------------------------------------------------------------------------- 1 | void f(int a, int b); 2 | 3 | void g() 4 | { 5 | f(1, 2); 6 | } -------------------------------------------------------------------------------- /tests/input/cpp/indent_ctor_members_twice.cpp: -------------------------------------------------------------------------------- 1 | Foo::Foo() : 2 | Base(12), 3 | mValue(24) { 4 | func(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cpp/indent_paren_after_func_call.cpp: -------------------------------------------------------------------------------- 1 | SomeClass::SomeClass() 2 | { 3 | SomeFunction 4 | ( 5 | aTest, 6 | aResult 7 | ); 8 | } -------------------------------------------------------------------------------- /tests/input/cpp/indent_paren_after_func_decl.cpp: -------------------------------------------------------------------------------- 1 | class SomeClass { 2 | public: 3 | void SomeFunction 4 | ( 5 | int const aTest, 6 | int const aResult 7 | ); 8 | } -------------------------------------------------------------------------------- /tests/input/cpp/indent_var_def.cpp: -------------------------------------------------------------------------------- 1 | void function(){ 2 | int n; 3 | float f; 4 | anotherFunction(); 5 | char foo; 6 | somethingelse(); 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cpp/initlist_leading_commas.cpp: -------------------------------------------------------------------------------- 1 | MyClass::MyClass(Type *var1, Type *var2) : 2 | BaseClass(parent) 3 | , mVar1(var1) 4 | , mVar2(var2) { 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cpp/issue_1752.cpp: -------------------------------------------------------------------------------- 1 | #define WARN_IF(EXP) \ 2 | do { if (EXP) \ 3 | fprintf (stderr, "Warning: " #EXP "\n"); } \ 4 | -------------------------------------------------------------------------------- /tests/input/cpp/issue_523.cpp: -------------------------------------------------------------------------------- 1 | 2 | #define MACRO(templ_type) template class Abc > { } 3 | 4 | template class Foo > { }; 5 | -------------------------------------------------------------------------------- /tests/input/cpp/issue_547_for_each.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for_each(it.begin(), it.end(), func); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/issue_624_angle.cpp: -------------------------------------------------------------------------------- 1 | auto c = a < b >> 1; 2 | auto c = a < b; 3 | -------------------------------------------------------------------------------- /tests/input/cpp/macro_spaces.cpp: -------------------------------------------------------------------------------- 1 | #if (WINVER < 0x0601) 2 | #endif -------------------------------------------------------------------------------- /tests/input/cpp/misc6.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | void f(std::vector * vip, std::vector & vir); 3 | 4 | -------------------------------------------------------------------------------- /tests/input/cpp/mod_remove_empty_return.cpp: -------------------------------------------------------------------------------- 1 | void a() 2 | { 3 | return; 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cpp/namespace_namespace.cpp: -------------------------------------------------------------------------------- 1 | namespace hw { namespace stm32 { 2 | 3 | class RTC { 4 | }; 5 | 6 | }} // namespace hw::stm32 7 | -------------------------------------------------------------------------------- /tests/input/cpp/nl_func_call_empty.cpp: -------------------------------------------------------------------------------- 1 | SomeFunction 2 | ( 3 | ); -------------------------------------------------------------------------------- /tests/input/cpp/nl_func_call_paren.cpp: -------------------------------------------------------------------------------- 1 | SomeFunction( 2 | someVar, 3 | someOtherVar, 4 | ); -------------------------------------------------------------------------------- /tests/input/cpp/nl_func_call_paren_empty.cpp: -------------------------------------------------------------------------------- 1 | SomeFunction 2 | ( 3 | ); -------------------------------------------------------------------------------- /tests/input/cpp/nl_func_paren_empty.cpp: -------------------------------------------------------------------------------- 1 | int Function 2 | ( 3 | ); 4 | 5 | int Function( 6 | ); 7 | 8 | int Function 9 | (); -------------------------------------------------------------------------------- /tests/input/cpp/nl_func_scope_name.cpp: -------------------------------------------------------------------------------- 1 | void A::f() 2 | {} 3 | -------------------------------------------------------------------------------- /tests/input/cpp/not_lambda.cpp: -------------------------------------------------------------------------------- 1 | int ff() 2 | { 3 | // not a lambda fcn so don't surround "->" by spaces 4 | f()[0]->size(); 5 | if(true) { 6 | return 1; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/cpp/op_sym_empty.cpp: -------------------------------------------------------------------------------- 1 | class Foo 2 | { 3 | bool operator ==( const Foo & other ) const; 4 | Bar & operator * ( ) const; 5 | }; 6 | -------------------------------------------------------------------------------- /tests/input/cpp/patch_32.cpp: -------------------------------------------------------------------------------- 1 | //! test 2 | -------------------------------------------------------------------------------- /tests/input/cpp/sf.3266678.cpp: -------------------------------------------------------------------------------- 1 | void CMyClass::myFunction() 2 | { 3 | CMyReferencePointer & tmpPointer = (CMyReferencePointer & )getMyValue(); 4 | } 5 | 6 | -------------------------------------------------------------------------------- /tests/input/cpp/sf557.cpp: -------------------------------------------------------------------------------- 1 | //test.cpp 2 | void test_fun(std::size_t a, 3 | std :: size_t /* b */); 4 | 5 | -------------------------------------------------------------------------------- /tests/input/cpp/sf583.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | std::pair make_pair(int first, int second) 4 | { 5 | return {first, second}; 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/cpp/sp_angle_paren.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | bar (); 4 | bar(a); 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cpp/sp_arith_additive.cpp: -------------------------------------------------------------------------------- 1 | int i = 0 + 3 - 4 * 3 % 3; 2 | int ii = 0+3-4*3%3; -------------------------------------------------------------------------------- /tests/input/cpp/sp_balance_nested_parens.cpp: -------------------------------------------------------------------------------- 1 | void MainWindow::createView() 2 | { 3 | a = B((c) + (d)); 4 | a = B( (c) + (d)); 5 | a = B( (c) + (d) ); 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/cpp/sp_cmt_cpp_start.cc: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0; //Just return from the function. 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/cpp/sp_throw_paren.cpp: -------------------------------------------------------------------------------- 1 | 2 | void foo() 3 | { 4 | throw(x); 5 | throw (y); 6 | throw (z); 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cpp/stdcall.cpp: -------------------------------------------------------------------------------- 1 | // test for bug # 633 2 | typedef void (*func)(); 3 | typedef void (__stdcall *func)(); 4 | -------------------------------------------------------------------------------- /tests/input/cpp/string_replace_tab_chars.cpp: -------------------------------------------------------------------------------- 1 | void f() { 2 | auto x = " test\t ... ???"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/input/cpp/toggle_processing_cmt.cpp: -------------------------------------------------------------------------------- 1 | void func() { } 2 | 3 | // **ABC** 4 | void func() { } 5 | // *INDENT-ON* 6 | 7 | void func() { } 8 | -------------------------------------------------------------------------------- /tests/input/cpp/toggle_processing_cmt2.cpp: -------------------------------------------------------------------------------- 1 | void func() { } 2 | 3 | // *INDENT-OFF* 4 | void func() { } 5 | // ??DEF?? 6 | 7 | void func() { } 8 | -------------------------------------------------------------------------------- /tests/input/cs/620_getset-brace.cs: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | float V { 4 | get { 5 | return _v; } 6 | set { _v = value; } } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cs/621_this-spacing.cs: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/input/cs/UNI-2008.cs: -------------------------------------------------------------------------------- 1 | Utils.Curve attribute = (Utils.Curve)base.attribute; 2 | Utils.Curve attribute = (Utils.Curve) base.attribute; 3 | -------------------------------------------------------------------------------- /tests/input/cs/UNI-2505.cs: -------------------------------------------------------------------------------- 1 | public class Class : Base 2 | {} 3 | -------------------------------------------------------------------------------- /tests/input/cs/bug_1591.cs: -------------------------------------------------------------------------------- 1 | byte[] utf8Str = new byte[] { 197, 170, 110, 196, 173, 099, 197, 141, 100, 101, 204, 189 }; 2 | -------------------------------------------------------------------------------- /tests/input/cs/bug_1637.cs: -------------------------------------------------------------------------------- 1 | //Test Case-001 2 | inline double GetAudioBitrateForQuality(double f) { return (56000 + 200000 * (f)); } 3 | -------------------------------------------------------------------------------- /tests/input/cs/bug_620.cs: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | float V { 4 | get { 5 | return _v; } 6 | set { _v = value; } } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cs/bug_i_679.cs: -------------------------------------------------------------------------------- 1 | using (var x = X()) 2 | using (var y = Y()) 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cs/casting.mm: -------------------------------------------------------------------------------- 1 | videoViewController.videoGravity = (NSString*)videoGravity; -------------------------------------------------------------------------------- /tests/input/cs/cmt_backslash_eol.cs: -------------------------------------------------------------------------------- 1 | foo(); 2 | // test \ 3 | blah(); 4 | bar(); 5 | -------------------------------------------------------------------------------- /tests/input/cs/fncall_as_ctor_in_attr.cs: -------------------------------------------------------------------------------- 1 | public class ClassName 2 | { 3 | [Namespace.ClassName("Array")] 4 | public int[] Array = { 10 }; 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cs/mdarray_space.cs: -------------------------------------------------------------------------------- 1 | int[,,] x; 2 | var y = new int[2,3]; 3 | -------------------------------------------------------------------------------- /tests/input/cs/new-constraint-paren-space.cs: -------------------------------------------------------------------------------- 1 | // same as 10130-sp_between_new_paren.cs 2 | T F() where T : new() 3 | { 4 | return new T(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/cs/property.cs: -------------------------------------------------------------------------------- 1 | #define X 1 // comment to check tokenizing of URL 2 | #property URL "http://www.google.com" 3 | #define Y 2 // comment 4 | -------------------------------------------------------------------------------- /tests/input/cs/sf607.cs: -------------------------------------------------------------------------------- 1 | int P { 2 | get { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cs/sp_between_new_paren.cs: -------------------------------------------------------------------------------- 1 | T F() where T : new () 2 | { 3 | return new T(); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/cs/unsafe.cs: -------------------------------------------------------------------------------- 1 | public class Class1 2 | { 3 | public unsafe bool GetValue () 4 | { 5 | return true; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/cs/utf16be.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/input/cs/utf16be.cs -------------------------------------------------------------------------------- /tests/input/cs/utf16le.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/input/cs/utf16le.cs -------------------------------------------------------------------------------- /tests/input/cs/verbatim_strings.cs: -------------------------------------------------------------------------------- 1 | class Class 2 | { 3 | public string s1 = " Foo"; 4 | public string s2 = @" 5 | Foo 6 | "; 7 | }; 8 | -------------------------------------------------------------------------------- /tests/input/d/const.d: -------------------------------------------------------------------------------- 1 | // hello 2 | A b() { 3 | return null; 4 | } 5 | 6 | const(C) d() { 7 | return null; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /tests/input/d/enum.d: -------------------------------------------------------------------------------- 1 | /* sized enum like in C# */ 2 | enum Metrics : int { 3 | SM_CXSCREEN = 0, 4 | SM_CYSCREEN, 5 | SM_CXVSCROLL, 6 | } 7 | -------------------------------------------------------------------------------- /tests/input/d/funcfunc.d: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | mWriter( "class Clst_"c )( cluster.getChild( HO_SHORT_NAME ).getText() )( " : Cluster {"c ).newline; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /tests/input/d/volatile-2.d: -------------------------------------------------------------------------------- 1 | { 2 | if (e) 3 | volatile 4 | { 5 | a++; 6 | } 7 | return oldValue; 8 | } 9 | -------------------------------------------------------------------------------- /tests/input/d/volatile-3.d: -------------------------------------------------------------------------------- 1 | { 2 | if (e) 3 | { 4 | if (!value) 5 | volatile e.value = value; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/java/annotation2.java: -------------------------------------------------------------------------------- 1 | public class Foo {private Runnable bar=new Runnable(){@Override @SuppressWarnings("baz") public void run(){ quux();}};} 2 | -------------------------------------------------------------------------------- /tests/input/java/i1121.java: -------------------------------------------------------------------------------- 1 | public class Test { 2 | public static void main() { 3 | btn.addActionListener(e->{ 4 | System.exit(0); 5 | }); 6 | } 7 | } -------------------------------------------------------------------------------- /tests/input/java/issue_672.java: -------------------------------------------------------------------------------- 1 | public abstract class KeyValueItemWriter implements ItemWriter, InitializingBean {} 2 | //3456789=123456789=12 3 | -------------------------------------------------------------------------------- /tests/input/java/long_cl_cmt.java: -------------------------------------------------------------------------------- 1 | public class Cls 2 | { 3 | public void f(); 4 | } 5 | // no class end semicolon -------------------------------------------------------------------------------- /tests/input/java/sp_before_byref.java: -------------------------------------------------------------------------------- 1 | public static void method() { 2 | if (argA != null && argB != null) { 3 | } 4 | return (argA != null && argB != null); 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/oc/bug_1674.m: -------------------------------------------------------------------------------- 1 | - (void) test{ 2 | [test handleOpenURL:url 3 | sourceApplication:sourceApplication] 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/oc/bug_1683.m: -------------------------------------------------------------------------------- 1 | [mutString addAttributes:@{ NSParagraphStyleAttributeName : style } range:range]; 2 | -------------------------------------------------------------------------------- /tests/input/oc/bug_404.m: -------------------------------------------------------------------------------- 1 | @interface Test1 : Test2 2 | @end 3 | 4 | 5 | @interface Test> : Test2 6 | @end 7 | -------------------------------------------------------------------------------- /tests/input/oc/bug_841.m: -------------------------------------------------------------------------------- 1 | - (void)myMethod { 2 | NSInteger rowCount = [sectionProvider collectionView:self.collectionView 3 | numberOfRowsInSection:section]; 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/oc/bug_i_408.m: -------------------------------------------------------------------------------- 1 | CGFloat fontSize = floorf([font pointSize] * [self tileContentScale] + 0.5); 2 | -------------------------------------------------------------------------------- /tests/input/oc/bug_i_477.m: -------------------------------------------------------------------------------- 1 | [dataArray enumerateObjectsUsingBlock:^(dataType *data, NSUInteger idx, BOOL *stop) { 2 | // Do stuff! 3 | }]; 4 | -------------------------------------------------------------------------------- /tests/input/oc/for2.m: -------------------------------------------------------------------------------- 1 | for (UIWindow *testWindow in [[UIApplication sharedApplication] windows]) { 2 | } 3 | -------------------------------------------------------------------------------- /tests/input/oc/gh511.m: -------------------------------------------------------------------------------- 1 | BOOL valid = YES; 2 | NSDictionary *p = valid ? @{@"Test": @"Example"} : nil; 3 | 4 | -------------------------------------------------------------------------------- /tests/input/oc/i1213.m: -------------------------------------------------------------------------------- 1 | int main (int argc, const char * argv[]) 2 | { 3 | switch (argc) 4 | { 5 | case 0 ... 1: 6 | return 1; 7 | } 8 | return 0; 9 | } -------------------------------------------------------------------------------- /tests/input/oc/msg.m: -------------------------------------------------------------------------------- 1 | [obj doSomething:0 withArgs:@""]; 2 | [@"" doSomething:0 withArgs:@""]; 3 | NSString *result = (id)[obj arg:param value:3]; 4 | -------------------------------------------------------------------------------- /tests/input/oc/pp_bool.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #if TARGET_OS_MAC && !TARGET_OS_IPHONE 4 | #import 5 | #endif 6 | -------------------------------------------------------------------------------- /tests/input/staging/620_getset-brace.cs: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | float V { 4 | get { 5 | return _v; } 6 | set { _v = value; } } 7 | } 8 | -------------------------------------------------------------------------------- /tests/input/staging/621_this-spacing.cpp: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/input/staging/621_this-spacing.cs: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/input/staging/623_caret-spacing.cpp: -------------------------------------------------------------------------------- 1 | Foo^ foo = dynamic_cast(bar); 2 | Foo* foo = dynamic_cast(bar); 3 | x = a^b; 4 | -------------------------------------------------------------------------------- /tests/input/staging/633_decl-in-func-typedef.cpp: -------------------------------------------------------------------------------- 1 | typedef void (*func)(); 2 | typedef void (__stdcall *func)(); 3 | -------------------------------------------------------------------------------- /tests/input/staging/PR326_invalid-backslash-eol-csharp.cpp: -------------------------------------------------------------------------------- 1 | // test \ 2 | blah() 3 | -------------------------------------------------------------------------------- /tests/input/staging/PR326_invalid-backslash-eol-csharp.cs: -------------------------------------------------------------------------------- 1 | // test \ 2 | blah() 3 | -------------------------------------------------------------------------------- /tests/input/staging/STUCK_macro-difficulties.cpp: -------------------------------------------------------------------------------- 1 | #define inline_2 __forceinline 2 | #define inline(i) inline_##i 3 | inline(2) f() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-10566.cpp: -------------------------------------------------------------------------------- 1 | #define WARN_IF(EXP) \ 2 | do { if (EXP) \ 3 | fprintf (stderr, "Warning: " #EXP "\n"); } \ 4 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-12046.cpp: -------------------------------------------------------------------------------- 1 | //The space shouldn't be removed. This is a STRUCT 2 | struct ALIGN_TYPE(16) StructName; -------------------------------------------------------------------------------- /tests/input/staging/UNI-1339.cpp: -------------------------------------------------------------------------------- 1 | auto c = a < b >> 1; 2 | auto c = a < b; 3 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-1340.cpp: -------------------------------------------------------------------------------- 1 | namespace dudeNamespace { class ForwardFooClass; } 2 | 3 | namespace dudeNamespace 4 | { class ForwardFooClass; } 5 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-1983.cpp: -------------------------------------------------------------------------------- 1 | typedef HRESULT (WINAPI *Foo)(const void* pData, SIZE_T size, UINT flags, const char* szStr, D3D10BlobHack** ppBlob); 2 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-2008.cs: -------------------------------------------------------------------------------- 1 | Utils.Curve attribute = (Utils.Curve)base.attribute; 2 | Utils.Curve attribute = (Utils.Curve) base.attribute; 3 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-21510.cpp: -------------------------------------------------------------------------------- 1 | typedef std::pair Object; 2 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-21728.cpp: -------------------------------------------------------------------------------- 1 | friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o); 2 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-21731.cpp: -------------------------------------------------------------------------------- 1 | template 2 | struct invoke_fptr 3 | { 4 | }; 5 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-22858.cs: -------------------------------------------------------------------------------- 1 | byte[] utf8Str = new byte[] { 197, 170, 110, 196, 173, 099, 197, 141, 100, 101, 204, 189 }; 2 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-24076.cs: -------------------------------------------------------------------------------- 1 | inline double GetAudioBitrateForQuality(double f) { return (56000 + 200000 * (f)); } -------------------------------------------------------------------------------- /tests/input/staging/UNI-2505.cs: -------------------------------------------------------------------------------- 1 | public class Class : Base 2 | {} 3 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-25811.cpp: -------------------------------------------------------------------------------- 1 | void Foo() 2 | { 3 | void* pAllocatedInput = new(std::nothrow)PointerTouchInfo[inputCount]; 4 | void* int = new(std::nothrow)int[10]; 5 | } -------------------------------------------------------------------------------- /tests/input/staging/UNI-2680.cpp: -------------------------------------------------------------------------------- 1 | A(B(C( 2 | D(a | 3 | b | c)))); 4 | -------------------------------------------------------------------------------- /tests/input/staging/UNI-32405.cs: -------------------------------------------------------------------------------- 1 | //Test-1 2 | int[] x = FooClass.x; 3 | 4 | //Test-2: 5 | int[] x = FooClass.x; 6 | 7 | //Test-3: 8 | int[] x= FooClass.x; -------------------------------------------------------------------------------- /tests/input/staging/UNI-34087.cpp: -------------------------------------------------------------------------------- 1 | TEST_FIXTURE(Fixture, EditorTick_WhenEditorBecomesPaused_PausesProfiling) { 2 | } 3 | -------------------------------------------------------------------------------- /tests/input/staging/casting.mm: -------------------------------------------------------------------------------- 1 | videoViewController.videoGravity = (NSString*)videoGravity; -------------------------------------------------------------------------------- /tests/input/staging/for_auto.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for (auto const& item : list) 4 | bar(item); 5 | } -------------------------------------------------------------------------------- /tests/input/staging/foreach.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for_each(it.begin(), it.end(), func); 4 | } 5 | -------------------------------------------------------------------------------- /tests/input/staging/macro_spaces.cpp: -------------------------------------------------------------------------------- 1 | #if (WINVER < 0x0601) 2 | #endif -------------------------------------------------------------------------------- /tests/input/staging/new-constraint-paren-space.cs: -------------------------------------------------------------------------------- 1 | // same as 10130-sp_between_new_paren.cs 2 | T F() where T : new() 3 | { 4 | return new T(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/c/00068-bsnl.c: -------------------------------------------------------------------------------- 1 | #define SOME_MACRO \ 2 | bool has_err; \ 3 | bool is_comp; \ 4 | struct some_stream ostream 5 | 6 | -------------------------------------------------------------------------------- /tests/output/c/00071-include_define.h: -------------------------------------------------------------------------------- 1 | #define MY_HEADER 2 | 3 | #include MY_HEADER 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/output/c/00072-align-proto.c: -------------------------------------------------------------------------------- 1 | unsigned int align_here(); 2 | int this_works(int x); 3 | int bug(int); // BUG: left-aligned 4 | 5 | -------------------------------------------------------------------------------- /tests/output/c/00108-bugs-8.c: -------------------------------------------------------------------------------- 1 | 2 | void foo(void) 3 | { 4 | p[0].x = x + (rx * cos(rs)); 5 | p[0].y = y - (ry * sin(rs)); 6 | } 7 | 8 | -------------------------------------------------------------------------------- /tests/output/c/00180-lvalue.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | if (c*ssize < initialCapacity) ; 4 | if (Item* item=nextItem()) ; 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/c/00204-bug_1718.c: -------------------------------------------------------------------------------- 1 | switch (code) 2 | { 3 | case A: 4 | #ifdef XXX 5 | func(code); 6 | #endif 7 | break; 8 | } 9 | -------------------------------------------------------------------------------- /tests/output/c/00305-one-liner-define.c: -------------------------------------------------------------------------------- 1 | // 2 | 3 | #define LOG_FMT(sev, args...) \ 4 | do { foo(); } while (0) 5 | -------------------------------------------------------------------------------- /tests/output/c/00310-sp_embed_comment.c: -------------------------------------------------------------------------------- 1 | void f(); 2 | void g(int); 3 | void h() 4 | { 5 | f(/*foo*/); 6 | g(42 /*foo*/); 7 | g(/*foo*/ 42); 8 | } 9 | -------------------------------------------------------------------------------- /tests/output/c/00405-bits.c: -------------------------------------------------------------------------------- 1 | struct foo 2 | { 3 | unsigned long bar; 4 | u_int ndots : 4, 5 | nsort : 4, 6 | : 0; 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /tests/output/c/00802-funcfunc.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | mWriter("class Clst_"c)(cluster.getChild(HO_SHORT_NAME).getText())(" : Cluster {"c).newline; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /tests/output/c/01016-align_attr.c: -------------------------------------------------------------------------------- 1 | 2 | char test[3] _PREPROCESSOR_SOMETHING; 3 | int numberThatIsReallyCool _PREPROCESSOR_SOMETHING; 4 | 5 | -------------------------------------------------------------------------------- /tests/output/c/01035-func_wrap.c: -------------------------------------------------------------------------------- 1 | 2 | void FSUB(MPI_Foo)(MPI_Fint* sendcount); 3 | 4 | -------------------------------------------------------------------------------- /tests/output/c/01036-func_wrap.c: -------------------------------------------------------------------------------- 1 | 2 | void FSUB( MPI_Foo )( MPI_Fint* sendcount ); 3 | 4 | -------------------------------------------------------------------------------- /tests/output/c/01037-type_wrap.c: -------------------------------------------------------------------------------- 1 | void foo(void) 2 | { 3 | STACK_OF(X509) *st = sk_X509_new_null(); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/c/01050-func_call_user.c: -------------------------------------------------------------------------------- 1 | int func(n) 2 | { 3 | int a = foo (); 4 | char *a = _("some text"); 5 | char *str = N_("other text"); 6 | } /* func */ 7 | -------------------------------------------------------------------------------- /tests/output/c/01060-backslash-newline-lex.c: -------------------------------------------------------------------------------- 1 | void f () { 2 | g ("\ 3 | "); 4 | g ("\n", stdout); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/c/01080-bug_1196.c: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | void foo(void); 6 | 7 | #ifdef __cplusplus 8 | } 9 | #endif -------------------------------------------------------------------------------- /tests/output/c/02000-i2c-core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/output/c/02000-i2c-core.c -------------------------------------------------------------------------------- /tests/output/c/02100-i2c-core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/output/c/02100-i2c-core.c -------------------------------------------------------------------------------- /tests/output/c/02310-empty-for.c: -------------------------------------------------------------------------------- 1 | void foo(void) 2 | { 3 | for ( ; x < 2; x++) 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/c/02423-cmt_multi_utf8.c: -------------------------------------------------------------------------------- 1 | /* This is a multiline comment with a UTF8 character: á 2 | */ 3 | -------------------------------------------------------------------------------- /tests/output/c/02440-string_utf8.c: -------------------------------------------------------------------------------- 1 | char* x = "中国語 (繁体)"; 2 | -------------------------------------------------------------------------------- /tests/output/c/02504-align_keep_extra.c: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | int x = 3; 4 | int b = 4; 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/c/07630-indent-vbrace.c: -------------------------------------------------------------------------------- 1 | 2 | void x( void ) 3 | { 4 | if ( a>b ) 5 | b = a; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /tests/output/c/08399-gh399.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | void foo() 4 | { 5 | for (i = 0; i * i < n; i++) 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /tests/output/c/09588-sf588.c: -------------------------------------------------------------------------------- 1 | #define APPEND_TO_STREAM(VAR0) << #VAR0 2 | #define APPEND_TO_STREAM(VAR0, VAR1) << #VAR0 << ", " << #VAR1 3 | -------------------------------------------------------------------------------- /tests/output/c/09594-sf594.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | if (x < d >> 1) 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/c/09606-extern.c: -------------------------------------------------------------------------------- 1 | extern "C" int *i; 2 | extern "C" { int *i; } 3 | extern "C" FooString *i; 4 | extern "C" { FooString *i; } -------------------------------------------------------------------------------- /tests/output/c/09610-bug_i_876.c: -------------------------------------------------------------------------------- 1 | #define A 1 2 | -------------------------------------------------------------------------------- /tests/output/c/09612-bug_1041.c: -------------------------------------------------------------------------------- 1 | void (*g_func_table[32])(void) = { 2 | [0 ... 31] = func_dummy, 3 | [0] = func_0, 4 | [1] = func_1, 5 | [2] = func_2, 6 | }; 7 | -------------------------------------------------------------------------------- /tests/output/c/09613-i1413.c: -------------------------------------------------------------------------------- 1 | # -------------------------------------------------------------------------------- /tests/output/c/10005-i1270.c: -------------------------------------------------------------------------------- 1 | #ifdef asm 2 | #endif 3 | /* comment should stay */ -------------------------------------------------------------------------------- /tests/output/cpp/10000-621_this-spacing.cpp: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/10002-623_caret-spacing.cpp: -------------------------------------------------------------------------------- 1 | Foo^ foo = dynamic_cast(bar); 2 | Foo* foo = dynamic_cast(bar); 3 | x = a ^ b; 4 | -------------------------------------------------------------------------------- /tests/output/cpp/10003-633_decl-in-func-typedef.cpp: -------------------------------------------------------------------------------- 1 | typedef void (*func)(); 2 | typedef void (__stdcall *func)(); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/10008-PR326_invalid-backslash-eol-csharp.cpp: -------------------------------------------------------------------------------- 1 | // test \ 2 | // blah() 3 | -------------------------------------------------------------------------------- /tests/output/cpp/10009-STUCK_macro-difficulties.cpp: -------------------------------------------------------------------------------- 1 | #define inline_2 __forceinline 2 | #define inline(i) inline_##i 3 | inline(2) f() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/10020-macro_spaces.cpp: -------------------------------------------------------------------------------- 1 | #if (WINVER < 0x0601) 2 | #endif 3 | -------------------------------------------------------------------------------- /tests/output/cpp/10022-foreach.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for_each(it.begin(), it.end(), func); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/10052-UNI-1339.cpp: -------------------------------------------------------------------------------- 1 | auto c = a < b >> 1; 2 | auto c = a < b; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/10053-UNI-1340.cpp: -------------------------------------------------------------------------------- 1 | namespace dudeNamespace { class ForwardFooClass; } 2 | 3 | namespace dudeNamespace { class ForwardFooClass; } 4 | -------------------------------------------------------------------------------- /tests/output/cpp/10071-UNI-1983.cpp: -------------------------------------------------------------------------------- 1 | typedef HRESULT (WINAPI *Foo)(const void* pData, SIZE_T size, UINT flags, const char* szStr, D3D10BlobHack** ppBlob); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/10566-issue_1752.cpp: -------------------------------------------------------------------------------- 1 | #define WARN_IF(EXP) \ 2 | do { if (EXP) \ 3 | fprintf (stderr, "Warning: " #EXP "\n"); } \ 4 | -------------------------------------------------------------------------------- /tests/output/cpp/11000-UNI-12046.cpp: -------------------------------------------------------------------------------- 1 | //The space shouldn't be removed. This is a STRUCT 2 | struct ALIGN_TYPE(16) StructName; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30014-ctor-var.cpp: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | TextBody textbody(GetBody().GetText()); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30043-nl_func_call_empty.cpp: -------------------------------------------------------------------------------- 1 | SomeFunction 2 | (); -------------------------------------------------------------------------------- /tests/output/cpp/30044-nl_func_call_paren_empty.cpp: -------------------------------------------------------------------------------- 1 | SomeFunction( 2 | ); -------------------------------------------------------------------------------- /tests/output/cpp/30047-nl_func_paren_empty.cpp: -------------------------------------------------------------------------------- 1 | int Function( 2 | ); 3 | 4 | int Function( 5 | ); 6 | 7 | int Function(); -------------------------------------------------------------------------------- /tests/output/cpp/30049-nl_func_call_paren.cpp: -------------------------------------------------------------------------------- 1 | SomeFunction 2 | ( 3 | someVar, 4 | someOtherVar, 5 | ); -------------------------------------------------------------------------------- /tests/output/cpp/30065-Example.h: -------------------------------------------------------------------------------- 1 | class Example 2 | { 3 | 4 | Example() 5 | : member(0) 6 | { 7 | } 8 | 9 | int member; 10 | 11 | }; 12 | -------------------------------------------------------------------------------- /tests/output/cpp/30068-nl_func_scope_name.cpp: -------------------------------------------------------------------------------- 1 | void A 2 | ::f() 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30070-nl_func_scope_name.cpp: -------------------------------------------------------------------------------- 1 | void A:: 2 | f() 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30091-bug_472.cpp: -------------------------------------------------------------------------------- 1 | // comment 2 | void func( dbgTrace, (void) ); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30092-bug_481.cpp: -------------------------------------------------------------------------------- 1 | //comment 2 | void argvInter(int argc, char *argv[], Config *config); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30093-bug_484.cpp: -------------------------------------------------------------------------------- 1 | TestId::TestId(char *name) : 2 | n_((char *) name) 3 | { 4 | n_((char *) name); 5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/output/cpp/30094-bug_495.cpp: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | toto 4 | foo1(int); 5 | toto 6 | foo2(bar); 7 | int 8 | foo3; 9 | } 10 | -------------------------------------------------------------------------------- /tests/output/cpp/30112-bug_1432.cpp: -------------------------------------------------------------------------------- 1 | void set(); 2 | vector get(); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30113-bug_1452.cpp: -------------------------------------------------------------------------------- 1 | struct foobar { 2 | char * 3 | foobarz() { return "foobar"; } 4 | char * 5 | foo_bar() { return "foo_bar"; } 6 | 7 | int foo; 8 | }; 9 | -------------------------------------------------------------------------------- /tests/output/cpp/30206-cmt_backslash_eol.cpp: -------------------------------------------------------------------------------- 1 | foo(); 2 | // test \ 3 | // blah(); 4 | bar(); 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30209-bug_1134.cpp: -------------------------------------------------------------------------------- 1 | #define ABC 123 // Start trailing comment.. 2 | // ..end with aligned comment. 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30210-bug_1338.cpp: -------------------------------------------------------------------------------- 1 | /* *INDENT-OFF* */ 2 | printf("Hello World!\n"); 3 | 4 | 5 | //test 6 | /* *INDENT-ON* */ 7 | -------------------------------------------------------------------------------- /tests/output/cpp/30258-casts.cpp: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | uint32 x = (uint8)b; 4 | uint32 x = (uint16)f(a, b); 5 | uint32 x = (uint32)std::distance(a, b); 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/30271-sp_throw_paren.cpp: -------------------------------------------------------------------------------- 1 | 2 | void foo() 3 | { 4 | throw(x); 5 | throw(y); 6 | throw(z); 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/cpp/30272-sp_throw_paren.cpp: -------------------------------------------------------------------------------- 1 | 2 | void foo() 3 | { 4 | throw (x); 5 | throw (y); 6 | throw (z); 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/cpp/30278-bug_1439.cpp: -------------------------------------------------------------------------------- 1 | struct A; 2 | struct B; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30280-sf557.cpp: -------------------------------------------------------------------------------- 1 | //test.cpp 2 | void test_fun(std::size_t a, 3 | std::size_t /* b */); 4 | 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30300-enum_shr.cpp: -------------------------------------------------------------------------------- 1 | enum MyEnum 2 | { 3 | kOne = 0, 4 | kTwo = 1 << 0, 5 | kThree = 1 << 1, 6 | kFour = 1 << 2 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /tests/output/cpp/30712-bug_1158.cpp: -------------------------------------------------------------------------------- 1 | void Class1::Func(void) 2 | { 3 | while (Next()); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30713-fix_for_relational_operators.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | while (a < b && c > d) 4 | i++; 5 | 6 | for (; a < b && c > d; ) 7 | i++; 8 | } 9 | -------------------------------------------------------------------------------- /tests/output/cpp/30742-delete.cpp: -------------------------------------------------------------------------------- 1 | 2 | void x(int **d) { 3 | delete *d; 4 | } 5 | 6 | void x(int& d) { 7 | delete &d; 8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/output/cpp/30754-bug_i_682.h: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | return [=](T* t) { 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/30755-bug_i_938.h: -------------------------------------------------------------------------------- 1 | 2 | void function(void); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30756-bug_1296.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | auto lambda2 = [&]() 4 | { 5 | code(); 6 | }; 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/cpp/30803-bug_1403.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | float x; 4 | float y; 5 | float result(1 + x * y); 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/30814-misc6.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | void f(std::vector * vip, std::vector & vir); 3 | 4 | -------------------------------------------------------------------------------- /tests/output/cpp/30850-sp_cmt_cpp_start.cc: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0; // Just return from 3 | // the function. 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/30855-cpp_move.cpp: -------------------------------------------------------------------------------- 1 | 2 | void Test(X&& val1, Y* val2); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/30915-bug_1235.cpp: -------------------------------------------------------------------------------- 1 | namespace dudeNamespace { class ForwardFooClass; } 2 | -------------------------------------------------------------------------------- /tests/output/cpp/30945-sf.3266678.cpp: -------------------------------------------------------------------------------- 1 | void CMyClass::myFunction() 2 | { 3 | CMyReferencePointer& tmpPointer = (CMyReferencePointer& )getMyValue(); 4 | } 5 | 6 | -------------------------------------------------------------------------------- /tests/output/cpp/30947-bug_1689.cpp: -------------------------------------------------------------------------------- 1 | using value_type = int; 2 | using reference = value_type&; 3 | using const_reference = const value_type&; 4 | -------------------------------------------------------------------------------- /tests/output/cpp/31000-digraph.cpp: -------------------------------------------------------------------------------- 1 | x = reinterpret_cast< ::Symbol*>(); 2 | 3 | int b() { 4 | char f <: 32 :> = <% 0 %>; 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/31001-digraph.cpp: -------------------------------------------------------------------------------- 1 | x = reinterpret_cast< ::Symbol *>(); 2 | 3 | int b() 4 | { 5 | char f<: 32 :> = < % 0 % >; 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/31583-sf583.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | std::pair make_pair(int first, int second) 4 | { 5 | return {first, second}; 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/31700-toggle_processing_cmt.cpp: -------------------------------------------------------------------------------- 1 | void func() { 2 | } 3 | 4 | // **ABC** 5 | void func() { } 6 | // *INDENT-ON* 7 | 8 | void func() { 9 | } 10 | -------------------------------------------------------------------------------- /tests/output/cpp/31701-toggle_processing_cmt2.cpp: -------------------------------------------------------------------------------- 1 | void func() { 2 | } 3 | 4 | // *INDENT-OFF* 5 | void func() { } 6 | // ??DEF?? 7 | 8 | void func() { 9 | } 10 | -------------------------------------------------------------------------------- /tests/output/cpp/31710-string_replace_tab_chars.cpp: -------------------------------------------------------------------------------- 1 | void f() { 2 | auto x = " test\t ... ???"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/output/cpp/31711-string_replace_tab_chars.cpp: -------------------------------------------------------------------------------- 1 | void f() { 2 | auto x = "\ttest\t \t \t \t\t... ???"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/output/cpp/32001-issue_547_for_each.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for_each(it.begin(), it.end(), func); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/32004-issue_624_angle.cpp: -------------------------------------------------------------------------------- 1 | auto c = a < b >> 1; 2 | auto c = a < b; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/33002-cmt_convert_tab_to_spaces.cpp: -------------------------------------------------------------------------------- 1 | void f() { 2 | /* Comment with here 3 | * and here again 4 | */ 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33003-cmt_convert_tab_to_spaces.cpp: -------------------------------------------------------------------------------- 1 | void f() { 2 | /* Comment with here 3 | * and here again 4 | */ 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33004-DoxygenComments.cpp: -------------------------------------------------------------------------------- 1 | // a cpp comment 2 | ///std::string 3 | 4 | static inline std::string myFunc(MyType const& myValue) 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33027-bug_664.cpp: -------------------------------------------------------------------------------- 1 | bool dllInit = 2 | [ ]() 3 | //34567890 4 | { 5 | } (); 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33029-cast.cpp: -------------------------------------------------------------------------------- 1 | { 2 | a = ( int ) 5.6; 3 | b = int( 5.6 ); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33030-Q_FOREVER.cpp: -------------------------------------------------------------------------------- 1 | void Cache::collection() 2 | { 3 | Q_FOREVER { 4 | a = 5; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/33034-bug_671.h: -------------------------------------------------------------------------------- 1 | #define FOO_MAX 10 2 | 3 | bool foo[ FOO_MAX ]; 4 | 5 | void 6 | foo_bar( int a, 7 | int* b, 8 | bool foo[ FOO_MAX ] ); 9 | -------------------------------------------------------------------------------- /tests/output/cpp/33035-patch_32.cpp: -------------------------------------------------------------------------------- 1 | /*! test */ 2 | -------------------------------------------------------------------------------- /tests/output/cpp/33039-mod_remove_empty_return.cpp: -------------------------------------------------------------------------------- 1 | void a() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /tests/output/cpp/33044-bug_i_481.cpp: -------------------------------------------------------------------------------- 1 | { 2 | connect( timer , SIGNAL(timeout()) , this , SLOT(timeoutImage()) ); 3 | } 4 | -------------------------------------------------------------------------------- /tests/output/cpp/33045-bug_i_width.cpp: -------------------------------------------------------------------------------- 1 | { 2 | // test if no split is possible 3 | aaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccddddddddddddd; 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33050-issue_523.cpp: -------------------------------------------------------------------------------- 1 | 2 | #define MACRO(templ_type) template class Abc > { } 3 | 4 | template class Foo > { }; 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33051-bug_i_503.cpp: -------------------------------------------------------------------------------- 1 | 0B8h 2 | __asm 3 | { 4 | mov al, 0B8h 5 | mov al, 2 6 | mov dx, 0xD007 7 | out dx, al 8 | } 9 | -------------------------------------------------------------------------------- /tests/output/cpp/33052-bug_i_512.cpp: -------------------------------------------------------------------------------- 1 | template 2 | class TTypeSpecialization1 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33054-bug_i_825.cpp: -------------------------------------------------------------------------------- 1 | void a() 2 | { 3 | int i = 0; 4 | int h = 0h; 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33056-bug_33056.cpp: -------------------------------------------------------------------------------- 1 | inline T* * someFunc(foo** p, bar&& q) 2 | { 3 | } 4 | 5 | inline T && someFunc(foo * *p, bar && q) 6 | { 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/cpp/33058-stdcall.cpp: -------------------------------------------------------------------------------- 1 | // test for bug # 633 2 | typedef void (*func)(); 3 | typedef void (__stdcall *func)(); 4 | -------------------------------------------------------------------------------- /tests/output/cpp/33081-namespace_namespace.cpp: -------------------------------------------------------------------------------- 1 | namespace hw { namespace stm32 { 2 | 3 | class RTC { 4 | }; 5 | 6 | }} // namespace hw::stm32 7 | -------------------------------------------------------------------------------- /tests/output/cpp/33082-namespace_namespace.cpp: -------------------------------------------------------------------------------- 1 | namespace hw { namespace stm32 { 2 | 3 | class RTC { 4 | }; 5 | 6 | }} // namespace hw::stm32 7 | -------------------------------------------------------------------------------- /tests/output/cpp/33084-op_sym_empty.cpp: -------------------------------------------------------------------------------- 1 | class Foo 2 | { 3 | bool operator== ( const Foo & other ) const; 4 | Bar & operator*() const; 5 | }; 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33085-bug_i_323.cpp: -------------------------------------------------------------------------------- 1 | class ATL_NO_VTABLE CProxy : 2 | public ATL::CComCoClass 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33088-bug_i_197.cpp: -------------------------------------------------------------------------------- 1 | struct A {int a;}; 2 | -------------------------------------------------------------------------------- /tests/output/cpp/33089-bug_643.cpp: -------------------------------------------------------------------------------- 1 | class test_Dummy 2 | : public QObject 3 | { 4 | Q_OBJECT 5 | test_Dummy* settings = nullptr; 6 | }; 7 | -------------------------------------------------------------------------------- /tests/output/cpp/33093-bug_i_322.cpp: -------------------------------------------------------------------------------- 1 | STDMETHOD(GetValues)(BSTR bsName, REFDATA** pData); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/33093-sp_angle_paren.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | bar (); 4 | bar (a); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33094-sp_angle_paren.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | bar(); 4 | bar (a); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33095-bug_i_322.cpp: -------------------------------------------------------------------------------- 1 | class STDMETHOD 2 | { 3 | STDMETHOD(GetValues)(BSTR bsName, REFDATA** pData); 4 | }; 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33097-enum_comma.h: -------------------------------------------------------------------------------- 1 | 2 | void function(int a, int b, int c); 3 | 4 | enum Test { 5 | A, 6 | B, 7 | C, 8 | D, 9 | E 10 | } 11 | -------------------------------------------------------------------------------- /tests/output/cpp/33105-bug_1001.cpp: -------------------------------------------------------------------------------- 1 | template< > 2 | struct Bar< false > : Foo 3 | { 4 | }; 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33160-bug_1112.cpp: -------------------------------------------------------------------------------- 1 | ::std::vector& foo(); 2 | std::vector& bar(); 3 | -------------------------------------------------------------------------------- /tests/output/cpp/33200-first_len_minimum.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | a 3 | b 4 | */ 5 | -------------------------------------------------------------------------------- /tests/output/cpp/33201-indent_ctor_members_twice.cpp: -------------------------------------------------------------------------------- 1 | Foo::Foo() : 2 | Base(12), 3 | mValue(24) { 4 | func(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33202-initlist_leading_commas.cpp: -------------------------------------------------------------------------------- 1 | MyClass::MyClass(Type *var1, Type *var2) : 2 | BaseClass(parent), 3 | mVar1(var1), 4 | mVar2(var2) { 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cpp/33203-bug_1288.cpp: -------------------------------------------------------------------------------- 1 | friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/34002-bug_i_793.cpp: -------------------------------------------------------------------------------- 1 | static void h() 2 | { 3 | typedef int IntGroup; 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cpp/34101-bug_i_646.cpp: -------------------------------------------------------------------------------- 1 | friend class ::MultiLabelMeshPipeline; 2 | -------------------------------------------------------------------------------- /tests/output/cpp/34112-bug_i_889.cpp: -------------------------------------------------------------------------------- 1 | boost::iostreams::mapped_file_source pdf((LPSTR)ATL::CW2A(sTemp)); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/34120-bug_i_999.cpp: -------------------------------------------------------------------------------- 1 | template< class T, unsigned N = 0 > 2 | constexpr unsigned long extent_v = extent< T, N >::value; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/34131-bug_i_1000.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | // Newline inserted between '}' and ')' 4 | v.push_back({ 2, 3.0 }); 5 | v.push_back({ 2, 3.0 }); 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/34140-bug_1027.cpp: -------------------------------------------------------------------------------- 1 | int * fn1(); 2 | mytype * fn2(); 3 | myttype * fn3(); 4 | myttype * myclass::fn4(); 5 | myttype * myclass::fn5(); 6 | -------------------------------------------------------------------------------- /tests/output/cpp/34141-bug_1005.cpp: -------------------------------------------------------------------------------- 1 | friend void ::test::swap< >(future< T >&, future< T >&); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/34142-I1112-1.cpp: -------------------------------------------------------------------------------- 1 | ::some::very::looong::_and::complicated::name::MyType& a; -------------------------------------------------------------------------------- /tests/output/cpp/34144-I1112-3.cpp: -------------------------------------------------------------------------------- 1 | class MyClass 2 | { 3 | public: 4 | ::some::name* foo; 5 | }; -------------------------------------------------------------------------------- /tests/output/cpp/34150-bug_1032.cpp: -------------------------------------------------------------------------------- 1 | int variable1 = items_array[index()]; 2 | -------------------------------------------------------------------------------- /tests/output/cpp/34170-i1082.cpp: -------------------------------------------------------------------------------- 1 | // there should be no break ups caused by suffix or separator 2 | auto n2 = 1'000; 3 | auto m1 = 0b0010'1010LL; 4 | auto m2 = 0xfa'afUll; -------------------------------------------------------------------------------- /tests/output/cpp/34171-i1181.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | if(true) {return 1;} 4 | else if(true) {return 1;} 5 | else {return 1;} 6 | } -------------------------------------------------------------------------------- /tests/output/cpp/34173-i1464.cpp: -------------------------------------------------------------------------------- 1 | auto p = std::make_pair(r * cos(a), r * sin(a)); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/34174-i1466.cpp: -------------------------------------------------------------------------------- 1 | A a = {this->r * cos(b)}; -------------------------------------------------------------------------------- /tests/output/cpp/34175-i1509.cpp: -------------------------------------------------------------------------------- 1 | void f() 2 | { 3 | int i = A::B::C::bar(); 4 | int ii = A::B::C::bar(); 5 | } -------------------------------------------------------------------------------- /tests/output/cpp/34180-bug_1402.cpp: -------------------------------------------------------------------------------- 1 | namespace Constants 2 | { 3 | double PI = 3.14; 4 | } 5 | int factor = 41; 6 | double result = Constants::PI * factor; 7 | -------------------------------------------------------------------------------- /tests/output/cpp/34194-sp_arith_additive.cpp: -------------------------------------------------------------------------------- 1 | int i = 0 + 3 - 4*3%3; 2 | int ii = 0 + 3 - 4*3%3; -------------------------------------------------------------------------------- /tests/output/cpp/34195-sp_arith_additive.cpp: -------------------------------------------------------------------------------- 1 | int i = 0+3-4 * 3 % 3; 2 | int ii = 0+3-4 * 3 % 3; -------------------------------------------------------------------------------- /tests/output/cpp/34200-i1536.cpp: -------------------------------------------------------------------------------- 1 | void FuncA(void) 2 | { 3 | } 4 | 5 | // FuncB 6 | void FuncB(void) 7 | { 8 | } -------------------------------------------------------------------------------- /tests/output/cpp/34201-i1565.cpp: -------------------------------------------------------------------------------- 1 | namespace ns1 { 2 | namespace ns2 { 3 | 4 | #define SOME_MACRO() \ 5 | if(true) { \ 6 | } 7 | 8 | } // namespace ns2 9 | } // namespace ns1 -------------------------------------------------------------------------------- /tests/output/cpp/34202-i1617.cpp: -------------------------------------------------------------------------------- 1 | namespace 2 | { 3 | void f(){ 4 | }; 5 | } // namespace -------------------------------------------------------------------------------- /tests/output/cpp/34250-bug_1607.cpp: -------------------------------------------------------------------------------- 1 | decltype(i * d) prod = i * d; 2 | decltype(i + d) sum; 3 | -------------------------------------------------------------------------------- /tests/output/cpp/34251-bug_1649.cpp: -------------------------------------------------------------------------------- 1 | Foo() 2 | noexcept() 3 | {} 4 | -------------------------------------------------------------------------------- /tests/output/cpp/34280-UNI-29935.cpp: -------------------------------------------------------------------------------- 1 | void Foo1(BarType& x, void BarFunc()); 2 | 3 | void Bar() 4 | { 5 | void BarFunc2(BarType& x); 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cpp/34296-i1768.cpp: -------------------------------------------------------------------------------- 1 | void f( 2 | int a, int b); 3 | 4 | void g() 5 | { 6 | f(1, 2); 7 | } -------------------------------------------------------------------------------- /tests/output/cpp/60029-UNI-21510.cpp: -------------------------------------------------------------------------------- 1 | typedef std::pair Object; 2 | -------------------------------------------------------------------------------- /tests/output/cpp/60031-UNI-21728.cpp: -------------------------------------------------------------------------------- 1 | friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o); 2 | -------------------------------------------------------------------------------- /tests/output/cpp/60036-UNI-2680.cpp: -------------------------------------------------------------------------------- 1 | A(B(C( 2 | D(a | 3 | b | c)))); 4 | -------------------------------------------------------------------------------- /tests/output/cs/10012-621_this-spacing.cs: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/output/cs/10013-620_getset-brace.cs: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | float V 4 | { 5 | get 6 | { 7 | return _v; 8 | } 9 | set { _v = value; } } 10 | } 11 | -------------------------------------------------------------------------------- /tests/output/cs/10016-new-constraint-paren-space.cs: -------------------------------------------------------------------------------- 1 | // same as 10130-sp_between_new_paren.cs 2 | T F() where T : new() 3 | { 4 | return new T(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cs/10039-615_nested-usings.cs: -------------------------------------------------------------------------------- 1 | using (var x = X()) 2 | using (var y = Y()) 3 | { 4 | } 5 | 6 | using (var x = X()) 7 | using (var y = Y()) 8 | { 9 | } 10 | -------------------------------------------------------------------------------- /tests/output/cs/10060-unsafe.cs: -------------------------------------------------------------------------------- 1 | public class Class1 2 | { 3 | public unsafe bool GetValue() 4 | { 5 | return(true); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/cs/10070-utf16le.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/output/cs/10070-utf16le.cs -------------------------------------------------------------------------------- /tests/output/cs/10071-utf16be.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Unity-Technologies/uncrustify/a9755909f0123588f932e7e503761bcff8a931f4/tests/output/cs/10071-utf16be.cs -------------------------------------------------------------------------------- /tests/output/cs/10080-property.cs: -------------------------------------------------------------------------------- 1 | #define X 1 // comment to check tokenizing of URL 2 | #property URL "http://www.google.com" 3 | #define Y 2 // comment 4 | -------------------------------------------------------------------------------- /tests/output/cs/10101-sf607.cs: -------------------------------------------------------------------------------- 1 | int P 2 | { 3 | get 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/cs/10104-UNI-2505.cs: -------------------------------------------------------------------------------- 1 | public class Class : Base 2 | {} 3 | -------------------------------------------------------------------------------- /tests/output/cs/10110-mdarray_space.cs: -------------------------------------------------------------------------------- 1 | int[ , , ] x; 2 | var y = new int[2, 3]; 3 | -------------------------------------------------------------------------------- /tests/output/cs/10111-mdarray_space.cs: -------------------------------------------------------------------------------- 1 | int[,,] x; 2 | var y = new int[2, 3]; 3 | -------------------------------------------------------------------------------- /tests/output/cs/10112-mdarray_space.cs: -------------------------------------------------------------------------------- 1 | int[, ,] x; 2 | var y = new int[2, 3]; 3 | -------------------------------------------------------------------------------- /tests/output/cs/10120-cmt_backslash_eol.cs: -------------------------------------------------------------------------------- 1 | foo(); 2 | // test \ 3 | blah(); 4 | bar(); 5 | -------------------------------------------------------------------------------- /tests/output/cs/10130-sp_between_new_paren.cs: -------------------------------------------------------------------------------- 1 | T F() where T : new() 2 | { 3 | return new T(); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cs/11011-620_getset-brace.cs: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | float V 4 | { 5 | get 6 | { 7 | return _v; 8 | } 9 | set { _v = value; } } 10 | } 11 | -------------------------------------------------------------------------------- /tests/output/cs/11031-casting.mm: -------------------------------------------------------------------------------- 1 | videoViewController.videoGravity = (NSString*)videoGravity; 2 | -------------------------------------------------------------------------------- /tests/output/cs/11073-UNI-2008.cs: -------------------------------------------------------------------------------- 1 | Utils.Curve attribute = (Utils.Curve)base.attribute; 2 | Utils.Curve attribute = (Utils.Curve)base.attribute; 3 | -------------------------------------------------------------------------------- /tests/output/cs/12001-bug_620.cs: -------------------------------------------------------------------------------- 1 | class C 2 | { 3 | float V 4 | { 5 | get 6 | { 7 | return _v; 8 | } 9 | set { _v = value; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tests/output/cs/12003-fncall_as_ctor_in_attr.cs: -------------------------------------------------------------------------------- 1 | public class ClassName 2 | { 3 | [Namespace.ClassName("Array")] 4 | public int[] Array = { 10 }; 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/cs/12004-verbatim_strings.cs: -------------------------------------------------------------------------------- 1 | class Class 2 | { 3 | public string s1 = "\t\tFoo"; 4 | public string s2 = @" 5 | Foo 6 | "; 7 | }; 8 | -------------------------------------------------------------------------------- /tests/output/cs/12005-bug_1591.cs: -------------------------------------------------------------------------------- 1 | byte[] utf8Str = new byte[] { 197, 170, 110, 196, 173, 099, 197, 141, 100, 101, 204, 189 }; 2 | -------------------------------------------------------------------------------- /tests/output/cs/12101-bug_i_679.cs: -------------------------------------------------------------------------------- 1 | using (var x = X()) 2 | using (var y = Y()) 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/cs/12104-bug_1637.cs: -------------------------------------------------------------------------------- 1 | //Test Case-001 2 | inline double GetAudioBitrateForQuality(double f) { return 56000 + 200000 * (f); } 3 | -------------------------------------------------------------------------------- /tests/output/d/40004-volatile-2.d: -------------------------------------------------------------------------------- 1 | { 2 | if (e) 3 | volatile 4 | { 5 | a++; 6 | } 7 | return oldValue; 8 | } 9 | -------------------------------------------------------------------------------- /tests/output/d/40005-volatile-3.d: -------------------------------------------------------------------------------- 1 | { 2 | if (e) 3 | { 4 | if (!value) 5 | volatile e.value = value; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/d/40020-funcfunc.d: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | mWriter("class Clst_"c)(cluster.getChild(HO_SHORT_NAME).getText())(" : Cluster {"c).newline; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /tests/output/d/40035-enum.d: -------------------------------------------------------------------------------- 1 | /* sized enum like in C# */ 2 | enum Metrics : int 3 | { 4 | SM_CXSCREEN = 0, 5 | SM_CYSCREEN, 6 | SM_CXVSCROLL, 7 | } 8 | -------------------------------------------------------------------------------- /tests/output/d/40061-const.d: -------------------------------------------------------------------------------- 1 | // hello 2 | A b() 3 | { 4 | return null; 5 | } 6 | 7 | const(C) d() 8 | { 9 | return null; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /tests/output/java/80040-try.java: -------------------------------------------------------------------------------- 1 | public static void main(String[] args) { 2 | try (File file = new File("filename.txt")) 3 | { 4 | doit(processDefinition); 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/output/java/80063-i1121.java: -------------------------------------------------------------------------------- 1 | public class Test { 2 | public static void main() { 3 | btn.addActionListener(e->{ 4 | System.exit(0); 5 | }); 6 | } 7 | } -------------------------------------------------------------------------------- /tests/output/java/80064-long_cl_cmt.java: -------------------------------------------------------------------------------- 1 | public class Cls 2 | { 3 | public void f(); 4 | } /* class Cls */ 5 | // no class end semicolon -------------------------------------------------------------------------------- /tests/output/java/80200-sp_before_byref.java: -------------------------------------------------------------------------------- 1 | public static void method() { 2 | if (argA != null && argB != null) { 3 | } 4 | return (argA != null && argB != null); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/java/80301-issue_672.java: -------------------------------------------------------------------------------- 1 | public abstract class KeyValueItemWriter implements ItemWriter, 2 | InitializingBean {} 3 | //3456789=123456789=12 4 | -------------------------------------------------------------------------------- /tests/output/oc/50300-msg.m: -------------------------------------------------------------------------------- 1 | [obj doSomething: 0 withArgs: @""]; 2 | [@"" doSomething: 0 withArgs: @""]; 3 | NSString *result = (id)[obj arg: param value: 3]; 4 | -------------------------------------------------------------------------------- /tests/output/oc/50600-bug_i_477.m: -------------------------------------------------------------------------------- 1 | [dataArray enumerateObjectsUsingBlock:^(dataType *data, NSUInteger idx, BOOL *stop) 2 | { 3 | // Do stuff! 4 | }]; 5 | -------------------------------------------------------------------------------- /tests/output/oc/50601-bug_i_408.m: -------------------------------------------------------------------------------- 1 | CGFloat fontSize = floorf([font pointSize] * [self tileContentScale] + 0.5); 2 | -------------------------------------------------------------------------------- /tests/output/oc/50601-bug_i_477.m: -------------------------------------------------------------------------------- 1 | CGFloat fontSize = floorf([font pointSize] * [self tileContentScale] + 0.5); 2 | -------------------------------------------------------------------------------- /tests/output/oc/50603-gh511.m: -------------------------------------------------------------------------------- 1 | BOOL valid = YES; 2 | NSDictionary *p = valid ? @{ 3 | @"Test": @"Example" 4 | } : nil; 5 | -------------------------------------------------------------------------------- /tests/output/oc/50605-bug_404.m: -------------------------------------------------------------------------------- 1 | @interface Test1 : Test2 2 | @end 3 | 4 | 5 | @interface Test > : Test2 6 | @end 7 | -------------------------------------------------------------------------------- /tests/output/oc/50611-for2.m: -------------------------------------------------------------------------------- 1 | for (UIWindow *testWindow in [[UIApplication sharedApplication] windows]) { 2 | } 3 | -------------------------------------------------------------------------------- /tests/output/oc/50629-pp_bool.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #if TARGET_OS_MAC && !TARGET_OS_IPHONE 4 | #import 5 | #endif 6 | -------------------------------------------------------------------------------- /tests/output/oc/50801-i1213.m: -------------------------------------------------------------------------------- 1 | int main (int argc, const char * argv[]) 2 | { 3 | switch (argc) 4 | { 5 | case 0 ... 1: 6 | return 1; 7 | } 8 | return 0; 9 | } -------------------------------------------------------------------------------- /tests/output/oc/50811-bug_1674.m: -------------------------------------------------------------------------------- 1 | - (void)test { 2 | [test handleOpenURL:url 3 | sourceApplication:sourceApplication] 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/oc/50812-bug_1683.m: -------------------------------------------------------------------------------- 1 | [mutString addAttributes:@{ NSParagraphStyleAttributeName : style } range:range]; 2 | -------------------------------------------------------------------------------- /tests/output/oc/50911-for2.m: -------------------------------------------------------------------------------- 1 | for (UIWindow *testWindow in [[UIApplication sharedApplication] windows]) { 2 | } 3 | -------------------------------------------------------------------------------- /tests/output/oc/50929-pp_bool.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #if TARGET_OS_MAC && !TARGET_OS_IPHONE 4 | #import 5 | #endif 6 | -------------------------------------------------------------------------------- /tests/output/staging/10000-621_this-spacing.cpp: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/output/staging/10002-623_caret-spacing.cpp: -------------------------------------------------------------------------------- 1 | Foo^ foo = dynamic_cast(bar); 2 | Foo* foo = dynamic_cast(bar); 3 | x = a ^ b; 4 | -------------------------------------------------------------------------------- /tests/output/staging/10003-633_decl-in-func-typedef.cpp: -------------------------------------------------------------------------------- 1 | typedef void (*func)(); 2 | typedef void (__stdcall *func)(); 3 | -------------------------------------------------------------------------------- /tests/output/staging/10008-PR326_invalid-backslash-eol-csharp.cpp: -------------------------------------------------------------------------------- 1 | // test \ 2 | // blah() 3 | -------------------------------------------------------------------------------- /tests/output/staging/10009-STUCK_macro-difficulties.cpp: -------------------------------------------------------------------------------- 1 | #define inline_2 __forceinline 2 | #define inline(i) inline_##i 3 | inline(2) f() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/staging/10012-621_this-spacing.cs: -------------------------------------------------------------------------------- 1 | result = (Foo)this; 2 | result = (Foo)foo; 3 | -------------------------------------------------------------------------------- /tests/output/staging/10016-new-constraint-paren-space.cs: -------------------------------------------------------------------------------- 1 | // same as 10130-sp_between_new_paren.cs 2 | T F() where T : new() 3 | { 4 | return new T(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/staging/10017-PR326_invalid-backslash-eol-csharp.cs: -------------------------------------------------------------------------------- 1 | // test \ 2 | // blah() 3 | -------------------------------------------------------------------------------- /tests/output/staging/10020-macro_spaces.cpp: -------------------------------------------------------------------------------- 1 | #if (WINVER < 0x0601) 2 | #endif 3 | -------------------------------------------------------------------------------- /tests/output/staging/10022-foreach.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for_each(it.begin(), it.end(), func); 4 | } 5 | -------------------------------------------------------------------------------- /tests/output/staging/10023-for_auto.cpp: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | for (auto const& item : list) 4 | bar(item); 5 | } 6 | -------------------------------------------------------------------------------- /tests/output/staging/10031-casting.mm: -------------------------------------------------------------------------------- 1 | videoViewController.videoGravity = (NSString*)videoGravity; 2 | -------------------------------------------------------------------------------- /tests/output/staging/10052-UNI-1339.cpp: -------------------------------------------------------------------------------- 1 | auto c = a < b >> 1; 2 | auto c = a < b; 3 | -------------------------------------------------------------------------------- /tests/output/staging/10053-UNI-1340.cpp: -------------------------------------------------------------------------------- 1 | namespace dudeNamespace { class ForwardFooClass; } 2 | 3 | namespace dudeNamespace { class ForwardFooClass; } 4 | -------------------------------------------------------------------------------- /tests/output/staging/10071-UNI-1983.cpp: -------------------------------------------------------------------------------- 1 | typedef HRESULT (WINAPI *Foo)(const void* pData, SIZE_T size, UINT flags, const char* szStr, D3D10BlobHack** ppBlob); 2 | -------------------------------------------------------------------------------- /tests/output/staging/10073-UNI-2008.cs: -------------------------------------------------------------------------------- 1 | Utils.Curve attribute = (Utils.Curve)base.attribute; 2 | Utils.Curve attribute = (Utils.Curve)base.attribute; 3 | -------------------------------------------------------------------------------- /tests/output/staging/10104-UNI-2505.cs: -------------------------------------------------------------------------------- 1 | public class Class : Base 2 | {} 3 | -------------------------------------------------------------------------------- /tests/output/staging/60021-UNI-12046.cpp: -------------------------------------------------------------------------------- 1 | //The space shouldn't be removed. This is a STRUCT 2 | struct ALIGN_TYPE(16) StructName; 3 | -------------------------------------------------------------------------------- /tests/output/staging/60029-UNI-21510.cpp: -------------------------------------------------------------------------------- 1 | typedef std::pair Object; 2 | -------------------------------------------------------------------------------- /tests/output/staging/60031-UNI-21728.cpp: -------------------------------------------------------------------------------- 1 | friend std::ostream& operator<<(std::ostream& os, const ScriptingObjectPtr& o); 2 | -------------------------------------------------------------------------------- /tests/output/staging/60034-UNI-21731.cpp: -------------------------------------------------------------------------------- 1 | template 2 | struct invoke_fptr 3 | { 4 | }; 5 | -------------------------------------------------------------------------------- /tests/output/staging/60035-UNI-22858.cs: -------------------------------------------------------------------------------- 1 | byte[] utf8Str = new byte[] { 197, 170, 110, 196, 173, 099, 197, 141, 100, 101, 204, 189 }; 2 | -------------------------------------------------------------------------------- /tests/output/staging/60036-UNI-2680.cpp: -------------------------------------------------------------------------------- 1 | A(B(C( 2 | D(a | 3 | b | c)))); 4 | -------------------------------------------------------------------------------- /tests/output/staging/60043-UNI-34087.cpp: -------------------------------------------------------------------------------- 1 | TEST_FIXTURE(Fixture, EditorTick_WhenEditorBecomesPaused_PausesProfiling) 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /tests/output/staging/60047-UNI-24076.cs: -------------------------------------------------------------------------------- 1 | inline double GetAudioBitrateForQuality(double f) { return 56000 + 200000 * (f); } 2 | -------------------------------------------------------------------------------- /tests/output/staging/60058-UNI-10566.cpp: -------------------------------------------------------------------------------- 1 | #define WARN_IF(EXP) \ 2 | do { if (EXP) \ 3 | fprintf (stderr, "Warning: " #EXP "\n"); } \ 4 | 5 | --------------------------------------------------------------------------------