aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/SampleProfReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-03-15 12:05:33 -0700
committerFangrui Song <i@maskray.me>2021-03-15 12:05:34 -0700
commit5d44c92bf82b7b1055a5a9826695b21eaa43530c (patch)
treed8d6ab2a61818cb4f1181bd6b9a9bbe09c1b427f /llvm/lib/ProfileData/SampleProfReader.cpp
parent29d46760599b32504f4dfda4de69aca8b9f1f65e (diff)
downloadllvm-5d44c92bf82b7b1055a5a9826695b21eaa43530c.zip
llvm-5d44c92bf82b7b1055a5a9826695b21eaa43530c.tar.gz
llvm-5d44c92bf82b7b1055a5a9826695b21eaa43530c.tar.bz2
Change void getNoop(MCInst &NopInst) to MCInst getNop()
Prefer (self-documenting) return values to output parameters (which are liable to be used). While here, rename Noop to Nop which is more widely used and improves consistency with hasEmitNops/setEmitNops/emitNop/etc.
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfReader.cpp')
0 files changed, 0 insertions, 0 deletions