Skip to content
  1. Jun 02, 2007
  2. Jun 01, 2007
    • Steve Naroff's avatar
      Bug #: · 4555292b
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      After speaking with Chris, decided not to have GCC "attributes" inherit
      from Decl. This will enable us to grow the attribute hierarchy over time
      without effecting Decls.
      
      llvm-svn: 39543
      4555292b
    • Steve Naroff's avatar
      Bug #: · 6a0675f8
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Add implemention file for GCC attributes
      
      llvm-svn: 39542
      6a0675f8
    • Steve Naroff's avatar
      Bug #: · ff127787
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Interface file for GCC attributes.
      
      llvm-svn: 39541
      ff127787
    • Chris Lattner's avatar
      split stmt/expr codegen into their own files. · e47e440c
      Chris Lattner authored
      llvm-svn: 39540
      e47e440c
    • Steve Naroff's avatar
      Bug #: · 0f2fe17f
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Implement support for GCC __attribute__.
      
      - Implement "TODO" in Parser::ParseAttributes. Changed the return type from
      void to Parser::DeclTy. Changed all call sites to accept the return value.
      - Added Action::ParseAttribute and Sema::ParseAttribute to return an
      appropriate AST node. Added new node AttributeDecl to Decl.h.
      
      Still to do...hook up to the Decl...
      
      llvm-svn: 39539
      0f2fe17f
  3. May 31, 2007
  4. May 30, 2007
  5. May 29, 2007
    • Steve Naroff's avatar
      Bug #: · 6f49f5df
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      - Finished Sema::ParseReturnStmt(). Still need to tweak ranges.
      - Tweaked location for function arguments (they now point at the expression directly, no parens or commas).
      - Added InvalidOperands helper...was sick of looking at the same 3 lines in ~9 Check functions.
      - Added a few diags and moved a group of statement diags to the proper comment/category.
      
      llvm-svn: 39517
      6f49f5df
    • Chris Lattner's avatar
      Fix two bugs that fell out from a testcase steve noticed. for this testcase: · e64a1b52
      Chris Lattner authored
      extern int pintFunc(int *, int *);
      
      int test() {
        pintFunc(0,
                 3);
      }
      
      We now print:
      
      t3.c:4:13: warning: passing argument 2 makes pointer from integer without a cast
        pintFunc(0,
        ~~~~~~~~  ^
      
      instead of:
      
      t3.c:4:13: warning: passing argument 2 makes pointer from integer without a cast
        pintFunc(0,
        ~~~~~~~~
      
      llvm-svn: 39516
      e64a1b52
    • Steve Naroff's avatar
      Bug #: · 86272ea1
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Implement type checking for ParseDoStmt, ParseWhileStmt, ParseIfStmt, and
      ParseForStmt. ParseForStmt still under construction (contains a FIXME).
      
      llvm-svn: 39515
      86272ea1
  6. May 28, 2007
    • Steve Naroff's avatar
      Bug #: · 3c87a57a
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Add range support to Sema::CheckConditionalOperands().
      
      llvm-svn: 39514
      3c87a57a
Loading