[clang] [clang-tools-extra] feat: highlight for import, export keyword of CXX Module (PR #204511)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 17 23:49:44 PDT 2026


================
@@ -5151,22 +5154,26 @@ class ImportDecl final : public Decl,
 /// \code
 ///   export void foo();
 /// \endcode
-class ExportDecl final : public Decl, public DeclContext {
-  LLVM_DECLARE_VIRTUAL_ANCHOR_FUNCTION();
+class ExportDecl final : public NamedDecl, public DeclContext {
----------------
ChuanqiXu9 wrote:

No... we shouldn't  as it is not a named decl.

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


More information about the cfe-commits mailing list