Skip to content
  1. May 25, 2010
    • Chris Lattner's avatar
      improve the fixit for the missing : error when parsing ?:. When · fb58515b
      Chris Lattner authored
      there are already two spaces before the token where the : was expected,
      put the : in between the spaces.  This means we get it right in both
      of these cases:
      
      t.c:2:17: error: expected ':'
        return a ? b  c;
                      ^
                     :
      t.c:3:16: error: expected ':'
        return a ? b c;
                     ^
                     : 
      
      In the later case, the diagnostic says to insert ": ", in the former
      case it says to insert ":" between the spaces.  This fixes rdar://8007231
      
      llvm-svn: 104569
      fb58515b
  2. May 24, 2010
  3. May 23, 2010
Loading