[clang] 2e9977c - [C++20] [Modules] Treat module linkage as formal linkage only

2023-03-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-03-13T15:54:40+08:00 New Revision: 2e9977c2815653c141c6c060c4e0ab6c0db27911 URL: https://github.com/llvm/llvm-project/commit/2e9977c2815653c141c6c060c4e0ab6c0db27911 DIFF: https://github.com/llvm/llvm-project/commit/2e9977c2815653c141c6c060c4e0ab6c0db27911.diff LO

[clang] e264fe8 - [doc] [Modules] Document how to implement ABI compatible code in module units

2023-03-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-03-13T16:44:10+08:00 New Revision: e264fe89e37fc0b12e18d72ed98056cea1a9eba6 URL: https://github.com/llvm/llvm-project/commit/e264fe89e37fc0b12e18d72ed98056cea1a9eba6 DIFF: https://github.com/llvm/llvm-project/commit/e264fe89e37fc0b12e18d72ed98056cea1a9eba6.diff LO

[clang] 3e78fa8 - [C++20] [Modules] Profile TemplateName by canonical decl

2023-03-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-03-14T14:34:44+08:00 New Revision: 3e78fa860235431323aaf08c8fa922d75a7cfffa URL: https://github.com/llvm/llvm-project/commit/3e78fa860235431323aaf08c8fa922d75a7cfffa DIFF: https://github.com/llvm/llvm-project/commit/3e78fa860235431323aaf08c8fa922d75a7cfffa.diff LO

[clang] 2d8044e - Recommit [ABI] [C++20] [Modules] Don't generate vtable if the class is defined in other module unit

2023-06-18 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-19T10:41:12+08:00 New Revision: 2d8044ee8b19f23e0a7fe5cd35876515d0d1d72e URL: https://github.com/llvm/llvm-project/commit/2d8044ee8b19f23e0a7fe5cd35876515d0d1d72e DIFF: https://github.com/llvm/llvm-project/commit/2d8044ee8b19f23e0a7fe5cd35876515d0d1d72e.diff LO

[clang] 72ac907 - [C++20] [Modules] Use the canonical decl when getting associated constraints

2023-06-21 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-21T17:00:56+08:00 New Revision: 72ac90715876e2963af899cbb883bad1e07b67bd URL: https://github.com/llvm/llvm-project/commit/72ac90715876e2963af899cbb883bad1e07b67bd DIFF: https://github.com/llvm/llvm-project/commit/72ac90715876e2963af899cbb883bad1e07b67bd.diff LO

[clang] 21765af - [C++] [Coroutines] Assume the allocation doesn't return nullptr

2023-06-25 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-26T14:37:25+08:00 New Revision: 21765af763f163e6c87f63d3c1dbc32b06119f60 URL: https://github.com/llvm/llvm-project/commit/21765af763f163e6c87f63d3c1dbc32b06119f60 DIFF: https://github.com/llvm/llvm-project/commit/21765af763f163e6c87f63d3c1dbc32b06119f60.diff LO

[clang] 2241146 - [NFC] [C++20] [Modules] Add a test for merging lambda types

2023-06-27 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-28T13:41:39+08:00 New Revision: 2241146752f9260d077a6ac38f43069f945e85b4 URL: https://github.com/llvm/llvm-project/commit/2241146752f9260d077a6ac38f43069f945e85b4 DIFF: https://github.com/llvm/llvm-project/commit/2241146752f9260d077a6ac38f43069f945e85b4.diff LO

[clang] 5bbadec - Recommit [C++20] [Modules] Don't load declaration eagerly for named modules

2023-04-05 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-04-06T11:01:58+08:00 New Revision: 5bbadec2d1e0d5d0d25295759d49f6cd420d0968 URL: https://github.com/llvm/llvm-project/commit/5bbadec2d1e0d5d0d25295759d49f6cd420d0968 DIFF: https://github.com/llvm/llvm-project/commit/5bbadec2d1e0d5d0d25295759d49f6cd420d0968.diff LO

[clang] 616c806 - [C++20] [Coroutines] Handle function-try-block in SemaCoroutine

2023-04-06 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-04-06T15:11:34+08:00 New Revision: 616c8067071316a9e17524b14b3ab0e04a511e71 URL: https://github.com/llvm/llvm-project/commit/616c8067071316a9e17524b14b3ab0e04a511e71 DIFF: https://github.com/llvm/llvm-project/commit/616c8067071316a9e17524b14b3ab0e04a511e71.diff LO

[clang] c1f7636 - [C++20] [Modules] Continue parsing after we found reserved module names

2023-04-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-04-13T15:14:34+08:00 New Revision: c1f76363e0db41ab6eb9ebedd687ee098491e9b7 URL: https://github.com/llvm/llvm-project/commit/c1f76363e0db41ab6eb9ebedd687ee098491e9b7 DIFF: https://github.com/llvm/llvm-project/commit/c1f76363e0db41ab6eb9ebedd687ee098491e9b7.diff LO

[clang] 52bc4b1 - [NFC] [C++20] [Modules] Refactor Sema::isModuleUnitOfCurrentTU into

2023-05-22 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-23T10:52:22+08:00 New Revision: 52bc4b16cb68d6d64c0d9499b2e6c1d719e78085 URL: https://github.com/llvm/llvm-project/commit/52bc4b16cb68d6d64c0d9499b2e6c1d719e78085 DIFF: https://github.com/llvm/llvm-project/commit/52bc4b16cb68d6d64c0d9499b2e6c1d719e78085.diff LO

