I only just learned about xclangspec files for Xcode:

github.com/RobotsAnd…

Apparently just in time to see Xcode 11 dropping support for them. I guess LSP is the way forward? If Xcode 11 supports third-party LSP servers, that is.