aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-01-19 14:33:21 +0100
committerNikita Popov <npopov@redhat.com>2022-01-20 09:17:35 +0100
commit22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3 (patch)
tree611ac6f225b8eae627aef4da9ec42f51e2139b0c /llvm/lib/Support/VirtualFileSystem.cpp
parent8f811effac48fdbc1ac5ddbd944884a52866ec14 (diff)
downloadllvm-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