DataLayout now returns a const ref to its member string representation
authorMehdi Amini <mehdi.amini@apple.com>
Fri, 26 Jun 2015 20:44:16 +0000 (20:44 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Fri, 26 Jun 2015 20:44:16 +0000 (20:44 +0000)
commit237b76d7404db808720d6fd27fa4b85474eebedc
tree8da314cc9187c3d2c6f3b90f8908db2c3b6ae7b3
parente874345be4f5f26e063f0085c1fdde1f75009f53
DataLayout now returns a const ref to its member string representation

There was no particular reason to return by value in the first place.

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240826 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DataLayout.h
include/llvm/IR/Module.h