mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:00:13 +01:00
Copy MultiplexExternalSemaSource.h and MultiplexExternalSemaSource.cpp from https://github.com/llvm/llvm-project/pull/204458 into third_party/llvm, and apply a few minor changes to allow them to compile and pass precommit checks. This allows `0011-Add-empty-constructor-and-GetSources-method-to-Multi.patch` to be removed, which brings Carbon closer to being able to compile on an unmodified LLVM toolchain.
Third-party
The /third_party directory is for any code that doesn't follow Carbon's normal
contribution rules, and thus requires special care. The intent is that code
not under /third_party should not require special contribution rules.
Examples of code belonging under /third_party include:
- Code not licensed under the standard Apache-2.0 WITH LLVM-exception license.
- Code which is maintained externally or imported from another repository.
- Code which is not fully under Carbon's CLA.