summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/EvaluateAsRValueTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325)David Blaikie2014-08-101-3/+4
| | | | | | | | After post-commit review and community discussion, this seems like a reasonable direction to continue, making ownership semantics explicit in the source using the type system. llvm-svn: 215323
* Revert "unique_ptr-ify ownership of ASTConsumers"David Blaikie2014-07-171-4/+3
| | | | | | | | | This reverts commit r213307. Reverting to have some on-list discussion/confirmation about the ongoing direction of smart pointer usage in the LLVM project. llvm-svn: 213325
* unique_ptr-ify ownership of ASTConsumersDavid Blaikie2014-07-171-3/+4
| | | | | | | | | (after fixing a bug in MultiplexConsumer I noticed the ownership of the nested consumers was implemented with raw pointers - so this fixes that... and follows the source back to its origin pushing unique_ptr ownership up through there too) llvm-svn: 213307
* ASTTests//EvaluateAsRValueTest.cpp: Appease *-win32 target to add ↵NAKAMURA Takumi2014-03-151-0/+1
| | | | | | -fno-delayed-template-parsing. llvm-svn: 203991
* Change a raw string literal back to C++98 style to fix freeBSD9.2 builtbotJames Dennett2014-03-141-16/+15
| | | | llvm-svn: 203961
* Fix a crash (assertion failure) in EvaluateAsRValue.James Dennett2014-03-141-0/+112
Summary: Gracefully fail to evaluate a constant expression if its type is unknown, rather than failing an assertion trying to access the type. Reviewers: klimek Reviewed By: klimek CC: chandlerc, cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3075 llvm-svn: 203950
OpenPOWER on IntegriCloud