diagnostic: "module not found" is reported for missing semicolon after import module statement #121066
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
clang:modules
C++20 modules and Clang Header Modules
clang++-19.1 gives incorrect diagnostic when import module statement is not followed by semicolon:
e.g.
errors with:
while gcc correctly reports
reproduce link: https://godbolt.org/z/6x3KW6Gx9
main.cpp:
mod1.cppm
CMakeCache.txt
The text was updated successfully, but these errors were encountered: