llvm/clang/test/CodeCompletion
Aaron Ballman 25098736c1 Use functions with prototypes when appropriate; NFC
A significant number of our tests in C accidentally use functions
without prototypes. This patch converts the function signatures to have
a prototype for the situations where the test is not specific to K&R C
declarations. e.g.,

  void func();

becomes

  void func(void);

This is the fifth batch of tests being updated (there are a significant
number of other tests left to be updated).

Note, the behavior of -ast-print is broken. It prints functions with a
prototype (void) as if they have no prototype () in C. Some tests need
to disable strict prototype checking when recompiling the results of an
-ast-print invocation.
2022-02-09 09:11:49 -05:00
..
Inputs
accessibility-crash.cpp
accessibility.cpp
after-function-equals.cpp
attr.cpp
auto.cpp
auto_type.c
bracket-decl.c
call.c
call.cpp
comments.cpp
concepts.cpp
constexpr.cpp
crash-func-decl.cpp
crash-func-init.cpp
crash-if-directive.cpp
crash-null-type.cpp
crash-skipped-bodies-template-inst.cpp
ctor-initializer.cpp [CodeCompletion] (mostly) fix completion in incomplete C++ ctor initializers. 2022-01-13 08:06:35 +01:00
ctor-signature.cpp [CodeCompletion] Signature help for aggregate initialization. 2022-01-04 16:00:22 +01:00
desig-init.cpp [CodeCompletion] Complete designators for fields in anonymous structs/unions 2022-01-11 00:58:49 +01:00
deuglify.cpp [CodeCompletion][clangd] Clean __uglified parameter names in completion & hover 2022-01-26 15:51:17 +01:00
documentation.cpp
documentation.m
enable-if-attr-crash.cpp
end-of-file.cpp
end-of-ident-macro.cpp
end-of-ident.cpp
enum-preferred-type.cpp
enum-switch-case-qualified.cpp
enum-switch-case.c
enum-switch-case.cpp
function-overloads.cpp
function-templates.cpp
functions.cpp
ignore-ns-level-decls.cpp
included-files.cpp
included-frameworks.m
included-symlinks.cpp
incomplete-member.cpp
incomplete-ret-type.cpp
inside-macros.cpp
invalid-initialized-class.cpp
keywords.cpp
lambdas.cpp
macros-in-modules.c
macros-in-modules.m
macros.c
member-access-qualifiers.cpp
member-access.c
member-access.cpp [clang][CodeComplete] Perform approximate member search in bases 2022-01-12 10:56:06 +01:00
namespace-alias.cpp
namespace.cpp
nested-name-specifier.cpp
objc-expr.m
objc-member-access.m
objc-message.m
objc-message.mm
objc-protocol-member-access.m
operator.cpp
ordinary-name-cxx11.cpp
ordinary-name.c
ordinary-name.cpp
overrides.cpp
paren_locs.cpp
patterns.cpp
pch-and-module.m
PR9728.cpp
pragma-macro-token-caching.c
preamble.c
preferred-type.cpp
qualifiers-as-written.cpp
self-inits.cpp
signatures-crash.cpp
skip-auto-funcs.cpp
some_struct.h
stdin.c
tag.c Use functions with prototypes when appropriate; NFC 2022-02-09 09:11:49 -05:00
tag.cpp
template-signature.cpp [CodeCompletion] Signature help for template argument lists 2022-01-03 16:28:16 +01:00
templates.cpp
this-quals.cpp
truncation.c
truncation.c.h
uninstantiated_params.cpp
using-namespace.cpp
using.cpp
variadic-template.cpp