run 'git clang format'
This commit is contained in:
parent
a55b23be68
commit
0b18c2dd48
@ -249,8 +249,7 @@ void FunctionSamples::print(raw_ostream &OS, unsigned Indent) const {
|
|||||||
for (const FunctionSamples &FuncSample :
|
for (const FunctionSamples &FuncSample :
|
||||||
llvm::make_second_range(FunctionSampleMap)) {
|
llvm::make_second_range(FunctionSampleMap)) {
|
||||||
OS.indent(Indent + 2);
|
OS.indent(Indent + 2);
|
||||||
OS << Loc << ": inlined callee: " << FuncSample.getFunction()
|
OS << Loc << ": inlined callee: " << FuncSample.getFunction() << ": ";
|
||||||
<< ": ";
|
|
||||||
FuncSample.print(OS, Indent + 4);
|
FuncSample.print(OS, Indent + 4);
|
||||||
}
|
}
|
||||||
auto TypeSamplesIter = VirtualCallsiteTypeCounts.find(Loc);
|
auto TypeSamplesIter = VirtualCallsiteTypeCounts.find(Loc);
|
||||||
|
@ -622,7 +622,8 @@ std::error_code SampleProfileWriterText::writeSample(const FunctionSamples &S) {
|
|||||||
for (const auto *Element : SortedCallsiteSamples.get()) {
|
for (const auto *Element : SortedCallsiteSamples.get()) {
|
||||||
// Element is a pointer to a pair of LineLocation and FunctionSamplesMap.
|
// Element is a pointer to a pair of LineLocation and FunctionSamplesMap.
|
||||||
const auto &[Loc, FunctionSamplesMap] = *Element;
|
const auto &[Loc, FunctionSamplesMap] = *Element;
|
||||||
for (const FunctionSamples &CalleeSamples : make_second_range(FunctionSamplesMap)) {
|
for (const FunctionSamples &CalleeSamples :
|
||||||
|
make_second_range(FunctionSamplesMap)) {
|
||||||
OS.indent(Indent);
|
OS.indent(Indent);
|
||||||
Loc.print(OS);
|
Loc.print(OS);
|
||||||
OS << ": ";
|
OS << ": ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user