@wffl their frontend/parser is *literally* clang, and they use that to have very powerful automagic importing of (Obj)-C(++) code.
for instance they can lower simple C defines directly into Swift https://github.com/apple/swift/blob/main/lib/ClangImporter/ImportMacro.cpp
@dgregor79 @wffl one of the reasons i like to summarize it as "being clang" was a recollection that a lot of the core types/apis in "swift's own parts" were built on top clang types/apis
(which in principle makes perfect sense, y'all already build a framework for building production-quality compiler front-end, reuse it)
but skimming the code that appears to be less overwhelmingly true than i recall. maybe i just ended up in a very clang-y part, or maybe y'all have diverged a lot more 😅