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 05, 2011
  3. May 03, 2011
  4. May 02, 2011
  5. Apr 30, 2011
  6. Apr 28, 2011
  7. Apr 27, 2011
  8. Apr 26, 2011
  9. Apr 25, 2011
    • John Wiegley's avatar
      t/clang/expr-traits · f9f6584e
      John Wiegley authored
      Patch authored by David Abrahams.
      
      These two expression traits (__is_lvalue_expr, __is_rvalue_expr) are used for
      parsing code that employs certain features of the Embarcadero C++ compiler.
      
      llvm-svn: 130122
      f9f6584e
  10. Apr 23, 2011
  11. Apr 22, 2011
  12. Apr 19, 2011
  13. Apr 15, 2011
  14. Apr 12, 2011
  15. Apr 11, 2011
  16. Apr 10, 2011
  17. 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
    • Ted Kremenek's avatar
      Start overhauling static analyzer support for C++ constructors. The inlining... · f603f3af
      Ted Kremenek authored
      Start overhauling static analyzer support for C++ constructors.  The inlining support isn't complete, and needs
      to be reworked to model CallEnter/CallExit (just like all other calls).  For now, treat constructors mostly
      like other function calls, making the analysis of C++ code just a little more useful.
      
      llvm-svn: 129166
      f603f3af
  18. Apr 07, 2011
    • John McCall's avatar
      Basic, untested implementation for an "unknown any" type requested by LLDB. · 31996343
      John McCall authored
      The idea is that you can create a VarDecl with an unknown type, or a
      FunctionDecl with an unknown return type, and it will still be valid to
      access that object as long as you explicitly cast it at every use.  I'm
      still going back and forth about how I want to test this effectively, but
      I wanted to go ahead and provide a skeletal implementation for the LLDB
      folks' benefit and because it also improves some diagnostic goodness for
      placeholder expressions.
      
      llvm-svn: 129065
      31996343
  19. Apr 06, 2011
  20. Apr 05, 2011
Loading