The current clang version is 14 in my macOS 13.3.1 13.3.1 (a) (22E772610a)
:
> clang --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I want to upgrade the clang to 16, then I tried like this followed https://ports.macports.org/port/clang-16/:
> sudo port install clang-16
Password:
---> Computing dependencies for clang-16
---> Cleaning clang-16
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
but the clang version is still 14, what should I do to upgrade the clang to 16?