Skip to content
  1. May 20, 2010
  2. May 15, 2010
  3. May 14, 2010
  4. May 12, 2010
  5. May 11, 2010
  6. May 06, 2010
  7. May 05, 2010
  8. May 04, 2010
    • Chris Lattner's avatar
      add a new -fdiagnostics-show-category=none/id/name option, giving control · bf6fac84
      Chris Lattner authored
      over choice of:
      
      t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
      t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,1]
      t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,Format String]
      
      dox to come.
      
      llvm-svn: 103056
      bf6fac84
    • Douglas Gregor's avatar
      Introduce a limit on the depth of the macro instantiation backtrace · cd121fb0
      Douglas Gregor authored
      printed in a diagnostic, similar to the limit we already have on the
      depth of the template instantiation backtrace. The macro instantiation
      backtrace is limited to 10 "instantiated from:" diagnostics; when it's
      longer than that, we'll show the first half, then say how many were
      suppressed, then show the second half. The limit can be changed with
      -fmacro-instantiation-limit=N, and turned off with N=0.
      
      This eliminates a lot of note spew with libraries making use of the
      Boost.Preprocess library.
      
      llvm-svn: 103014
      cd121fb0
  9. Apr 30, 2010
  10. Apr 29, 2010
  11. Apr 27, 2010
  12. Apr 24, 2010
  13. Apr 20, 2010
    • Douglas Gregor's avatar
      Introduce a limit on the depth of the template instantiation backtrace · ffed1cb3
      Douglas Gregor authored
      we will print with each error that occurs during template
      instantiation. When the backtrace is longer than that, we will print
      N/2 of the innermost backtrace entries and N/2 of the outermost
      backtrace entries, then skip the middle entries with a note such as:
      
        note: suppressed 2 template instantiation contexts; use
        -ftemplate-backtrace-limit=N to change the number of template
        instantiation entries shown
      
      This should eliminate some excessively long backtraces that aren't
      providing any value.
      
      llvm-svn: 101882
      ffed1cb3
  14. Apr 17, 2010
  15. Apr 15, 2010
  16. Apr 11, 2010
  17. Apr 10, 2010
  18. Apr 09, 2010
  19. Apr 08, 2010
  20. Apr 07, 2010
    • Chris Lattner's avatar
      add a new driver-level -ferror-limit=412 option, which causes clang to stop · b35583df
      Chris Lattner authored
      emitting diagnostics after it has produced that many errors.  Give this a
      default value of 20 which produces plenty of errors for people to fix before
      recompiling but not so many that their entire console scrolls away when the
      compiler gets confused.  The experience looks like this:
      
      $ clang foo.c
      <tons of crap>
      foo.c:102:3: error: unknown type name 'somethingbad'
        somethingbad x;
        ^
      fatal error: too many errors emitted, stopping now
      36 warnings and 20 errors generated.
      
      llvm-svn: 100689
      b35583df
  21. Apr 06, 2010
  22. Apr 01, 2010
  23. Mar 29, 2010
  24. Mar 26, 2010
  25. Mar 24, 2010
  26. Mar 22, 2010
Loading