Open WangGithubUser opened 10 months ago
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!
cc
LLVM
clang-XX
clang++-XX
Before: After:
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Summary
The
cc
command is to compile C source file by default.And the compiler to compile C source inLLVM
isclang-XX
But, we are usingclang++-XX
to be the alternative ofcc
. Obviously, this is wrong.So, let's fix it!Test Plan
Before:
After:
![image](https://github.com/facebook/hhvm/assets/120731947/146529ff-2e53-48ca-8447-d2b1fa1d39d7)