[gcc r11-4978] clang: fix -Wmisleading-indentation warning.
Martin Liska
marxin@gcc.gnu.org
Fri Nov 13 13:05:31 GMT 2020
https://gcc.gnu.org/g:5fa821bba737cf3e74801c5fe4d3e87a62aa79bf
commit r11-4978-g5fa821bba737cf3e74801c5fe4d3e87a62aa79bf
Author: Martin Liska <mliska@suse.cz>
Date: Fri Nov 13 14:04:09 2020 +0100
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:
---
gcc/c-family/c-attribs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/c-family/c-attribs.c b/gcc/c-family/c-attribs.c
index abdc32eb7d4..b979fbcc0c6 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
More information about the Gcc-cvs
mailing list