Go to file
Bjorn Pettersson 807f732ce8 Fix memory issue in AttrBuilder::removeAttribute uses.
Summary:
Found when running Valgrind.

This removes two unnecessary assignments when using
AttrBuilder::removeAttribute.

AttrBuilder::removeAttribute returns a reference to the object.
As the LHSes were the same as the callees, the assignments
resulted in memcpy calls where dst = src.

Commited on behalf-of: dstenb (David Stenberg)

Reviewers: mkuper, rnk

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D25460

llvm-svn: 285298
2016-10-27 14:48:09 +00:00
clang Do not print include_next/pragma once warnings when input is a header. 2016-10-27 14:17:10 +00:00
clang-tools-extra include-fixer: Don't overwrite buffer changes 2016-10-25 11:31:22 +00:00
compiler-rt Atomics library: provide operations for __int128 when it is available. 2016-10-27 01:46:24 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Cleanup nonportable behavior in tests for std::any 2016-10-26 20:18:13 +00:00
libcxxabi Get libc++abi building with LLVM_ENABLE_MODULES 2016-10-25 20:07:49 +00:00
libunwind [libunwind] Add support for Fuchsia 2016-10-23 21:48:47 +00:00
lld Store OSABI in Config. 2016-10-27 14:00:51 +00:00
lldb Fix an issue where frame variable -s <varname> would not show the scope even though the user asked for it 2016-10-26 19:17:49 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Fix memory issue in AttrBuilder::removeAttribute uses. 2016-10-27 14:48:09 +00:00
openmp Fixed a memory leak related to task dependencies. 2016-10-27 11:43:07 +00:00
parallel-libs [SE] Remove StreamExecutor 2016-10-25 20:38:08 +00:00
polly [ScopInfo] Fix: use raw source pointer. 2016-10-25 13:37:43 +00:00