summaryrefslogtreecommitdiffstats
path: root/clang/Sema/SemaExprCXX.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-51/+0
| | | | | | | | | | 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
* add parsing, ast building and pretty printing support for C++ throw expressions.Chris Lattner2008-02-261-0/+6
| | | | | | Patch by Mike Stump! llvm-svn: 47582
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. llvm-svn: 45410
* Rename statement actions (from Parse-prefix to ActOn-prefix).Steve Naroff2007-09-161-4/+4
| | | | llvm-svn: 42000
* Give CXXBoolLiteralExpr a type (all expressions need a valid type).Steve Naroff2007-08-251-1/+2
| | | | | | | | | | | | | 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
* Submitted by: Bill WendlingBill Wendling2007-06-291-1/+1
| | | | | | | | | | | | 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
* Finally bite the bullet and make the major change: split the clang namespaceChris Lattner2007-06-151-1/+0
| | | | | | | | | | | | | 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
* Bug #:Steve Naroff2007-05-171-2/+2
| | | | | | | | | | | | | | | | | 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
* Bug #:Steve Naroff2007-04-051-1/+1
| | | | | | | | | | | | 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
* Removed tabs.Bill Wendling2007-02-131-1/+1
| | | | llvm-svn: 39340
* C++: Added support for bool types.Bill Wendling2007-02-131-1/+9
| | | | llvm-svn: 39338
* Add support for parsing and pretty printing const_cast, dynamic_cast,Chris Lattner2006-12-041-0/+37
reinterpret_cast, and static_cast. Patch by Bill! llvm-svn: 39247
OpenPOWER on IntegriCloud