- Sep 12, 2008
-
-
Douglas Gregor authored
Give string literals const element typesin C++, and cope with the deprecated C++ conversion from a string literal to a pointer-to-non-const-character llvm-svn: 56137
-
- Sep 10, 2008
-
-
Argyrios Kyrtzidis authored
Implement Sema support for the 'condition' part of C++ selection-statements and iteration-statements (if/switch/while/for). llvm-svn: 56044
-
- Aug 22, 2008
-
-
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
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
- Drop TokenKinds.h from Action.h - Move DeclSpec.h from Sema.h into individual Sema .cpp files llvm-svn: 54625
-
- Aug 10, 2008
-
-
Chris Lattner authored
llvm-svn: 54605
-
- Jul 01, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52956
-
- Mar 16, 2008
-
-
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
-
- Feb 26, 2008
-
-
Chris Lattner authored
Patch by Mike Stump! llvm-svn: 47582
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Sep 16, 2007
-
-
Steve Naroff authored
llvm-svn: 42000
-
- Aug 25, 2007
-
-
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
-
- Jun 29, 2007
-
-
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
-
- Jun 16, 2007
-
-
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
-
- May 17, 2007
-
-
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
-
- Apr 06, 2007
-
-
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
-
- Feb 13, 2007
-
-
Bill Wendling authored
llvm-svn: 39340
-
Bill Wendling authored
llvm-svn: 39338
-
- Dec 04, 2006
-
-
Chris Lattner authored
reinterpret_cast, and static_cast. Patch by Bill! llvm-svn: 39247
-