Mark BumpPtrAllocator::Allocate as returning a noalias pointer.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 5 Apr 2015 17:02:25 +0000 (17:02 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 5 Apr 2015 17:02:25 +0000 (17:02 +0000)
commit7368f2145aff1c1f9faa24c307b3fe29b94d184c
treecc64f47d920cea96f63daf3cddef4865e62dbb7a
parent4cd2e198565d1a21e902b9e6944d1a63154d67ce
Mark BumpPtrAllocator::Allocate as returning a noalias pointer.

The GCC attribute is curiously named 'malloc', but I think it's better
to use LLVM terminology for the wrapper macro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234121 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Allocator.h
include/llvm/Support/Compiler.h