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: [gcc-in-cxx] Put empty loop ';' on new line


On Sun, Feb 1, 2009 at 1:11 AM, Ian Lance Taylor <iant@google.com> wrote:
> g++ warns when a loop is terminated by a semicolon with no intervening
> whitespace.  This patch avoids this warning in several cases by
> adding a newline and appropriate indentation.  Committed to gcc-in-cxx
> branch.

This is probably a stupid question, but why are there empty loops to begin with?


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