Skip to content
  1. May 06, 2011
    • Alexis Hunt's avatar
      Modify some deleted function methods to better reflect reality: · 4a8ea109
      Alexis Hunt authored
       - New isDefined() function checks for deletedness
       - isThisDeclarationADefinition checks for deletedness
       - New doesThisDeclarationHaveABody() does what
         isThisDeclarationADefinition() used to do
       - The IsDeleted bit is not propagated across redeclarations
       - isDeleted() now checks the canoncial declaration
       - New isDeletedAsWritten() does what it says on the tin.
       - isUserProvided() now correct (thanks Richard!)
      
      This fixes the bug that we weren't catching
      
      void foo() = delete;
      void foo() {}
      
      as being a redefinition.
      
      llvm-svn: 131013
      4a8ea109
  2. May 03, 2011
  3. May 02, 2011
  4. Apr 30, 2011
  5. Apr 28, 2011
  6. Apr 27, 2011
  7. Apr 26, 2011
  8. Apr 23, 2011
  9. Apr 19, 2011
  10. Apr 15, 2011
  11. Apr 12, 2011
  12. Apr 09, 2011
    • Lenny Maiorani's avatar
      strcat() and strncat() model additions to CStringChecker. · 467dbd5f
      Lenny Maiorani authored
      Validates inputs are not NULL, checks for overlapping strings, concatenates the strings checking for buffer overflow, sets the length of the destination string to the sum of the s1 length and the s2 length, binds the return value to the s1 value.
      
      llvm-svn: 129215
      467dbd5f
  13. Apr 05, 2011
  14. Apr 03, 2011
    • Lenny Maiorani's avatar
      Refactoring the security checker a little bit so that each CallExpr check... · fca2e961
      Lenny Maiorani authored
      Refactoring the security checker a little bit so that each CallExpr check doesn't get called for each CallExpr. Instead it does a switch and only runs the check for the proper identifier. Slight speed improvement (probably significant on very large ASTs), and should make it easier and more clear to add more checks for other CallExpr's later.
      
      llvm-svn: 128785
      fca2e961
  15. Apr 02, 2011
  16. Apr 01, 2011
  17. Mar 31, 2011
  18. Mar 30, 2011
  19. Mar 29, 2011
  20. Mar 26, 2011
  21. Mar 24, 2011
  22. Mar 19, 2011
  23. Mar 17, 2011
  24. Mar 16, 2011
  25. Mar 15, 2011
  26. Mar 14, 2011
  27. Mar 13, 2011
Loading