================
@@ -1669,6 +1671,58 @@ void use() {}
                                     getFullPath("Consumer.cpp"), *NewCI));
 }
 
+TEST_F(PrerequisiteModulesTests, ModuleSemanticHighlighting) {
+  MockDirectoryCompilationDatabase CDB(TestDir, FS);
+
+  llvm::StringRef AnnotatedCode = R"cpp(
+      module;
+      $import[[import]] $Namespace[[M]];
+      export module highlight;
+      $export[[export]] void $Function_def_globalScope[[foo]]() {
----------------
ArcsinX wrote:

Please, remove `$Namespace`  and `$Function_def_globalScope` annotations, as 
far as we don't check them

https://github.com/llvm/llvm-project/pull/204511
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to