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)
commit51c58cc769f52fb43be55821fa07b2b69d463213
tree6b91f17cab213c9b5b877723c2da202e917114ab
parent02613337e3af5aea5687def0f6f2a4b38c5cc808
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.

llvm-svn: 234121
llvm/include/llvm/Support/Allocator.h
llvm/include/llvm/Support/Compiler.h