Skip to content
  1. Feb 25, 2008
  2. Feb 23, 2008
    • Eli Friedman's avatar
      Minor code cleanup. · 401675b0
      Eli Friedman authored
      llvm-svn: 47530
      401675b0
    • Ted Kremenek's avatar
      Patch from Argiris Kirtzidis: · 652d18e3
      Ted Kremenek authored
      The patch fixes some debug assertions that the msvcrt throws:
      
      1)
      -    if (isprint(value) && value < 256) {
      +    if (value < 256 && isprint(value)) {
      
      isprint() does an assertion check of its own for value < 256; check value before calling it to prevent it.
      
      
      2)
      -    Stmt->Names.push_back(std::string(&data[0], data.size()));
      +    if (data.size() == 0)
      +      Stmt->Names.push_back(std::string());
      +    else
      +      Stmt->Names.push_back(std::string(&data[0], data.size()));
      
      If data.size() == 0 then data[0] throws "out of range" assertion.
      
      llvm-svn: 47512
      652d18e3
  3. Feb 21, 2008
  4. Feb 20, 2008
    • Chris Lattner's avatar
      Alternate address spaces work: · 445fcabf
      Chris Lattner authored
      rename QualType::getQualifiers to getCVRQualifiers.
      Add some fixme's and clean up some code relevant to qualifiers.
      Change ASQualType to contain a Type* instead of a QualType.  
      Any CVR qualifiers should be on the outer qual type.
      
      llvm-svn: 47398
      445fcabf
  5. Feb 18, 2008
  6. Feb 17, 2008
  7. Feb 16, 2008
  8. Feb 15, 2008
  9. Feb 13, 2008
  10. Feb 12, 2008
  11. Feb 10, 2008
    • Steve Naroff's avatar
      · 1018ea35
      Steve Naroff authored
      Refine bug fix to Expr::isLvalue (commit r46917).
      
      llvm-svn: 46919
      1018ea35
    • Steve Naroff's avatar
      · 43c50866
      Steve Naroff authored
      Change Expr::isLvalue() to allow the "void" type. This fixes bz2000 submitted by Neil Booth.
      
      Neil, can you point me to the place in the C99 spec that says this is allowed? I thought Expr::isLvalue() conformed to the spec, which says "C99 6.3.2.1: an lvalue is an expression with an object type or an incomplete type other than void.". Please advise.
      
      llvm-svn: 46917
      43c50866
  12. Feb 08, 2008
  13. Feb 07, 2008
  14. Feb 06, 2008
  15. Feb 04, 2008
  16. Feb 01, 2008
    • Ted Kremenek's avatar
      For ObjCAtCatchStmt, removed field 'NextAtCatchStmt' (which referenced the next @catch) · a496584c
      Ted Kremenek authored
      and put the the next ObjcAtCatchStmt* as part of SubExprs.  This fixes a bug with
      iterating over the children of ObjcAtCatch, where the next @catch was not
      properly being iterated over as a child.
      
      Altered serialization of ObjCAtCatchStmt to reflect this new layout of
      its subexpressions, and fixed an ownership issue with the next @catch not
      being serialized as an owned pointer.
      
      llvm-svn: 46647
      a496584c
  17. Jan 31, 2008
    • Anders Carlsson's avatar
      Make CallExpr::isBuiltinConstantExpr slightly more efficient. · fbcf676a
      Anders Carlsson authored
      llvm-svn: 46594
      fbcf676a
    • Steve Naroff's avatar
      · f6e3b329
      Steve Naroff authored
      Add support for CallExpr::isBuiltinConstantExpr(). For now, this hook is used to support CFConstantStrings. Can be extended to support other built-in functions.
      
      This allows the following code to compile without error...
      
      #include <CoreFoundation/CoreFoundation.h>
      
      #define CONST_STRING_DECL(S, V) const CFStringRef S = (const CFStringRef)__builtin___CFStringMakeConstantString(V);
      
      CONST_STRING_DECL(kCFTimeZoneSystemTimeZoneDidChangeNotification, "kCFTimeZoneSystemTimeZoneDidChangeNotification")
      
      llvm-svn: 46592
      f6e3b329
Loading