Skip to content
  1. Sep 12, 2008
  2. Sep 10, 2008
  3. Aug 22, 2008
    • Argyrios Kyrtzidis's avatar
      Add support for C++'s "type-specifier ( expression-list )" expression: · 857fcc2f
      Argyrios Kyrtzidis authored
      -The Parser calls a new "ActOnCXXTypeConstructExpr" action.
      -Sema, depending on the type and expressions number:
         -If the type is a class, it will treat it as a class constructor. [TODO]
         -If there's only one expression (i.e. "int(0.5)" ), creates a new "CXXFunctionalCastExpr" Expr node
         -If there are no expressions (i.e "int()" ), creates a new "CXXZeroInitValueExpr" Expr node.
      
      llvm-svn: 55177
      857fcc2f
  4. Aug 11, 2008
    • Daniel Dunbar's avatar
      Minor #include cleaning · 34fb6727
      Daniel Dunbar authored
       - Drop TokenKinds.h from Action.h
       - Move DeclSpec.h from Sema.h into individual Sema .cpp files
      
      llvm-svn: 54625
      34fb6727
  5. Aug 10, 2008
  6. Jul 01, 2008
  7. Mar 16, 2008
    • Chris Lattner's avatar
      Make a major restructuring of the clang tree: introduce a top-level · 7a51313d
      Chris Lattner authored
      lib dir and move all the libraries into it.  This follows the main
      llvm tree, and allows the libraries to be built in parallel.  The
      top level now enforces that all the libs are built before Driver,
      but we don't care what order the libs are built in.  This speeds
      up parallel builds, particularly incremental ones.
      
      llvm-svn: 48402
      7a51313d
  8. Feb 26, 2008
  9. Dec 29, 2007
  10. Sep 16, 2007
  11. Aug 25, 2007
    • Steve Naroff's avatar
      Give CXXBoolLiteralExpr a type (all expressions need a valid type). · aac9415b
      Steve Naroff authored
      This fixes the following:
      
      ******************** TEST 'Parser/cxx-bool.cpp' FAILED! ********************
      Command:
      clang -fsyntax-only Parser/cxx-bool.cpp
      Output:
      SemaExpr.cpp:731: failed assertion `!t.isNull() && "DefaultFunctionArrayConversion - missing type"'
      Output/cxx-bool.cpp.out.script: line 1: 22697 Abort trap              clang -fsyntax-only Parser/cxx-bool.cpp
      
      llvm-svn: 41401
      aac9415b
  12. Jun 29, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · a6930037
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Fix for C++ casting operators failing during parsing. Deriving the C++ cast
        expressions from CastExpr was the wrong way to go. Its constructor creates
        null QualTypes in one of its constructors. This doesn't work well with how
        the C++ casting expression class wanted to do things. Derive just from Expr
        instead.
      
      llvm-svn: 39714
      a6930037
  13. 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
  14. May 17, 2007
    • Steve Naroff's avatar
      Bug #: · 53f07dc5
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Refinements to the SourceRange/SourceLocation work.
      
      - Renamed Expr::getSourceLocation() helper function to getLocStart(). Added
      Expr::getLocEnd(). Converted all the getSourceRange() methods to use the new helpers.
      - Removed many getSourceLocation() accessors. The Expr::getLocStart() helper
      is the "right" way to get a source location. If we want to add class specific
      getters (for location), then the names should be reflective of the specific class.
      For examaple, UnaryOperator::getOpLocation(). For now, I see no reason to have these.
      - Fixed StringLiteral.
      - Start actually instantiating ParenExpr()!
      
      llvm-svn: 39453
      53f07dc5
  15. Apr 06, 2007
    • Steve Naroff's avatar
      Bug #: · e5aa9be0
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      -Changed the name of TypeRef to QualType. Many diffs.
      -Changed the QualType constructor to require Quals be passed. This makes the code a bit
      more verbose, however will make the code easier to work on. Given the complexity
      of types, this should help spot bogosities.
      -Changed the Expr constructor to require a QualType. Same motivation.
      
      llvm-svn: 39395
      e5aa9be0
  16. Feb 13, 2007
  17. Dec 04, 2006
Loading