[clang] [clang-tools-extra] feat: highlight for import, export keyword of CXX Module (PR #204511)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 17 23:15:35 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 {
----------------
Decodetalkers wrote:
But we need it become NamedDecl, so that it can be used in highlight
https://github.com/llvm/llvm-project/pull/204511
More information about the cfe-commits
mailing list