diff options
author | Nikita Popov <npopov@redhat.com> | 2022-01-19 14:33:21 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-01-20 09:17:35 +0100 |
commit | 22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3 (patch) | |
tree | 611ac6f225b8eae627aef4da9ec42f51e2139b0c /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 8f811effac48fdbc1ac5ddbd944884a52866ec14 (diff) | |
download | llvm-22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3.zip llvm-22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3.tar.gz llvm-22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3.tar.bz2 |
[Support] Remove incorrect noalias return attribute in BumpPtrAllocator
The memory returned by the Allocate() function is also otherwise
accessible -- and is indeed accessed by the DestroyAll() method of
SpecificBumpPtrAlloactor. This is a violation of the noalias return
contract.
This should address the issue reported in
https://reviews.llvm.org/D116728#3252464.
Differential Revision: https://reviews.llvm.org/D117664
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions