[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 04:35:44 PDT 2026


================
@@ -1123,6 +1123,18 @@ sizeof...($TemplateParameter[[Elements]]);
   )cpp"}},
                      ~ScopeModifierMask);
 
+  checkHighlightings(R"cpp(
----------------
ArcsinX wrote:

Ok. So, as far as the changes are module-specific, maybe we can add a test into PrerequisiteModulesTest.cpp, where module infrastructure exists? I.e. call getSemanticHighlightings() directly and check that import/export token has correct highlighting kind

https://github.com/llvm/llvm-project/pull/204511


More information about the cfe-commits mailing list