]> granicus.if.org Git - clang/commit
PR16540: ASTVector::insert(Context, Iter, Element) doesn't compile
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 13 Jul 2013 18:08:59 +0000 (18:08 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 13 Jul 2013 18:08:59 +0000 (18:08 +0000)
commita995630ca94ca2543678b201d90cf6f07d41a8df
treec9a88fa8c27246c2e854e2abf900c196d4800bde
parentbf13df238a82659c0b6363541a84f09bc997fb86
PR16540: ASTVector::insert(Context, Iter, Element) doesn't compile

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186253 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTVector.h
unittests/AST/ASTVectorTest.cpp [new file with mode: 0644]
unittests/AST/CMakeLists.txt