llvm-project
[C++20][Modules] Implement P1857R3 Modules Dependency Discovery
#107168
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
63
Changes
View On
GitHub
[C++20][Modules] Implement P1857R3 Modules Dependency Discovery
#107168
yronglin
merged 63 commits into
llvm:main
from
yronglin:modules_dependency_discovery
[Clang] Add peekNextPPToken, makes peek next token without side-effects
2cce3d11
yronglin
force pushed
343 days ago
yronglin
requested a review
from
ChuanqiXu9
343 days ago
yronglin
requested a review
from
cor3ntin
343 days ago
yronglin
requested a review
from
AaronBallman
343 days ago
yronglin
requested a review
from
erichkeane
343 days ago
yronglin
requested a review
from
Fznamznon
343 days ago
yronglin
requested a review
from
Bigcheese
343 days ago
yronglin
marked this pull request as ready for review
343 days ago
llvmbot
added
clang
llvmbot
added
clang:frontend
llvmbot
added
clang:modules
yronglin
marked this pull request as draft
343 days ago
[C++20][Modules] Implement P1857R3 Modules Dependency Discovery
04ddbf64
yronglin
force pushed
to
04ddbf64
341 days ago
yronglin
marked this pull request as ready for review
341 days ago
llvmbot
added
clang:driver
P3034R1 Module Declarations Shouldn’t be Macros
8529a7fc
Merge branch 'main' of https://github.com/llvm/llvm-project into modu…
b75b5ba0
[clang-scan-deps] Only check eod token in C++ modules
ece6382d
A module directive may only appear as the first preprocessing tokens …
008844c7
Format code
db17bdaf
Merge branch 'main' into modules_dependency_discovery
1ce4def7
Resolve merge conflicts
1fa30902
Merge remote-tracking branch 'origin' into modules_dependency_discovery
5a85243e
Use isNextPPTokenOneOf instead of peekNextPPToken
687cdeed
Merge branch 'main' into modules_dependency_discovery
a7da3276
Follow isNextPPTokenOneOf's change
8ce88a0c
Merge remote-tracking branch 'origin' into modules_dependency_discovery
32c142e8
Merge branch 'main' into modules_dependency_discovery
4a84a316
Follow getTrailingObjects changes
21cb5ecd
Revert unnecessary changes and refine code
27ab41f0
Update cxx status
63a62aeb
Merge branch 'main' into modules_dependency_discovery
0a63a880
Merge remote-tracking branch 'origin' into modules_dependency_discovery
9fb7cc26
Fix crash
1171f7f3
h-vetinari
commented on 2025-07-15
Revert "Revert unnecessary changes and refine code"
3821f677
Fix lit test
eabc2a41
Merge remote-tracking branch 'origin' into modules_dependency_discovery
23bad11f
Merge remote-tracking branch 'origin' into modules_dependency_discovery
dbaa113e
Rebase and fix conflict
b5331840
Merge branch 'main' into modules_dependency_discovery
f4792741
Merge branch 'main' into modules_dependency_discovery
695869ec
Stash
0164d0d0
Merge branch 'main' into modules_dependency_discovery
0c3667c2
Handle @import in preprocessor when -frewrite-imports enabled
0588245b
Don't use ModuleNameLoc* as ActOnModuleImport
49281ec6
Remove tok::annot_module_name and added error recovery to continue pa…
1c8b28f3
shafik
commented on 2025-08-29
Add test for pp-module and pp-import
14ba6843
Merge branch 'main' into modules_dependency_discovery
2b930da0
cor3ntin
commented on 2025-09-01
Refine isModuleContextualKeyword and isImportingCXXNamedModules, remo…
5dc3c9a9
Check eof token first after LexIdentifierContinue
3becb462
yronglin
commented on 2025-09-02
yronglin
commented on 2025-09-02
Bigcheese
commented on 2025-09-02
cor3ntin
commented on 2025-09-17
cor3ntin
approved these changes on 2025-09-17
Refine err_invalid_module_or_import_directive and comments in Lexer.cpp
82612f8a
Merge branch 'main' into modules_dependency_discovery
cde2304c
Remove 'Don't emit macros about module declaration' section in Standa…
c07beac4
hubert-reinterpretcast
requested a review
from
hubert-reinterpretcast
233 days ago
hubert-reinterpretcast
commented on 2025-09-18
hubert-reinterpretcast
commented on 2025-09-18
hubert-reinterpretcast
commented on 2025-09-18
Remove error recovery
d7e50438
Handle c++ operator keyword after module/import
d42fe787
Merge branch 'main' into modules_dependency_discovery
80e8a3ab
hubert-reinterpretcast
commented on 2025-09-21
hubert-reinterpretcast
commented on 2025-09-21
Don't need to check string literal
2b19d443
hubert-reinterpretcast
commented on 2025-09-21
[clang] Fix macro expansion after module name in a module directive
c9a6bd00
hubert-reinterpretcast
commented on 2025-09-24
hubert-reinterpretcast
commented on 2025-09-24
hubert-reinterpretcast
commented on 2025-09-24
Allow extra tokens after module/import directive and diag ; not in sa…
73bbd8fa
Add CWG2947 examples and fix bugs in previous commit
fd72e455
Add new line at the end of clang/test/CXX/module/cpp.pre/p1.cpp
cc8e0afc
Refine diagnostics and address review comments
c69a88b4
Introduce annot_module_name to explicit mark module name tokens, e.g.…
cef114c2
hubert-reinterpretcast
commented on 2025-10-14
Generate __preprocessed_{module, import} keyword in preprocessed out
b4009091
hubert-reinterpretcast
commented on 2025-10-14
Format
00728a5e
Fix bugs and address review comments
3cf170c4
hubert-reinterpretcast
commented on 2025-10-18
hubert-reinterpretcast
commented on 2025-10-20
[clang] Refine this diagnostics of unexpected token after module name
8de57f59
Merge branch 'main' into modules_dependency_discovery
37aa24a2
[clang] Diagnose whenever a module directive is encountered in a cond…
f670f9cf
Merge branch 'main' into modules_dependency_discovery
841fa098
[clang] Refine diagnostic message
8672786b
Merge remote-tracking branch 'upstream/main' into modules_dependency_…
f68e97d2
cor3ntin
commented on 2025-12-17
Refine comments and split cwg2947
7b32160e
Merge remote-tracking branch 'upstream/main' into modules_dependency_…
5c2662db
yronglin
requested a review
from
Endilll
142 days ago
Endilll
commented on 2025-12-18
h-vetinari
commented on 2025-12-19
Refine cwg2947 test and update cxx status
21a92240
Refine cwg2947
405d6aea
cor3ntin
approved these changes on 2025-12-19
yronglin
merged
d2e62d90
into main
141 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
cor3ntin
Endilll
hubert-reinterpretcast
Bigcheese
shafik
h-vetinari
ChuanqiXu9
AaronBallman
erichkeane
Fznamznon
Assignees
No one assigned
Labels
clang
clang:driver
clang:frontend
clang:modules
Milestone
No milestone
Login to write a write a comment.
Login via GitHub