summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/ASTVectorTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.pyChandler Carruth2015-01-141-1/+0
| | | | | | | No functionality changed, this is a purely mechanical cleanup to ensure the #include order remains consistent across the project. llvm-svn: 225975
* Switching from std::vector to llvm::ArrayRef per post-commit review suggestion.Aaron Ballman2014-08-261-3/+1
| | | | llvm-svn: 216463
* Some versions of MSVC do not support initializer list construction of ↵Aaron Ballman2014-08-261-1/+2
| | | | | | vectors, so this fixes a broken build from r216385. llvm-svn: 216457
* ASTVector: Fix return value of various insert() methods.Will Dietz2014-08-251-3/+73
| | | | | | | | | Error caught using -fsanitize=pointer-overflow. Expand ASTVectorTest to verify basic behavior, test fails without functionality in this patch. llvm-svn: 216385
* [C++11] Use 'nullptr'. Unittests edition.Craig Topper2014-06-081-1/+1
| | | | llvm-svn: 210423
* Revert "Revert "PR16540: ASTVector::insert(Context, Iter, Element) doesn't ↵David Blaikie2013-07-131-0/+24
| | | | | | | | | | | compile"" This reverts commit b18b043a5a37f76803d89467e46bcac286c0ecae. Reapply with fix for the configure+make build (missing include of ASTContext.h). llvm-svn: 186257
* Revert "PR16540: ASTVector::insert(Context, Iter, Element) doesn't compile"David Blaikie2013-07-131-26/+0
| | | | | | | | | This reverts commit r186253. This is failing to link under Configure+Make on the buildbots for reasons I don't immediately understand. llvm-svn: 186255
* PR16540: ASTVector::insert(Context, Iter, Element) doesn't compileDavid Blaikie2013-07-131-0/+26
Fix some uninstantiable code in ASTVector::insert. I've added a cheap-and-dirty compile test for this, because I don't have the time to figure out a nice way to get a real ASTContext to implement executable tests - but we probably should have them for this ADT. llvm-svn: 186253
OpenPOWER on IntegriCloud