This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] C++ FE: handle misspelled identifiers and typenames


On Wed, Jul 20, 2016 at 10:46:58AM -0400, David Malcolm wrote:
> +      /* Skip anticipated decls of builtin functions.  */
> +      if (TREE_CODE (t) == FUNCTION_DECL)
> +	if (DECL_BUILT_IN (t))
> +	  if (DECL_ANTICIPATED (t))

Just a style comment, wouldn't
      if (TREE_CODE (t) == FUNCTION_DECL
	  && DECL_BUILT_IN (t)
	  && DECL_ANTICIPATED (t))
	continue;
be better?

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]