[clang-tools-extra] feat: highlight for import, export keyword of CXX Module (PR #204511)
Aleksandr Platonov via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 27 03:42:53 PDT 2026
================
@@ -1123,6 +1123,18 @@ sizeof...($TemplateParameter[[Elements]]);
)cpp"}},
~ScopeModifierMask);
+ checkHighlightings(R"cpp(
----------------
ArcsinX wrote:
> I want to, but checkHighlightings cannot import the module.. so I do not know how to test
>
> in order to make it compile with
>
> import ABC;
> I need to make clang++ also compile imp.cxx and use the module, but I do not know how to do
Can we use "import std;"? If it's not possible, maybe we can add a lit test to test this
https://github.com/llvm/llvm-project/pull/204511
More information about the cfe-commits
mailing list