Skip to content
Snippets Groups Projects
  1. Jul 23, 2014
  2. Mar 26, 2014
  3. Dec 19, 2013
    • Ted Kremenek's avatar
      Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. · 00374d18
      Ted Kremenek authored
      Fixes <rdar://problem/15584219> and <rdar://problem/12241361>.
      
      This change looks large, but all it does is reuse and consolidate
      the delayed diagnostic logic for deprecation warnings with unavailability
      warnings.  By doing so, it showed various inconsistencies between the
      diagnostics, which were close, but not consistent.  It also revealed
      some missing "note:"'s in the deprecated diagnostics that were showing
      up in the unavailable diagnostics, etc.
      
      This change also changes the wording of the core deprecation diagnostics.
      Instead of saying "function has been explicitly marked deprecated"
      we now saw "'X' has been been explicitly marked deprecated".  It
      turns out providing a bit more context is useful, and often we
      got the actual term wrong or it was not very precise
       (e.g., "function" instead of "destructor").  By just saying the name
      of the thing that is deprecated/deleted/unavailable we define
      this issue away.  This diagnostic can likely be further wordsmithed
      to be shorter.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197627 91177308-0d34-0410-b5e6-96231b3b80d8
      00374d18
  4. Nov 24, 2013
  5. Jul 30, 2013
  6. Jul 18, 2013
  7. Jun 06, 2013
  8. May 23, 2013
  9. Aug 08, 2012
  10. Jun 20, 2012
  11. Jun 19, 2012
  12. Apr 23, 2012
  13. Feb 23, 2012
  14. Feb 16, 2012
  15. Feb 01, 2012
  16. May 12, 2011
  17. Feb 22, 2011
  18. Nov 23, 2010
  19. Oct 18, 2010
  20. Oct 06, 2010
  21. Sep 15, 2010
Loading