[clang] 807aa26 - [C++20] [Modules] Don't ignore -fmodule-file when we compile pcm files

2023-05-22 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-23T14:22:01+08:00 New Revision: 807aa261361f4cd9153dda43c9cadbd3fcc659c5 URL: https://github.com/llvm/llvm-project/commit/807aa261361f4cd9153dda43c9cadbd3fcc659c5 DIFF: https://github.com/llvm/llvm-project/commit/807aa261361f4cd9153dda43c9cadbd3fcc659c5.diff LO

[clang] e74a4fe - [NFC] [C++20] [Modules] Add a test

2023-05-22 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-23T14:40:17+08:00 New Revision: e74a4fe317385ce2ca4045d3a0fac00e64ca3ee4 URL: https://github.com/llvm/llvm-project/commit/e74a4fe317385ce2ca4045d3a0fac00e64ca3ee4 DIFF: https://github.com/llvm/llvm-project/commit/e74a4fe317385ce2ca4045d3a0fac00e64ca3ee4.diff LO

[clang] c0d6f85 - [C++20] [Modules] Serialize the evaluated constant values for VarDecl

2023-05-23 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-24T10:17:33+08:00 New Revision: c0d6f85e3ae8bcfdb7217d165314f01c1a4af9ae URL: https://github.com/llvm/llvm-project/commit/c0d6f85e3ae8bcfdb7217d165314f01c1a4af9ae DIFF: https://github.com/llvm/llvm-project/commit/c0d6f85e3ae8bcfdb7217d165314f01c1a4af9ae.diff LO

[clang] 597dd1f - [NFC] Fix the warning for dangling pointer for c0d6f85e3ae8bc

2023-05-23 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-24T11:42:55+08:00 New Revision: 597dd1f91d9f3823e4184f1fe73d8125fa16c026 URL: https://github.com/llvm/llvm-project/commit/597dd1f91d9f3823e4184f1fe73d8125fa16c026 DIFF: https://github.com/llvm/llvm-project/commit/597dd1f91d9f3823e4184f1fe73d8125fa16c026.diff LO

[clang] 651b40e - Revert "[C++20] [Modules] Serialize the evaluated constant values for VarDecl"

2023-05-23 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-24T13:56:09+08:00 New Revision: 651b40e8ffa67efcc6f59cdd7715817678c6b632 URL: https://github.com/llvm/llvm-project/commit/651b40e8ffa67efcc6f59cdd7715817678c6b632 DIFF: https://github.com/llvm/llvm-project/commit/651b40e8ffa67efcc6f59cdd7715817678c6b632.diff LO

[clang] 1c9a800 - Recommit [C++20] [Modules] Serialize the evaluated constant values for VarDecl

2023-05-24 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-24T15:45:16+08:00 New Revision: 1c9a8004ed88c9a5e42e5b247cb489456559b845 URL: https://github.com/llvm/llvm-project/commit/1c9a8004ed88c9a5e42e5b247cb489456559b845 DIFF: https://github.com/llvm/llvm-project/commit/1c9a8004ed88c9a5e42e5b247cb489456559b845.diff LO

[clang] 536b76e - [NFC] [serialization] Refactor the outdated AbrrevToUse of VarDecl

2023-05-30 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-30T15:07:35+08:00 New Revision: 536b76e873c56994a7dc611a6081a7a79e9fb526 URL: https://github.com/llvm/llvm-project/commit/536b76e873c56994a7dc611a6081a7a79e9fb526 DIFF: https://github.com/llvm/llvm-project/commit/536b76e873c56994a7dc611a6081a7a79e9fb526.diff LO

[clang] 84bf4ab - [C++20] [Modules] Allow ADL in dependent context for modules

2023-02-06 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-07T14:09:46+08:00 New Revision: 84bf4ab087b105e0c72da9ec26ad45e9468fa7be URL: https://github.com/llvm/llvm-project/commit/84bf4ab087b105e0c72da9ec26ad45e9468fa7be DIFF: https://github.com/llvm/llvm-project/commit/84bf4ab087b105e0c72da9ec26ad45e9468fa7be.diff LO

[clang] 1782e8f - [C++20] [Modules] Allow -fmodule-file== for implementation unit and document the behavior

2023-02-08 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-08T16:45:00+08:00 New Revision: 1782e8f9e882e8f4fb59968ff555c8c93827ea02 URL: https://github.com/llvm/llvm-project/commit/1782e8f9e882e8f4fb59968ff555c8c93827ea02 DIFF: https://github.com/llvm/llvm-project/commit/1782e8f9e882e8f4fb59968ff555c8c93827ea02.diff LO

