diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-08-11 22:08:06 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-08-11 22:08:06 +0000 |
commit | 3d95d858f9a46d792d83f31466880f07cefc1ba8 (patch) | |
tree | b7775b2062472042af1075b59045ba02aa3b3b28 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | c64c1751738ecd3c3fb388aaaaced56b010a6607 (diff) | |
download | bcm5719-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