Skip to content
  1. Oct 23, 2008
  2. Oct 22, 2008
  3. Oct 21, 2008
  4. Oct 20, 2008
  5. Oct 19, 2008
    • Daniel Dunbar's avatar
      Improve attribute parsing & tests. · 70e3ebaf
      Daniel Dunbar authored
       - Support noreturn on function-typed variables.
      
       - Extend isFunctionOrMethod to return true for K&R functions and
         provide hasFunctionProto to check if a decl has information about
         its arguments. This code needs some serious cleaning, but works.
      
       - Add/improve test cases for noreturn and unused.
      
      llvm-svn: 57778
      70e3ebaf
  6. Oct 16, 2008
  7. Oct 15, 2008
    • Argyrios Kyrtzidis's avatar
      Fix this bug: · 2e3e7563
      Argyrios Kyrtzidis authored
      typedef int f();
      struct S {
         f *x; // incorrectly assuming this is function decl, leading to failed assertions.
      };
      
      llvm-svn: 57598
      2e3e7563
    • Steve Naroff's avatar
      Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings. · 8afa9891
      Steve Naroff authored
      Note: One day, we should consider moving the actual diags to ObjCQualifiedIdTypesAreCompatible(), since it has more information on the actual problem. GCC currently emits slightly more instructive errors for some cases involving protocols. I added a FIXME to the code.
      
      llvm-svn: 57529
      8afa9891
  8. Oct 14, 2008
  9. Oct 12, 2008
  10. Oct 10, 2008
  11. Oct 09, 2008
    • Argyrios Kyrtzidis's avatar
      Fix a bug that crashed clang when parsing this: · 1207d319
      Argyrios Kyrtzidis authored
      class C {
        static const int number = 50;
        static int arr[number];
      };
      
      Here's how it worked:
      -GetTypeForDeclarator was called from both Sema::ActOnCXXMemberDeclarator and Sema::ActOnDeclarator.
      -VariableArrayTypes are not uniqued so two VariableArrayTypes were created with the same DeclRefExpr.
      -On exit they both tried to destroy that one DeclRefExpr.
      
      The fix is not to use GetTypeForDeclarator from the Sema::ActOnCXXMemberDeclarator.
      
      llvm-svn: 57313
      1207d319
  12. Oct 08, 2008
  13. Oct 07, 2008
  14. Oct 06, 2008
Loading