[clang] 6470706 - [C++20] [Modules] [NFC] Add Preprocessor methods for named modules - for ClangScanDeps (1/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T10:11:36+08:00 New Revision: 6470706bc0ed2425704bc8c9e121a72e2d272616 URL: https://github.com/llvm/llvm-project/commit/6470706bc0ed2425704bc8c9e121a72e2d272616 DIFF: https://github.com/llvm/llvm-project/commit/6470706bc0ed2425704bc8c9e121a72e2d272616.diff LO

[clang] de17c66 - [C++20] [Modules] [ClangScanDeps] Add ClangScanDeps support for C++20 Named Modules in P1689 format (2/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T10:26:43+08:00 New Revision: de17c665e3f995c7f5a0e453461ce3a1b8aec196 URL: https://github.com/llvm/llvm-project/commit/de17c665e3f995c7f5a0e453461ce3a1b8aec196 DIFF: https://github.com/llvm/llvm-project/commit/de17c665e3f995c7f5a0e453461ce3a1b8aec196.diff LO

[clang] 591fdcd - [C++20] [Modules] [ClangScanDeps] Allow clang-scan-deps to without specified compilation database in P1689 (3/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T10:42:04+08:00 New Revision: 591fdcde921334b2d502779006d7c168307a2106 URL: https://github.com/llvm/llvm-project/commit/591fdcde921334b2d502779006d7c168307a2106 DIFF: https://github.com/llvm/llvm-project/commit/591fdcde921334b2d502779006d7c168307a2106.diff LO

[clang] e135476 - [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4)

2023-02-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T11:23:36+08:00 New Revision: e1354763b6e641e45cc2371270883fcd26edf705 URL: https://github.com/llvm/llvm-project/commit/e1354763b6e641e45cc2371270883fcd26edf705 DIFF: https://github.com/llvm/llvm-project/commit/e1354763b6e641e45cc2371270883fcd26edf705.diff LO

[clang] dd380f9 - [NFC] Remove the unused parameter introduced in e135476

2023-02-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T16:03:29+08:00 New Revision: dd380f9243dec95744a43ff73723e85ad77abbdb URL: https://github.com/llvm/llvm-project/commit/dd380f9243dec95744a43ff73723e85ad77abbdb DIFF: https://github.com/llvm/llvm-project/commit/dd380f9243dec95744a43ff73723e85ad77abbdb.diff LO

[clang] 288f688 - [NFC] Add test to show that preprocess an import decl won't require to load it actually

2023-02-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T16:14:37+08:00 New Revision: 288f688e294a0d2ee162f99f745c06d1e95d3620 URL: https://github.com/llvm/llvm-project/commit/288f688e294a0d2ee162f99f745c06d1e95d3620 DIFF: https://github.com/llvm/llvm-project/commit/288f688e294a0d2ee162f99f745c06d1e95d3620.diff LO

[clang] 65f9719 - Revert "[C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4)"

2023-02-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-10T17:56:02+08:00 New Revision: 65f9719913eca9c7c72d1abf4eddab767abaebf6 URL: https://github.com/llvm/llvm-project/commit/65f9719913eca9c7c72d1abf4eddab767abaebf6 DIFF: https://github.com/llvm/llvm-project/commit/65f9719913eca9c7c72d1abf4eddab767abaebf6.diff LO

[clang] eb70b38 - Recommit [C++20] [Modules] [ClangScanDeps] Add ClangScanDeps support for C++20 Named Modules in P1689 format (2/4)

2023-02-12 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-13T10:42:35+08:00 New Revision: eb70b38f838f6a3511dcbbc33f3ee81a4d05ede1 URL: https://github.com/llvm/llvm-project/commit/eb70b38f838f6a3511dcbbc33f3ee81a4d05ede1 DIFF: https://github.com/llvm/llvm-project/commit/eb70b38f838f6a3511dcbbc33f3ee81a4d05ede1.diff LO

[clang] 212d905 - Recommit [C++20] [Modules] [ClangScanDeps] Allow clang-scan-deps to without specified compilation database in P1689 (3/4)

2023-02-12 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-13T11:01:24+08:00 New Revision: 212d905643bd9cf6f80175c774ba7ab831c89e46 URL: https://github.com/llvm/llvm-project/commit/212d905643bd9cf6f80175c774ba7ab831c89e46 DIFF: https://github.com/llvm/llvm-project/commit/212d905643bd9cf6f80175c774ba7ab831c89e46.diff LO

[clang] 64287d6 - Recommit [C++20] [Modules] [ClangScanDeps] Enable to print make-style dependency file within P1689 format (4/4)

2023-02-12 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-13T11:26:34+08:00 New Revision: 64287d69827c1d05edf8142742f6beb293d031fc URL: https://github.com/llvm/llvm-project/commit/64287d69827c1d05edf8142742f6beb293d031fc DIFF: https://github.com/llvm/llvm-project/commit/64287d69827c1d05edf8142742f6beb293d031fc.diff LO

[clang] 24ecd99 - [NFC] Set C++20 Named Modules for CodeGen in ASTContext in the early place

2023-02-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-13T17:14:58+08:00 New Revision: 24ecd99842352ed1e6d7877e76e93c2f83ebf3f3 URL: https://github.com/llvm/llvm-project/commit/24ecd99842352ed1e6d7877e76e93c2f83ebf3f3 DIFF: https://github.com/llvm/llvm-project/commit/24ecd99842352ed1e6d7877e76e93c2f83ebf3f3.diff LO

[clang] 9c4f0d8 - [docs] Add document for clang-scan-deps -format=p1689

2023-02-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-14T14:00:12+08:00 New Revision: 9c4f0d83f64ea64d662bb0c670bb5ca5d21a63fe URL: https://github.com/llvm/llvm-project/commit/9c4f0d83f64ea64d662bb0c670bb5ca5d21a63fe DIFF: https://github.com/llvm/llvm-project/commit/9c4f0d83f64ea64d662bb0c670bb5ca5d21a63fe.diff LO

[clang] 1ba93c3 - [Modules] Don't re-generate template specialization in the importer

2023-02-14 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-14T17:15:33+08:00 New Revision: 1ba93c3c30dcdf2659e3020ba462e0025187d8e1 URL: https://github.com/llvm/llvm-project/commit/1ba93c3c30dcdf2659e3020ba462e0025187d8e1 DIFF: https://github.com/llvm/llvm-project/commit/1ba93c3c30dcdf2659e3020ba462e0025187d8e1.diff LO

[clang] 8d995b2 - [C++20] [Modules] [ClangScanDeps] Ensure that we can mix the use of and clang modules

2023-02-14 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-15T11:00:03+08:00 New Revision: 8d995b26c7559f273809d0d29e5042850e47165a URL: https://github.com/llvm/llvm-project/commit/8d995b26c7559f273809d0d29e5042850e47165a DIFF: https://github.com/llvm/llvm-project/commit/8d995b26c7559f273809d0d29e5042850e47165a.diff LO

[clang] 54cf24d - [NFC] Refactor ModuleDeclStateTest to make it not dependent on Frontend

2023-02-14 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-15T11:30:18+08:00 New Revision: 54cf24dc6e6317f7a77f8a320f1fbccc31ea7291 URL: https://github.com/llvm/llvm-project/commit/54cf24dc6e6317f7a77f8a320f1fbccc31ea7291 DIFF: https://github.com/llvm/llvm-project/commit/54cf24dc6e6317f7a77f8a320f1fbccc31ea7291.diff LO

[clang] d54888a - [Modules] Refactor modules-ts tests to use standard c++ modules

2023-02-15 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-16T14:05:16+08:00 New Revision: d54888a3ebb141cdbb5e88ed7a3a2a54d24fc904 URL: https://github.com/llvm/llvm-project/commit/d54888a3ebb141cdbb5e88ed7a3a2a54d24fc904 DIFF: https://github.com/llvm/llvm-project/commit/d54888a3ebb141cdbb5e88ed7a3a2a54d24fc904.diff LO

[clang] 612f3ac - [Modules] Remove -fmodules-ts

2023-02-15 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-16T14:40:32+08:00 New Revision: 612f3ac26f8cdb7487408b5541b224876564e57c URL: https://github.com/llvm/llvm-project/commit/612f3ac26f8cdb7487408b5541b224876564e57c DIFF: https://github.com/llvm/llvm-project/commit/612f3ac26f8cdb7487408b5541b224876564e57c.diff LO

[clang] 999ead9 - [Modules] Code cleanup after removing ModulesTS

2023-02-15 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-16T15:22:38+08:00 New Revision: 999ead9dc9080cf95445149e6dae1de087ef90b8 URL: https://github.com/llvm/llvm-project/commit/999ead9dc9080cf95445149e6dae1de087ef90b8 DIFF: https://github.com/llvm/llvm-project/commit/999ead9dc9080cf95445149e6dae1de087ef90b8.diff LO

[clang] f8d5f0e - [NFC] Add two tests for C++ modules

2023-02-16 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-16T17:02:04+08:00 New Revision: f8d5f0e53b04040cebbba639530133b261a4432f URL: https://github.com/llvm/llvm-project/commit/f8d5f0e53b04040cebbba639530133b261a4432f DIFF: https://github.com/llvm/llvm-project/commit/f8d5f0e53b04040cebbba639530133b261a4432f.diff LO

[clang] 37b7a60 - [NFC] Add a test for C++20 Modules

2023-02-16 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-16T17:14:16+08:00 New Revision: 37b7a60cd74b7a1754583b7eb63a6339158fd398 URL: https://github.com/llvm/llvm-project/commit/37b7a60cd74b7a1754583b7eb63a6339158fd398 DIFF: https://github.com/llvm/llvm-project/commit/37b7a60cd74b7a1754583b7eb63a6339158fd398.diff LO

[clang] c5cb111 - [Modules] Handle the visibility of GMF during the template instantiation

2023-02-19 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-20T14:19:50+08:00 New Revision: c5cb1117e19273a26499a1e18770b74bdf3b9ade URL: https://github.com/llvm/llvm-project/commit/c5cb1117e19273a26499a1e18770b74bdf3b9ade DIFF: https://github.com/llvm/llvm-project/commit/c5cb1117e19273a26499a1e18770b74bdf3b9ade.diff LO

[clang] 70d78e0 - [NFC] Remove unused Sema::DirectModuleImports

2023-02-19 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-20T15:07:49+08:00 New Revision: 70d78e035801a35c95c55384621724b0ef8ecb35 URL: https://github.com/llvm/llvm-project/commit/70d78e035801a35c95c55384621724b0ef8ecb35 DIFF: https://github.com/llvm/llvm-project/commit/70d78e035801a35c95c55384621724b0ef8ecb35.diff LO

[clang] 2dfa957 - [NFC] Remove the unused parameter in Sema::PushGlobalModuleFragment

2023-02-19 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-20T15:37:55+08:00 New Revision: 2dfa957f120244ddc0238b548282f67d89f1a832 URL: https://github.com/llvm/llvm-project/commit/2dfa957f120244ddc0238b548282f67d89f1a832 DIFF: https://github.com/llvm/llvm-project/commit/2dfa957f120244ddc0238b548282f67d89f1a832.diff LO

[clang-tools-extra] 3fac87b - [NFC] Remove the use of '-fcoroutines-ts' in a test of clang-tidy

2023-02-22 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-23T14:16:00+08:00 New Revision: 3fac87b67749ece892fa6e797236eddc22c69ff6 URL: https://github.com/llvm/llvm-project/commit/3fac87b67749ece892fa6e797236eddc22c69ff6 DIFF: https://github.com/llvm/llvm-project/commit/3fac87b67749ece892fa6e797236eddc22c69ff6.diff LO

[clang] 6ed67cc - [Coroutines] Remove -fcoroutines-ts

2023-02-22 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-23T14:40:58+08:00 New Revision: 6ed67ccba7e4699e9e42302f2f9b7653444258ba URL: https://github.com/llvm/llvm-project/commit/6ed67ccba7e4699e9e42302f2f9b7653444258ba DIFF: https://github.com/llvm/llvm-project/commit/6ed67ccba7e4699e9e42302f2f9b7653444258ba.diff LO

[clang] 74565c3 - [Modules] Don't check [temp.friend]p9 in ASTContext::isSameEntity

2023-02-23 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-23T17:09:38+08:00 New Revision: 74565c3add6d683559618973863e78a5e6836e48 URL: https://github.com/llvm/llvm-project/commit/74565c3add6d683559618973863e78a5e6836e48 DIFF: https://github.com/llvm/llvm-project/commit/74565c3add6d683559618973863e78a5e6836e48.diff LO

[clang] 255b2d8 - Add test for issue 60486

2023-02-23 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-02-24T14:32:05+08:00 New Revision: 255b2d8162ead0ad444698506f97484572e574b1 URL: https://github.com/llvm/llvm-project/commit/255b2d8162ead0ad444698506f97484572e574b1 DIFF: https://github.com/llvm/llvm-project/commit/255b2d8162ead0ad444698506f97484572e574b1.diff LO

[clang] 5b388f8 - [C++20] [Modules] Don't check input files for C++20 Modules

2023-05-05 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-06T11:17:15+08:00 New Revision: 5b388f86aa9ce65778677ae56587867d6786355e URL: https://github.com/llvm/llvm-project/commit/5b388f86aa9ce65778677ae56587867d6786355e DIFF: https://github.com/llvm/llvm-project/commit/5b388f86aa9ce65778677ae56587867d6786355e.diff LO

[clang] 60a3784 - [C++20] [Modules] Handle modules visible relationship properly

2023-05-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-09T18:36:37+08:00 New Revision: 60a3784b3e1f0e65e2a0e6daf070bbc7cd4bbab5 URL: https://github.com/llvm/llvm-project/commit/60a3784b3e1f0e65e2a0e6daf070bbc7cd4bbab5 DIFF: https://github.com/llvm/llvm-project/commit/60a3784b3e1f0e65e2a0e6daf070bbc7cd4bbab5.diff LO

[clang] 7adf384 - [docs] [C++20] [Modules] Remove the section 'Source content consistency'

2023-05-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-10T09:59:50+08:00 New Revision: 7adf3849e40e0b9faa3512874e2a1dc4cf86387a URL: https://github.com/llvm/llvm-project/commit/7adf3849e40e0b9faa3512874e2a1dc4cf86387a DIFF: https://github.com/llvm/llvm-project/commit/7adf3849e40e0b9faa3512874e2a1dc4cf86387a.diff LO

[clang] f109b10 - [NFC] [C++20] [Modules] Refactor Sema::isModuleUnitOfCurrentTU into

2023-05-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-10T16:01:27+08:00 New Revision: f109b1016801e2b0dbee278f3c517057c0b1d441 URL: https://github.com/llvm/llvm-project/commit/f109b1016801e2b0dbee278f3c517057c0b1d441 DIFF: https://github.com/llvm/llvm-project/commit/f109b1016801e2b0dbee278f3c517057c0b1d441.diff LO

[clang] b6c7177 - [C++20] [Modules] Don't generate unused variables in other module units

2023-05-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-10T17:41:58+08:00 New Revision: b6c7177145bc439c712208bfbe041db212c5262d URL: https://github.com/llvm/llvm-project/commit/b6c7177145bc439c712208bfbe041db212c5262d DIFF: https://github.com/llvm/llvm-project/commit/b6c7177145bc439c712208bfbe041db212c5262d.diff LO

[clang] 48bbc64 - [NFC] [C++20] [Modules] Code cleanups when checking modules in ADL

2023-05-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-10T17:53:47+08:00 New Revision: 48bbc64a8ff5e3777a76a02cffd94b3786b93203 URL: https://github.com/llvm/llvm-project/commit/48bbc64a8ff5e3777a76a02cffd94b3786b93203 DIFF: https://github.com/llvm/llvm-project/commit/48bbc64a8ff5e3777a76a02cffd94b3786b93203.diff LO

[clang] 6e85d27 - [C++] Don't filter using declaration when we perform qualified look up

2023-05-10 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-11T10:21:52+08:00 New Revision: 6e85d2708115bc1c7cd1bf1674b64934a3cf6c25 URL: https://github.com/llvm/llvm-project/commit/6e85d2708115bc1c7cd1bf1674b64934a3cf6c25 DIFF: https://github.com/llvm/llvm-project/commit/6e85d2708115bc1c7cd1bf1674b64934a3cf6c25.diff LO

[clang] cf47e9f - [Serialization] Don't try to complete the redeclaration chain in

2023-05-11 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-12T14:28:58+08:00 New Revision: cf47e9fe86aa65b74b0476a5ad4d036dd7463bfb URL: https://github.com/llvm/llvm-project/commit/cf47e9fe86aa65b74b0476a5ad4d036dd7463bfb DIFF: https://github.com/llvm/llvm-project/commit/cf47e9fe86aa65b74b0476a5ad4d036dd7463bfb.diff LO

[clang] 62b5e55 - Revert "[Serialization] Don't try to complete the redeclaration chain in"

2023-05-14 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-15T11:19:17+08:00 New Revision: 62b5e55512d57b083ac07d40b41242c7116a3d20 URL: https://github.com/llvm/llvm-project/commit/62b5e55512d57b083ac07d40b41242c7116a3d20 DIFF: https://github.com/llvm/llvm-project/commit/62b5e55512d57b083ac07d40b41242c7116a3d20.diff LO

[clang] 40c3054 - [NFC] [C++20] [Modules] Refactoring b6c7177145bc to make it not

2023-05-15 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-16T10:34:02+08:00 New Revision: 40c30543892aa6441eea075ba69864e79f5de82e URL: https://github.com/llvm/llvm-project/commit/40c30543892aa6441eea075ba69864e79f5de82e DIFF: https://github.com/llvm/llvm-project/commit/40c30543892aa6441eea075ba69864e79f5de82e.diff LO

[clang] 7f37066 - Revert "[NFC] [C++20] [Modules] Refactor Sema::isModuleUnitOfCurrentTU into"

2023-05-15 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-16T10:47:53+08:00 New Revision: 7f37066915ab330f153ede708ddc610cf2cb7bdf URL: https://github.com/llvm/llvm-project/commit/7f37066915ab330f153ede708ddc610cf2cb7bdf DIFF: https://github.com/llvm/llvm-project/commit/7f37066915ab330f153ede708ddc610cf2cb7bdf.diff LO

[clang] 88a720d - [NFC] [C++20] [Modules] Rename ASTContext::getNamedModuleForCodeGen to ASTContext::getCurrentNamedModule

2023-05-15 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-16T11:24:35+08:00 New Revision: 88a720d19479e4cad186f00a9911714c3d77303a URL: https://github.com/llvm/llvm-project/commit/88a720d19479e4cad186f00a9911714c3d77303a DIFF: https://github.com/llvm/llvm-project/commit/88a720d19479e4cad186f00a9911714c3d77303a.diff LO

[clang] e22fa1d - [C++20] [Modules] Emit a warning if the we load the modules by implicit generated path

2023-05-17 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-17T17:53:36+08:00 New Revision: e22fa1d4c6152d36cf1342ab9029adc97c79a310 URL: https://github.com/llvm/llvm-project/commit/e22fa1d4c6152d36cf1342ab9029adc97c79a310 DIFF: https://github.com/llvm/llvm-project/commit/e22fa1d4c6152d36cf1342ab9029adc97c79a310.diff LO

[clang] fc89e90 - [C++20] [Modules] Emit an warning for experimental header units

2023-05-18 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-05-18T16:12:41+08:00 New Revision: fc89e9044d0b37dcd4e3f085f21bef1b21d2ab8d URL: https://github.com/llvm/llvm-project/commit/fc89e9044d0b37dcd4e3f085f21bef1b21d2ab8d DIFF: https://github.com/llvm/llvm-project/commit/fc89e9044d0b37dcd4e3f085f21bef1b21d2ab8d.diff LO

[clang] 20d9aa1 - [doc] [C++20] [Modules] Document that the interfaces of header units is experimental

2023-04-20 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-04-21T10:43:24+08:00 New Revision: 20d9aa1a439f95468baa9cc40c5c6482ed7665d5 URL: https://github.com/llvm/llvm-project/commit/20d9aa1a439f95468baa9cc40c5c6482ed7665d5 DIFF: https://github.com/llvm/llvm-project/commit/20d9aa1a439f95468baa9cc40c5c6482ed7665d5.diff LO

[clang] aba32ab - [C++20] [Modules] Avoid crash if the inconsistency the size of lang options exceeds 1

2023-04-26 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-04-27T14:20:59+08:00 New Revision: aba32abe2d93133a46f67764937a1c85d455dce8 URL: https://github.com/llvm/llvm-project/commit/aba32abe2d93133a46f67764937a1c85d455dce8 DIFF: https://github.com/llvm/llvm-project/commit/aba32abe2d93133a46f67764937a1c85d455dce8.diff LO

[clang] c336c98 - [C++20] [Modules] [Serialization] Don't write comments to BMI for C++20 Named Modules

2023-06-05 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-06T13:05:17+08:00 New Revision: c336c983bcd9bf3559c76ed4eb6b25fbafbcd361 URL: https://github.com/llvm/llvm-project/commit/c336c983bcd9bf3559c76ed4eb6b25fbafbcd361 DIFF: https://github.com/llvm/llvm-project/commit/c336c983bcd9bf3559c76ed4eb6b25fbafbcd361.diff LO

[clang] 60eb1da - [Modules] [Sema] Don't try to getAcceptableDecls during the iteration of noload_lookups

2023-06-08 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-09T11:32:06+08:00 New Revision: 60eb1da315559a9e20f9bf502fd10ba68f6d4085 URL: https://github.com/llvm/llvm-project/commit/60eb1da315559a9e20f9bf502fd10ba68f6d4085 DIFF: https://github.com/llvm/llvm-project/commit/60eb1da315559a9e20f9bf502fd10ba68f6d4085.diff LO

[clang] dcbbdbe - [NFC] remove duplciated unittests for modules

2023-06-09 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-09T17:19:32+08:00 New Revision: dcbbdbe3e50214b550383510ba05d059dc38496a URL: https://github.com/llvm/llvm-project/commit/dcbbdbe3e50214b550383510ba05d059dc38496a DIFF: https://github.com/llvm/llvm-project/commit/dcbbdbe3e50214b550383510ba05d059dc38496a.diff LO

[clang] d8a36b0 - [ABI] [C++20] [Modules] Don't generate vtable if the class is defined in other module unit

2023-06-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-14T12:45:34+08:00 New Revision: d8a36b00d198fdc2ea866ea5da449628db07070f URL: https://github.com/llvm/llvm-project/commit/d8a36b00d198fdc2ea866ea5da449628db07070f DIFF: https://github.com/llvm/llvm-project/commit/d8a36b00d198fdc2ea866ea5da449628db07070f.diff LO

[clang] baf0b12 - [NFC] skip the test modules-vtable.cppm on windows

2023-06-14 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2023-06-14T15:05:31+08:00 New Revision: baf0b12ca6c624b2a59aa6f2fd0310c72d35ac56 URL: https://github.com/llvm/llvm-project/commit/baf0b12ca6c624b2a59aa6f2fd0310c72d35ac56 DIFF: https://github.com/llvm/llvm-project/commit/baf0b12ca6c624b2a59aa6f2fd0310c72d35ac56.diff LO

[clang] 303f20a - [C++20] [Modules] [Serialization] Deserialize

2022-12-06 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2022-12-07T10:52:02+08:00 New Revision: 303f20a2cab4554a10ec225fd853709146f8c51c URL: https://github.com/llvm/llvm-project/commit/303f20a2cab4554a10ec225fd853709146f8c51c DIFF: https://github.com/llvm/llvm-project/commit/303f20a2cab4554a10ec225fd853709146f8c51c.diff LO

[clang] 7dccdd7 - [Coroutines] Don't mark the parameter attribute of resume function as noalias

2022-12-12 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2022-12-13T10:19:24+08:00 New Revision: 7dccdd76b3749508f4a4147b0ba1f7f2689bebb2 URL: https://github.com/llvm/llvm-project/commit/7dccdd76b3749508f4a4147b0ba1f7f2689bebb2 DIFF: https://github.com/llvm/llvm-project/commit/7dccdd76b3749508f4a4147b0ba1f7f2689bebb2.diff LO

[clang] edb3b44 - [NFC] [C++20] [Modules] Add more lambda tests

2022-12-13 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2022-12-14T11:30:12+08:00 New Revision: edb3b44e7d7ca34b7e7a880a15411678d057e039 URL: https://github.com/llvm/llvm-project/commit/edb3b44e7d7ca34b7e7a880a15411678d057e039 DIFF: https://github.com/llvm/llvm-project/commit/edb3b44e7d7ca34b7e7a880a15411678d057e039.diff LO

[clang] aa00493 - [NFC] [C++20] [Modules] Add merge-records test for C++20 Modules

2022-12-14 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2022-12-15T15:32:46+08:00 New Revision: aa00493de2b3c3a1819497ad36b8262be12e40bb URL: https://github.com/llvm/llvm-project/commit/aa00493de2b3c3a1819497ad36b8262be12e40bb DIFF: https://github.com/llvm/llvm-project/commit/aa00493de2b3c3a1819497ad36b8262be12e40bb.diff LO

[clang-tools-extra] [clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (PR #66462)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: @sam-mccall ping~. Let's see if we can make it in clang19. https://github.com/llvm/llvm-project/pull/66462 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clangd] Fix C++20 modules crash (PR #81919)

2024-02-17 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 requested changes to this pull request. This is not wanted. While we have a policy to revert patches if the patches break existing codes, the C++20 modules support in clangd is literally broken: https://github.com/clangd/clangd/issues/1293 Also the ability to skip

[clang] [docs] [C++20] [Modules] Ideas for transitioning to modules (PR #80687)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: I'd like to land this in 2 weeks if no more comments come in. https://github.com/llvm/llvm-project/pull/80687 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/79712 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -173,19 +173,36 @@ static bool ResumeStmtCanThrow(const Stmt *S) { return false; } +static bool AwaitSuspendStmtCanThrow(const Stmt *S) { + return ResumeStmtCanThrow(S); +} + // Emit suspend expression which roughly looks like: // // auto && x = CommonExpr(); //

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -232,16 +250,74 @@ static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Co auto *NullPtr = llvm::ConstantPointerNull::get(CGF.CGM.Int8PtrTy); auto *SaveCall = Builder.CreateCall(CoroSave, {NullPtr}); + const auto AwaitSuspendCanThrow = +

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -232,16 +250,74 @@ static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Co auto *NullPtr = llvm::ConstantPointerNull::get(CGF.CGM.Int8PtrTy); auto *SaveCall = Builder.CreateCall(CoroSave, {NullPtr}); + const auto AwaitSuspendCanThrow = +

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -338,6 +414,71 @@ static QualType getCoroutineSuspendExprReturnType(const ASTContext &Ctx, } #endif +llvm::Function * +CodeGenFunction::generateAwaitSuspendWrapper(Twine const &CoroName, + Twine const &SuspendPointName, +

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -167,6 +167,47 @@ class CoroCloner { } // end anonymous namespace +// FIXME: +// Lower the intrinisc earlier if coroutine frame doesn't escape ChuanqiXu9 wrote: ```suggestion // Lower the intrinisc in CoroEarly phase if coroutine frame doesn't escape ```

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -380,66 +380,7 @@ static Expr *maybeTailCall(Sema &S, QualType RetType, Expr *E, // __builtin_coro_resume so that the cleanup code are not inserted in-between // the resume call and return instruction, which would interfere with the // musttail call contract. - JustA

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -2013,6 +2104,10 @@ splitCoroutine(Function &F, SmallVectorImpl &Clones, buildCoroutineFrame(F, Shape, MaterializableCallback); replaceFrameSizeAndAlignment(Shape); + IRBuilder<> Builder(M.getContext()); ChuanqiXu9 wrote: ```suggestion IRBuilder<>

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 commented: Thanks. This looks much better now. Given the CoroAwaitSuspendInst is lowered before splitting coroutines, I think we don't need to handle it specially in `CoroSplit` any more. https://github.com/llvm/llvm-project/pull/79712

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -5038,6 +5038,8 @@ class CoroutineSuspendExpr : public Expr { OpaqueValueExpr *OpaqueValue = nullptr; public: + enum SuspendReturnType { SuspendVoid, SuspendBool, SuspendHandle }; ChuanqiXu9 wrote: nit: Add a comment to explain that the return type of c

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -1396,9 +1478,18 @@ static bool simplifySuspendPoint(CoroSuspendInst *Suspend, if (!SubFn) return false; - // Does not refer to the current coroutine, we cannot do anything with it. - if (SubFn->getFrame() != CoroBegin) -return false; + auto Frame = SubFn->get

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -232,16 +250,74 @@ static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Co auto *NullPtr = llvm::ConstantPointerNull::get(CGF.CGM.Int8PtrTy); auto *SaveCall = Builder.CreateCall(CoroSave, {NullPtr}); + const auto AwaitSuspendCanThrow = +

[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

2024-02-17 Thread Chuanqi Xu via cfe-commits
@@ -5097,6 +5099,22 @@ class CoroutineSuspendExpr : public Expr { return static_cast(SubExprs[SubExpr::Operand]); } + SuspendReturnType getSuspendReturnType() const { +auto *SuspendExpr = getSuspendExpr(); +assert(SuspendExpr); + +auto SuspendType = SuspendE

[clang] [clang][modules] Print library module manifest path. (PR #76451)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: (This is another example that the github review can't work well with the reverted patches...) @mordante I think you can add `// REQUIRES: x86-registered-target` to the test if @kaz7 can't respond quickly. It will skip the test on targets other than x86. And it should keep th

[clang] [C++20] [Modules] Introduce reduced BMI (PR #75894)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: @iains @mizvekov ping~ https://github.com/llvm/llvm-project/pull/75894 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > [do not merge] [runtime-cxxmodules] Rework our lazy template specialization > deserialization mechanism root-project/root#14495 >From https://github.com/root-project/root/pull/14495, I see there is new reply >saying the testing is actually fine. Do you think we still need t

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > > > [do not merge] [runtime-cxxmodules] Rework our lazy template > > > specialization deserialization mechanism > > > [root-project/root#14495](https://github.com/root-project/root/pull/14495) > > > > > > From > > [root-project/root#14495](https://github.com/root-project/

[clang] 1ecbab5 - [C++20] [Modules] Don't import non-inline function bodies even if it is marked as always_inline

2024-02-17 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2024-02-18T15:15:28+08:00 New Revision: 1ecbab56dcbb78268c8d19af34a50591f90b12a0 URL: https://github.com/llvm/llvm-project/commit/1ecbab56dcbb78268c8d19af34a50591f90b12a0 DIFF: https://github.com/llvm/llvm-project/commit/1ecbab56dcbb78268c8d19af34a50591f90b12a0.diff LO

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-02-17 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > > > > > [do not merge] [runtime-cxxmodules] Rework our lazy template > > > > > specialization deserialization mechanism > > > > > [root-project/root#14495](https://github.com/root-project/root/pull/14495) > > > > > > > > > > > > From > > > > [root-project/root#14495](http

[clang] [Clang] Unify interface for accessing template arguments as written for class/variable template specializations (PR #81642)

2024-02-18 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/81642 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Unify interface for accessing template arguments as written for class/variable template specializations (PR #81642)

2024-02-18 Thread Chuanqi Xu via cfe-commits
@@ -1792,23 +1807,11 @@ class ClassTemplateSpecializationDecl llvm::PointerUnion SpecializedTemplate; - /// Further info for explicit template specialization/instantiation. - struct ExplicitSpecializationInfo { -/// The type-as-written. -TypeSourceInfo *TypeAsW

[clang] [Clang] Unify interface for accessing template arguments as written for class/variable template specializations (PR #81642)

2024-02-18 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 commented: Sounds good. My instinct reaction to the title is that you're going to unify the annoying duplicated interfaces for the 5 specialization classes (function specialization, class/var (partial) specializations). But it is still good to merge these things.

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-02-18 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > > > > > > > [do not merge] [runtime-cxxmodules] Rework our lazy template > > > > > > > specialization deserialization mechanism > > > > > > > [root-project/root#14495](https://github.com/root-project/root/pull/14495) > > > > > > > > > > > > > > > > > > From > > > > > > [r

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-02-18 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > > > > > > > > > [do not merge] [runtime-cxxmodules] Rework our lazy template > > > > > > > > > specialization deserialization mechanism > > > > > > > > > [root-project/root#14495](https://github.com/root-project/root/pull/14495) > > > > > > > > > > > > > > > > > > > > > >

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-02-18 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > > > > > > > > [do not merge] [runtime-cxxmodules] Rework our lazy template > > > > > > > > specialization deserialization mechanism > > > > > > > > [root-project/root#14495](https://github.com/root-project/root/pull/14495) > > > > > > > > > > > > > > > > > > > > > From >

<    5   6   7   8   9   10   11   12   13   14   >