llvm-project/clang/tools
Chandler Carruth 6ac555fb71 [UB] Avoid a really broken call to realloc that would later result in
a bad call to memcpy.

When we only have a buffer from one of the two reparse calls, we can
just return that buffer rather than going through the realloc/memcpy
dance.

Found with UBsan.

llvm-svn: 243950
2015-08-04 03:53:04 +00:00
..
arcmt-test Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
c-arcmt-test Tweak libclang's users, c-arcmt-test, c-index-test and libclangTests to satisfy LDFLAGS=-static. 2015-07-12 12:17:55 +00:00
c-index-test [UB] Avoid a really broken call to realloc that would later result in 2015-08-04 03:53:04 +00:00
clang-check Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
clang-format clang-format: Extend vim integration so that a line range can be passed in. 2015-07-11 06:46:26 +00:00
clang-format-vs Fix clang-format build from the solution; the underlying path has changed to include the VS directory structure. 2015-05-12 14:41:39 +00:00
clang-fuzzer Fix clang-fuzzer build after r242499. 2015-07-17 04:07:47 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
driver Fix the cc1as crash when it outputs assembly 2015-07-24 02:12:43 +00:00
libclang Remove unused header include. 2015-08-04 01:44:13 +00:00
scan-build [analyzer] Prevent ccc/c++-analyzer from hanging on Windows. 2015-07-01 22:35:29 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt Add initial version of a clang-fuzzer. 2015-03-28 00:07:39 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00