================ @@ -0,0 +1,66 @@ +//===--- FeatureModulesRegistryTests.cpp ---------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "FeatureModule.h" +#include "feature-modules/ForceLinker.h" // IWYU pragma: keep ---------------- kadircet wrote:
i think we don't need all the extra indirection, we can just register the dummy featuremodule directly here. we just want to test that they can be registered from any arbitrary source file by only including `"FeatureModule.h"`. this should also get rid of all the need for forcelinker stuff. https://github.com/llvm/llvm-project/pull/154836 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits