From: Martin Liska Date: Fri, 13 Nov 2020 13:04:09 +0000 (+0100) Subject: clang: fix -Wmisleading-indentation warning. X-Git-Tag: basepoints/gcc-12~3279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fa821bba737cf3e74801c5fe4d3e87a62aa79bf;p=thirdparty%2Fgcc.git clang: fix -Wmisleading-indentation warning. gcc/c-family/c-attribs.c:4698:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] gcc/c-family/ChangeLog: * c-attribs.c (build_attr_access_from_parms): Format properly. --- diff --git a/gcc/c-family/c-attribs.c b/gcc/c-family/c-attribs.c index abdc32eb7d41..b979fbcc0c6c 100644 --- a/gcc/c-family/c-attribs.c +++ b/gcc/c-family/c-attribs.c @@ -4701,7 +4701,7 @@ build_attr_access_from_parms (tree parms, bool skip_voidptr) /* Attribute access takes a two or three arguments. Wrap VBLIST in another list in case it has more nodes than would otherwise fit. */ - vblist = build_tree_list (NULL_TREE, vblist); + vblist = build_tree_list (NULL_TREE, vblist); /* Build a single attribute access with the string describing all array arguments and an optional list of any non-parameter VLA