r181299 - Fix clang-format emacs integration in last line.
Dmitri Gribenko
gribozavr at gmail.com
Tue May 7 09:17:25 PDT 2013
On Tue, May 7, 2013 at 12:25 PM, Daniel Jasper <djasper at google.com> wrote:
> Author: djasper
> Date: Tue May 7 04:25:29 2013
> New Revision: 181299
>
> URL: http://llvm.org/viewvc/llvm-project?rev=181299&view=rev
> Log:
> Fix clang-format emacs integration in last line.
>
> Emacs seems to have a line that is just past the last character of the
> buffers content. This needs to be handled specially so that clang-format
> is not called with an invalid -offset.
This should be probably committed to Clang 3.3.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-commits
mailing list