]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
clang: fix -Wmisleading-indentation warning.
authorMartin Liska <mliska@suse.cz>
Fri, 13 Nov 2020 13:04:09 +0000 (14:04 +0100)
committerMartin Liska <mliska@suse.cz>
Fri, 13 Nov 2020 13:05:17 +0000 (14:05 +0100)
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.

gcc/c-family/c-attribs.c

index abdc32eb7d41bc1c2dff67fdfe337a47cdd9065e..b979fbcc0c6c571e33b3524c48cb0f79a81be4ea 100644 (file)
@@ -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