Skip to content
  1. Jul 22, 2007
  2. Jul 21, 2007
  3. Jul 20, 2007
  4. Jul 16, 2007
  5. Jul 15, 2007
  6. Jul 14, 2007
  7. Jul 13, 2007
  8. Jul 07, 2007
    • Steve Naroff's avatar
      Bug #: · 4ae0ac6a
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      - Finished semantic analysis for vectors, added some diagnostics.
      - Added AST for vectors (instantiation, installation into the decl).
      - Fixed bug in ParseArraySubscriptExpr()...this crasher was introduced by me
      when we added the range support.
      - Turned pedantic off by default. Since vectors are gcc extensions, having
      pedantic on by default was annoying. Turning it off by default is  also
      consistent with gcc (but this wasn't my primary motivation).
      - Tweaked some comments and diagnostics.
      
      Note: The type checking code is still under construction (for vectors). This
      will be my next check-in.
      
      llvm-svn: 39715
      4ae0ac6a
  9. Jun 28, 2007
  10. Jun 27, 2007
    • Chris Lattner's avatar
      tersify output · c2d8163b
      Chris Lattner authored
      llvm-svn: 39692
      c2d8163b
    • Chris Lattner's avatar
      rename LLVMDiagChecker.* -> DiagChecker.* · a092b149
      Chris Lattner authored
      llvm-svn: 39690
      a092b149
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · a5b3bb11
      Bill Wendling authored
      - Chris noticed that if there were multiple warnings/errors expected
        throughout the file and we were checking only one of them, then it
        would go ahead and say that the whole file was okay. Fixed this by
        adding a check for the line number as well as the string.
      
      llvm-svn: 39689
      a5b3bb11
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 52b0a4e8
      Bill Wendling authored
      Removed unnecessary typedef.
      
      llvm-svn: 39686
      52b0a4e8
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 97d4146c
      Bill Wendling authored
      - Shouldn't increment the iterator but a copy of it.
      
      llvm-svn: 39679
      97d4146c
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 469211a2
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Added a new diagnostic client, TextDiagnosticBuffer. It buffers all
        reported diagnostics.
      - Use the new diagnostic client to check that expected diagnostics are
        actually emitted. The way this is done is to put the expected
        diagnostic in a comment on the line you expect it to be emitted for.
        Like this:
      
          int X = A; // expected-warning {{blah}}
      
      - Use -parse-ast-check to use this feature.
      
      llvm-svn: 39678
      469211a2
  11. Jun 23, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · aec64c35
      Bill Wendling authored
      - Separate out the AST streamers from the clang.cpp file into their very
        own special files.
      
      llvm-svn: 39676
      aec64c35
    • Bill Wendling's avatar
      Bug #: · 26e1f8c0
      Bill Wendling authored
      Submitted by: Bill Wendling
      
      - Convert std::cerr to using fprintf(stderr, ...) instead.
      
      llvm-svn: 39675
      26e1f8c0
  12. Jun 16, 2007
    • Chris Lattner's avatar
      Finally bite the bullet and make the major change: split the clang namespace · 23b7eb67
      Chris Lattner authored
      out of the llvm namespace.  This makes the clang namespace be a sibling of
      llvm instead of being a child.
      
      The good thing about this is that it makes many things unambiguous.  The
      bad things is that many things in the llvm namespace (notably data structures
      like smallvector) now require an llvm:: qualifier.  IMO, libsystem and libsupport
      should be split out of llvm into their own namespace in the future, which will fix
      this issue.
      
      llvm-svn: 39659
      23b7eb67
  13. Jun 15, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 52d85bdd
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Refactor some code from main() and ProcessInputFile() so that it helps to
        decouple the initialization of the Preprocessor object from the
        diagnostic client.
      
      llvm-svn: 39657
      52d85bdd
  14. Jun 13, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 478b8863
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Created a base class (TextDiagnostics) for all text diagnostic classes.
        Moved the "IgnoreDiagnostic" method up there, and created a method that
        will format the diagnostic string, replacing %# with the appropriate
        string. This is in preparation for adding a text diagnostic checker.
      
      llvm-svn: 39650
      478b8863
  15. 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
  16. Jun 08, 2007
  17. Jun 07, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · c2b867ac
      Bill Wendling authored
      - Renamed file guard.
      
      llvm-svn: 39604
      c2b867ac
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · 37b1ddec
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Separated out the diagnostic client from the clang driver. This is in
        preparation for creating a diagnostic client that will be used to check
        error and warning messages.
      
      llvm-svn: 39603
      37b1ddec
  18. May 31, 2007
  19. May 30, 2007
  20. May 29, 2007
  21. May 28, 2007
  22. May 24, 2007
  23. May 23, 2007
    • Steve Naroff's avatar
      Bug #: · f84d11f9
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Added "global" statistics gathering for Decls/Stmts/Exprs.
      Very useful for working with a single file. When we start compiling
      multiple files, will need to enhance this to collect stats on a per-module
      basis.
      
      llvm-svn: 39485
      f84d11f9
Loading