[lld] [lld-macho][NFC] Track category merger input data source language for better verification (PR #95473)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 18:47:04 PDT 2024
================
@@ -349,11 +349,15 @@ void objc::checkCategories() {
namespace {
class ObjcCategoryMerger {
+ // In which language was a particular construct originally defined
+ enum SourceLanguage { SourceObjC, SourceSwift, SourceUnknown };
----------------
ellishg wrote:
As long as these values are always prefixed with `SourceLanguage::`, I don't think it would be confusing.
https://github.com/llvm/llvm-project/pull/95473
More information about the llvm-commits
mailing list