HomePhabricator

[libclang] Fix the mismatched delete operator for ExprEvalResult

Description

[libclang] Fix the mismatched delete operator for ExprEvalResult

The '.stringVal' field in ExprEvalResult is allocated using new[],
but was freed using a regular delete. That caused memory leaks in
the test from r350666.

Details

Committed
arphamanJan 8 2019, 3:28 PM
Parents
rL350679: Change std::sort to llvm::sort to detect non-determinism.
Branches
Unknown
Tags
Unknown