This is an archive of the discontinued LLVM Phabricator instance.

[llvm-profdata][NFC] fix warning
ClosedPublic

Authored by liaolucy on Aug 22 2022, 7:00 PM.

Details

Summary

warning: unused variable ‘FC’

Diff Detail

Event Timeline

liaolucy created this revision.Aug 22 2022, 7:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 7:00 PM
liaolucy requested review of this revision.Aug 22 2022, 7:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 22 2022, 7:00 PM
kazu accepted this revision.Aug 22 2022, 8:37 PM

Thanks! Just for my own education, which compiler did you use to build llvm?

This revision is now accepted and ready to land.Aug 22 2022, 8:37 PM

Thanks! Just for my own education, which compiler did you use to build llvm?

Sorry, I can't remember exactly, it's probably clang. (It was configured a long time ago.)

cmake add -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++

This revision was landed with ongoing or failed builds.Aug 22 2022, 11:09 PM
This revision was automatically updated to reflect the committed changes.