[PATCH] D139485: Remove redundant .c_str() and .get() calls where they are not needed.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 16:19:48 PST 2022
MaskRay added inline comments.
================
Comment at: llvm/include/llvm/ProfileData/InstrProfReader.h:703
assert(CS_Summary && "No context sensitive summary");
- return *(CS_Summary.get());
+ return *(CS_Summary);
} else {
----------------
delete parens. ditto below
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139485/new/
https://reviews.llvm.org/D139485
More information about the llvm-commits
mailing list