We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a00bd commit 3364be7Copy full SHA for 3364be7
llvm/tools/llvm-mca/llvm-mca.cpp
@@ -339,8 +339,8 @@ int main(int argc, char **argv) {
339
Expected<const mca::CodeRegions &> RegionsOrErr = CRG.parseCodeRegions();
340
if (!RegionsOrErr) {
341
if (auto Err =
342
- handleErrors(RegionsOrErr.takeError(), [](const StringError &Err) {
343
- WithColor::error() << Err.getMessage() << '\n';
+ handleErrors(RegionsOrErr.takeError(), [](const StringError &E) {
+ WithColor::error() << E.getMessage() << '\n';
344
})) {
345
// Default case.
346
WithColor::error() << toString(std::move(Err)) << '\n';
0 commit comments