Go to file
Owen Anderson 145a260f75 Fix a subtle issue in SmallVector. The following code did not work as expected:
vec.insert(vec.begin(), vec[3]);
The issue was that vec[3] returns a reference into the vector, which is invalidated when insert() memmove's the elements down to make space.  The method needs to specifically detect and handle this case to correctly match std::vector's semantics.

Thanks to Howard Hinnant for clarifying the correct behavior, and explaining how std::vector solves this problem.

llvm-svn: 134554
2011-07-06 22:36:59 +00:00
clang Based on comments from Chris, switch to using CFG::getNumBlockIDs() 2011-07-06 22:21:45 +00:00
compiler-rt <rdar://problem/9624306> clean up darwin platform to use xcrun. Set up variables in darwin_bni.mk. Use GetCNAVar in AppleBI.mk 2011-06-21 00:07:55 +00:00
debuginfo-tests Testcase for r133065 2011-06-15 17:57:23 +00:00
libcxx <inttypes.h> does not necessarily include <stdint.h>. Accordingly, do 2011-07-06 20:52:28 +00:00
libcxxabi In cxa_demangle.cpp, rewrite __parse_unresolved_name to reflect updated understanding and sync with updated clang mangling. Also fix think-o in __parse_encoding enabling the parsing of trailing .eh and .b. 2011-06-22 19:27:39 +00:00
lldb SWIG doesn't need two methods of the same name 'GetDescription' but differ in 2011-07-06 22:23:24 +00:00
llvm Fix a subtle issue in SmallVector. The following code did not work as expected: 2011-07-06 22:36:59 +00:00
polly ScopLib: Add missing include 2011-07-06 18:05:05 +00:00