summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-08-11 22:08:06 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-08-11 22:08:06 +0000
commit3d95d858f9a46d792d83f31466880f07cefc1ba8 (patch)
treeb7775b2062472042af1075b59045ba02aa3b3b28 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentc64c1751738ecd3c3fb388aaaaced56b010a6607 (diff)
downloadbcm5719-llvm-3d95d858f9a46d792d83f31466880f07cefc1ba8.tar.gz
bcm5719-llvm-3d95d858f9a46d792d83f31466880f07cefc1ba8.zip
Change MemoryBuffer* to MemoryBuffer& parameter to Lexer::ComputePreamble
(dropping const from the reference as MemoryBuffer is immutable already, so const is just redundant - and while I'd personally put const everywhere, that's not the LLVM Way (see llvm::Type for another example of an immutable type where "const" is omitted for brevity)) Changing the pointer argument to a reference parameter makes call sites identical between callers with unique_ptrs or raw pointers, minimizing the churn in a pending unique_ptr migrations. llvm-svn: 215391
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud