llvm-project/clang/tools
Nico Weber 3fddae75c7 Don't leak CXStrings for replacement fix-its in c-index-test.
The loop body used to contain a switch statement; it looks like r96685 replaced
that with an if/else if/else but accidentally left one of the three break
statements from the switch behind, skipping the clang_disposeString() call
for replacements (and the rest of the loop too, which apparently doesn't make
a differences for the test cases we have).

r96685: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20100215/027754.html

This too might possibly the last leak in clang (PR19521).

llvm-svn: 208483
2014-05-10 23:56:43 +00:00
..
arcmt-test [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-15 07:47:46 +00:00
c-arcmt-test c-arcmt-test/Makefile: Update USEDLIBS for -static. 2014-04-27 03:40:51 +00:00
c-index-test Don't leak CXStrings for replacement fix-its in c-index-test. 2014-05-10 23:56:43 +00:00
clang-check Follow-up to r207071: Let newFrontendActionFactory() return a unique_ptr. 2014-04-28 04:57:14 +00:00
clang-format Enable alternative tokens by default for clang-format. 2014-05-08 00:05:13 +00:00
clang-format-vs clang-format vsix cmake build: use ${LLVM_TOOLS_BINARY_DIR}/${CMAKE_CFG_INTDIR} 2013-12-05 17:49:58 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Replace llvm::array_endof with C++11's std::end. 2014-04-12 15:42:48 +00:00
driver Update for llvm api change. 2014-05-07 13:00:49 +00:00
libclang Decouple ExprCXX.h and DeclCXX.h and clean up includes a bit. 2014-05-10 16:31:55 +00:00
scan-build scan-build: Don't use realpath when the user provides an explicit path. 2014-04-29 01:37:19 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt CMake: enable building the clang-format vs plugin 2013-12-03 18:02:51 +00:00
Makefile Re-add clang-check to the Makefile build. 2013-08-22 16:12:04 +00:00