Skip to content
  1. Jun 11, 2007
    • Chris Lattner's avatar
      Emit codegen of enum literals. · f99b3f5e
      Chris Lattner authored
      llvm-svn: 39646
      f99b3f5e
    • Chris Lattner's avatar
      Enums are integer constant exprs, return their values. · 9fba0284
      Chris Lattner authored
      llvm-svn: 39645
      9fba0284
    • Chris Lattner's avatar
      Implement capturing of enum values and chaining of enums together. · 4ef40013
      Chris Lattner authored
      llvm-svn: 39644
      4ef40013
    • Steve Naroff's avatar
      Bug #: · a8fd973a
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Implement semantic analysis for vector_size attribute!
      We now produce the following diagnostics...
      
      [administrators-powerbook59:~/llvm/tools/clang] admin% ../../Debug/bin/clang vector.c
      vector.c:2:29: error: attribute requires precisely 1 argument
      typedef int __attribute__(( vector_size )) tVecp;
                                  ^
      vector.c:7:32: error: attribute requires precisely 1 argument
      extern int foo __attribute__(( vector_size ));
                                     ^
      vector.c:8:34: error: attribute requires precisely 1 argument
      extern float bar __attribute__(( vector_size(16,18) ));
                                       ^
      vector.c:11:34: error: vector_size requires integer constant (attribute ignored)
      extern char foo2 __attribute__(( vector_size(16.2) ));
                                       ^           ~~~~
      vector.c:21:47: error: invalid vector type 'struct s'
      struct s { int a; } structVar __attribute__(( vector_size(16) ));
      
      llvm-svn: 39643
      a8fd973a
    • Chris Lattner's avatar
      GCC accepts code like this as an extension: · 843c592e
      Chris Lattner authored
      static int seminal(from, to)
      {
      }
      
      llvm-svn: 39642
      843c592e
  2. Jun 10, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 314ae547
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Added a method "IgnoreDiagnostic" so that the diagnostic client can
        tell the diagnostic object that it doesn't want to handle a particular
        diagnostic message. In which case, it won't be counted as either a
        diagnostic or error.
      
      llvm-svn: 39641
      314ae547
    • Steve Naroff's avatar
      Bug #: · 0f05a7ae
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Changed the name of DeclSpec.AddAttribute and Declarator.AddAttribute to
      AddAttributes(). Also added some (much needed) comments. While documenting,
      realized I could simplify & tighten up Declarator.AddAttributes...
      
      llvm-svn: 39640
      0f05a7ae
  3. Jun 09, 2007
  4. Jun 08, 2007
Loading