facebook / hhvm

A virtual machine for executing programs written in Hack.
https://hhvm.com
Other
18.06k stars 2.99k forks source link

Correct alternative of cc #9392

Open WangGithubUser opened 10 months ago

WangGithubUser commented 10 months ago

Summary

The cc command is to compile C source file by default.And the compiler to compile C source in LLVM is clang-XX But, we are using clang++-XX to be the alternative of cc. Obviously, this is wrong.So, let's fix it!

Test Plan

Before: image After: image

facebook-github-bot commented 10 months ago

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.