[cfe-commits] r70656 - /cfe/trunk/lib/Frontend/TextDiagnosticPrinter.cpp

Chris Lattner clattner at apple.com
Sat May 2 22:11:07 PDT 2009


On May 2, 2009, at 9:33 PM, Douglas Gregor wrote:

> Author: dgregor
> Date: Sat May  2 23:33:32 2009
> New Revision: 70656
>
> URL: http://llvm.org/viewvc/llvm-project?rev=70656&view=rev
> Log:
> When a fix-it hint would span multiple lines, don't print it; half a
> fix-it hint is much worse than no fix-it hint. (Fixes PR4084).
>
> When we need to truncate a source line to fix in the terminal, make
> sure to take the width of the fix-it information into account, too.

Completely unrelated to this fix, I'm now seeing:

t.c:5:74: error: unsupported inline asm: input with type 'unsigned  
long' matching
       ?output with type 'int'
   return   ({asm volatile("call __put_user_" "8" :  
"=a" (__ret_pu) :"0" (__pu_val)
                                                          
~~~~~~~~~~      ~^~~~~~~~~

The "?" before the continuation of the diagnostic line is kinda weird,  
is this intentional?

-Chris



More information about the cfe-commits mailing list