aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2023-09-16 23:39:45 +0200
committerMarc Poulhiès <dkm@kataplop.net>2023-11-20 21:39:15 +0100
commit721cdcd1ddde0738deb08895e113a8db84187a14 (patch)
tree9284301df753f92081147ebc42453540e5ba11f9 /gcc/cp
parenta034cca0a222598cb42302c059262b654685ff19 (diff)
downloadgcc-721cdcd1ddde0738deb08895e113a8db84187a14.zip
gcc-721cdcd1ddde0738deb08895e113a8db84187a14.tar.gz
gcc-721cdcd1ddde0738deb08895e113a8db84187a14.tar.bz2
Trivial typo fix in variadic
Fix all occurences of varadic, except for Rust (will be part of another change). gcc/ChangeLog: * config/nvptx/nvptx.h (struct machine_function): Fix typo in variadic. * config/nvptx/nvptx.cc (nvptx_function_arg_advance): Adjust to use fixed name. (nvptx_declare_function_name): Likewise. (nvptx_call_args): Likewise. (nvptx_expand_call): Likewise. gcc/cp/ChangeLog: * lambda.cc (compare_lambda_sig): Fix typo in variadic. libcpp/ChangeLog: * macro.cc (parse_params): Fix typo in variadic. (create_iso_definition): Likewise. Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/lambda.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lambda.cc b/gcc/cp/lambda.cc
index a359bc6..34d0190 100644
--- a/gcc/cp/lambda.cc
+++ b/gcc/cp/lambda.cc
@@ -1619,7 +1619,7 @@ compare_lambda_sig (tree fn_a, tree fn_b)
{
if (!args_a || !args_b)
return false;
- // This check also deals with differing varadicness
+ // This check also deals with differing variadicness
if (!same_type_p (TREE_VALUE (args_a), TREE_VALUE (args_b)))
return false;
}