https://bugs.kde.org/show_bug.cgi?id=406842

            Bug ID: 406842
           Summary: C++20 Modules
           Product: kdevelop
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: openproggerfr...@gmail.com
  Target Milestone: ---

Modules TS got merged into C++20 and it's already possible to use the new
syntax with clang 8.0. In the docs, libclang should also provide an API for
this:
https://clang.llvm.org/doxygen/group__CINDEX__MODULE.html


STEPS TO REPRODUCE
1. Write a "header" file(.cppm) with declarations.
2. Precompile the file with "clang++ -std=c++2a -fmodules-ts --precompile".
3. Write a source file inside KDevelop which imports the module.


OBSERVED RESULT
No syntax highlighting or code-completion of declarations imported from
modules.


EXPECTED RESULT
Declarations imported from modules have syntax-highlighting and code
completion.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo with kernel 5.0.7
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to