llvm-project
[C++20][Modules] Implement P1857R3 Modules Dependency Discovery
#107168
Merged

[C++20][Modules] Implement P1857R3 Modules Dependency Discovery #107168

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

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone