@@ -984,7 +984,9 @@ static void inferFrameworkLink(Module *Mod) {
assert(!Mod->isSubFramework() &&
"Can only infer linking for top-level frameworks");
- Mod->LinkLibraries.push_back(Module::LinkLibrary(Mod->Name,
+ StringRef FrameworkName(Mod->Name);
+ FrameworkN
@@ -984,7 +984,9 @@ static void inferFrameworkLink(Module *Mod) {
assert(!Mod->isSubFramework() &&
"Can only infer linking for top-level frameworks");
- Mod->LinkLibraries.push_back(Module::LinkLibrary(Mod->Name,
+ StringRef FrameworkName(Mod->Name);
+ FrameworkN
@@ -0,0 +1,25 @@
+// Test that autolink hints for frameworks don't use the private module name.
jansvoboda11 wrote:
Makes sense, thanks!
https://github.com/llvm/llvm-project/pull/77120
___
cfe-commits mailing list
cfe-
https://github.com/jansvoboda11 approved this pull request.
https://github.com/llvm/llvm-project/pull/77120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jan Svoboda
Date: 2022-08-10T11:58:28-07:00
New Revision: 71e32d5cf0053090aaad62d946fcfd00f1915f26
URL:
https://github.com/llvm/llvm-project/commit/71e32d5cf0053090aaad62d946fcfd00f1915f26
DIFF:
https://github.com/llvm/llvm-project/commit/71e32d5cf0053090aaad62d946fcfd00f1915f26.diff
L
Author: Jan Svoboda
Date: 2022-08-10T15:25:09-07:00
New Revision: d5fcf8a5e2e03c9c8e375876a2127d90db7efe13
URL:
https://github.com/llvm/llvm-project/commit/d5fcf8a5e2e03c9c8e375876a2127d90db7efe13
DIFF:
https://github.com/llvm/llvm-project/commit/d5fcf8a5e2e03c9c8e375876a2127d90db7efe13.diff
L
Author: Jan Svoboda
Date: 2021-07-20T11:31:31+02:00
New Revision: 63fd109d3aa6db48e38e1c78f6084ad257f2c37d
URL:
https://github.com/llvm/llvm-project/commit/63fd109d3aa6db48e38e1c78f6084ad257f2c37d
DIFF:
https://github.com/llvm/llvm-project/commit/63fd109d3aa6db48e38e1c78f6084ad257f2c37d.diff
L
Author: Jan Svoboda
Date: 2021-07-20T12:08:46+02:00
New Revision: bc1a2979fc70d954ae97122205c71c8404a1b17e
URL:
https://github.com/llvm/llvm-project/commit/bc1a2979fc70d954ae97122205c71c8404a1b17e
DIFF:
https://github.com/llvm/llvm-project/commit/bc1a2979fc70d954ae97122205c71c8404a1b17e.diff
L
Author: Jan Svoboda
Date: 2021-07-20T12:20:10+02:00
New Revision: e564fd93ab85d1810e0d83e961ccc8b99025ff34
URL:
https://github.com/llvm/llvm-project/commit/e564fd93ab85d1810e0d83e961ccc8b99025ff34
DIFF:
https://github.com/llvm/llvm-project/commit/e564fd93ab85d1810e0d83e961ccc8b99025ff34.diff
L
Author: Jan Svoboda
Date: 2021-07-20T13:20:56+02:00
New Revision: c94a345a5c693b6c12a41e8f50e3fe96d1311991
URL:
https://github.com/llvm/llvm-project/commit/c94a345a5c693b6c12a41e8f50e3fe96d1311991
DIFF:
https://github.com/llvm/llvm-project/commit/c94a345a5c693b6c12a41e8f50e3fe96d1311991.diff
L
Author: Jan Svoboda
Date: 2021-07-22T12:21:12+02:00
New Revision: aa245ddd4627c98083eb372b95e049073aeb36d2
URL:
https://github.com/llvm/llvm-project/commit/aa245ddd4627c98083eb372b95e049073aeb36d2
DIFF:
https://github.com/llvm/llvm-project/commit/aa245ddd4627c98083eb372b95e049073aeb36d2.diff
L
Author: Jan Svoboda
Date: 2021-07-27T09:17:39+02:00
New Revision: 60426f33b1d417763ca1954fba5293c959c9623d
URL:
https://github.com/llvm/llvm-project/commit/60426f33b1d417763ca1954fba5293c959c9623d
DIFF:
https://github.com/llvm/llvm-project/commit/60426f33b1d417763ca1954fba5293c959c9623d.diff
L
Author: Jan Svoboda
Date: 2021-07-27T09:18:58+02:00
New Revision: b76c7c6faf06bb02b7b7b6bba3f6eb8a33edcdca
URL:
https://github.com/llvm/llvm-project/commit/b76c7c6faf06bb02b7b7b6bba3f6eb8a33edcdca
DIFF:
https://github.com/llvm/llvm-project/commit/b76c7c6faf06bb02b7b7b6bba3f6eb8a33edcdca.diff
L
Author: Jan Svoboda
Date: 2021-07-27T10:47:55+02:00
New Revision: 11ee699b3c812ebe56ce5d3b14ab7ef16c1e8495
URL:
https://github.com/llvm/llvm-project/commit/11ee699b3c812ebe56ce5d3b14ab7ef16c1e8495
DIFF:
https://github.com/llvm/llvm-project/commit/11ee699b3c812ebe56ce5d3b14ab7ef16c1e8495.diff
L
Author: Jan Svoboda
Date: 2021-07-27T11:09:45+02:00
New Revision: 5bcbb5ec5f07e4ab0ec8f8941bb4a98cab44d169
URL:
https://github.com/llvm/llvm-project/commit/5bcbb5ec5f07e4ab0ec8f8941bb4a98cab44d169
DIFF:
https://github.com/llvm/llvm-project/commit/5bcbb5ec5f07e4ab0ec8f8941bb4a98cab44d169.diff
L
Author: Jan Svoboda
Date: 2021-07-27T11:48:44+02:00
New Revision: 0f98e6e87558b34cb00e2a043d471cb71466783a
URL:
https://github.com/llvm/llvm-project/commit/0f98e6e87558b34cb00e2a043d471cb71466783a
DIFF:
https://github.com/llvm/llvm-project/commit/0f98e6e87558b34cb00e2a043d471cb71466783a.diff
L
Author: Jan Svoboda
Date: 2022-03-12T11:07:21+01:00
New Revision: a6ef3635461c7e689972337b281d0052331f6150
URL:
https://github.com/llvm/llvm-project/commit/a6ef3635461c7e689972337b281d0052331f6150
DIFF:
https://github.com/llvm/llvm-project/commit/a6ef3635461c7e689972337b281d0052331f6150.diff
L
Author: Jan Svoboda
Date: 2022-03-12T11:32:51+01:00
New Revision: 7f6af607464e5bcf2bd8b7bc7724a5985d7a0c34
URL:
https://github.com/llvm/llvm-project/commit/7f6af607464e5bcf2bd8b7bc7724a5985d7a0c34
DIFF:
https://github.com/llvm/llvm-project/commit/7f6af607464e5bcf2bd8b7bc7724a5985d7a0c34.diff
L
Author: Jan Svoboda
Date: 2022-03-12T11:42:07+01:00
New Revision: cf4a31fc0f9745dabbd7d9cba56a6a9045a026d0
URL:
https://github.com/llvm/llvm-project/commit/cf4a31fc0f9745dabbd7d9cba56a6a9045a026d0
DIFF:
https://github.com/llvm/llvm-project/commit/cf4a31fc0f9745dabbd7d9cba56a6a9045a026d0.diff
L
Author: Jan Svoboda
Date: 2022-03-12T12:09:22+01:00
New Revision: 4d6835f96d610c59c6558f571214e6c42097fec9
URL:
https://github.com/llvm/llvm-project/commit/4d6835f96d610c59c6558f571214e6c42097fec9
DIFF:
https://github.com/llvm/llvm-project/commit/4d6835f96d610c59c6558f571214e6c42097fec9.diff
L
Author: Jan Svoboda
Date: 2022-03-12T16:45:09+01:00
New Revision: c4b13f7a2f7f74006f2436ef431093d13d94f1f3
URL:
https://github.com/llvm/llvm-project/commit/c4b13f7a2f7f74006f2436ef431093d13d94f1f3
DIFF:
https://github.com/llvm/llvm-project/commit/c4b13f7a2f7f74006f2436ef431093d13d94f1f3.diff
L
Author: Jan Svoboda
Date: 2022-03-12T16:55:38+01:00
New Revision: 913107fa1fb1ea680f1f079a1cdfc5f05a7bfb0b
URL:
https://github.com/llvm/llvm-project/commit/913107fa1fb1ea680f1f079a1cdfc5f05a7bfb0b
DIFF:
https://github.com/llvm/llvm-project/commit/913107fa1fb1ea680f1f079a1cdfc5f05a7bfb0b.diff
L
Author: Jan Svoboda
Date: 2022-03-16T12:17:53+01:00
New Revision: 1e25ff84d89e94ec7af6352b02e2d74a5e273a85
URL:
https://github.com/llvm/llvm-project/commit/1e25ff84d89e94ec7af6352b02e2d74a5e273a85
DIFF:
https://github.com/llvm/llvm-project/commit/1e25ff84d89e94ec7af6352b02e2d74a5e273a85.diff
L
Author: Jan Svoboda
Date: 2022-03-16T12:17:53+01:00
New Revision: 6007b0b67bcb7c446f012357e34d5cd3b6c58d88
URL:
https://github.com/llvm/llvm-project/commit/6007b0b67bcb7c446f012357e34d5cd3b6c58d88
DIFF:
https://github.com/llvm/llvm-project/commit/6007b0b67bcb7c446f012357e34d5cd3b6c58d88.diff
L
Author: Jan Svoboda
Date: 2022-03-16T12:17:52+01:00
New Revision: 77924d60efa8b3a0278361fe77403a71576c9349
URL:
https://github.com/llvm/llvm-project/commit/77924d60efa8b3a0278361fe77403a71576c9349
DIFF:
https://github.com/llvm/llvm-project/commit/77924d60efa8b3a0278361fe77403a71576c9349.diff
L
Author: Jan Svoboda
Date: 2022-03-16T12:17:53+01:00
New Revision: d73daa9135463ad4d4a08a9f0a75e109f921ad54
URL:
https://github.com/llvm/llvm-project/commit/d73daa9135463ad4d4a08a9f0a75e109f921ad54
DIFF:
https://github.com/llvm/llvm-project/commit/d73daa9135463ad4d4a08a9f0a75e109f921ad54.diff
L
Author: Jan Svoboda
Date: 2022-03-16T13:36:32+01:00
New Revision: 85db3a27cf8118b89a6759757fb3b6fccb96db96
URL:
https://github.com/llvm/llvm-project/commit/85db3a27cf8118b89a6759757fb3b6fccb96db96
DIFF:
https://github.com/llvm/llvm-project/commit/85db3a27cf8118b89a6759757fb3b6fccb96db96.diff
L
Author: Jan Svoboda
Date: 2022-03-16T13:40:09+01:00
New Revision: f9096b89ddc1efe30fc6235abf79253544831fe0
URL:
https://github.com/llvm/llvm-project/commit/f9096b89ddc1efe30fc6235abf79253544831fe0
DIFF:
https://github.com/llvm/llvm-project/commit/f9096b89ddc1efe30fc6235abf79253544831fe0.diff
L
Author: Jan Svoboda
Date: 2022-03-23T14:49:17+01:00
New Revision: 59dadd178b0b12cb4a975a262ed20e7c3822aedc
URL:
https://github.com/llvm/llvm-project/commit/59dadd178b0b12cb4a975a262ed20e7c3822aedc
DIFF:
https://github.com/llvm/llvm-project/commit/59dadd178b0b12cb4a975a262ed20e7c3822aedc.diff
L
Author: Jan Svoboda
Date: 2022-03-23T15:42:10+01:00
New Revision: 26053ce05a87fdb9a0714d6df399783fee50b317
URL:
https://github.com/llvm/llvm-project/commit/26053ce05a87fdb9a0714d6df399783fee50b317
DIFF:
https://github.com/llvm/llvm-project/commit/26053ce05a87fdb9a0714d6df399783fee50b317.diff
L
Author: Jan Svoboda
Date: 2022-03-23T15:42:11+01:00
New Revision: 30cb49b44e4e2af2e0627b2aa33df0ba57ab9e55
URL:
https://github.com/llvm/llvm-project/commit/30cb49b44e4e2af2e0627b2aa33df0ba57ab9e55
DIFF:
https://github.com/llvm/llvm-project/commit/30cb49b44e4e2af2e0627b2aa33df0ba57ab9e55.diff
L
Author: Jan Svoboda
Date: 2022-04-08T09:18:00+02:00
New Revision: b672638dbc7cec9a51826520e8f8aef276bac3ee
URL:
https://github.com/llvm/llvm-project/commit/b672638dbc7cec9a51826520e8f8aef276bac3ee
DIFF:
https://github.com/llvm/llvm-project/commit/b672638dbc7cec9a51826520e8f8aef276bac3ee.diff
L
Author: Jan Svoboda
Date: 2022-04-14T10:46:12+02:00
New Revision: d79ad2f1dbc2db63121620f55d6cfa915f2733ac
URL:
https://github.com/llvm/llvm-project/commit/d79ad2f1dbc2db63121620f55d6cfa915f2733ac
DIFF:
https://github.com/llvm/llvm-project/commit/d79ad2f1dbc2db63121620f55d6cfa915f2733ac.diff
L
Author: Jan Svoboda
Date: 2022-04-15T15:16:17+02:00
New Revision: f263dac4465c251e37af9787baf5e9f56138e369
URL:
https://github.com/llvm/llvm-project/commit/f263dac4465c251e37af9787baf5e9f56138e369
DIFF:
https://github.com/llvm/llvm-project/commit/f263dac4465c251e37af9787baf5e9f56138e369.diff
L
Author: Jan Svoboda
Date: 2022-04-15T15:16:17+02:00
New Revision: 99b4874a53cf4cd39a164a63b5505baace825d7c
URL:
https://github.com/llvm/llvm-project/commit/99b4874a53cf4cd39a164a63b5505baace825d7c
DIFF:
https://github.com/llvm/llvm-project/commit/99b4874a53cf4cd39a164a63b5505baace825d7c.diff
L
Author: Jan Svoboda
Date: 2022-04-15T15:16:17+02:00
New Revision: 9d98f58959b12b6ddab5ac10453e1464bb830e96
URL:
https://github.com/llvm/llvm-project/commit/9d98f58959b12b6ddab5ac10453e1464bb830e96
DIFF:
https://github.com/llvm/llvm-project/commit/9d98f58959b12b6ddab5ac10453e1464bb830e96.diff
L
Author: Jan Svoboda
Date: 2022-04-15T15:16:17+02:00
New Revision: 713e716cdaef1ee069f27bb71fd232a782565e0a
URL:
https://github.com/llvm/llvm-project/commit/713e716cdaef1ee069f27bb71fd232a782565e0a
DIFF:
https://github.com/llvm/llvm-project/commit/713e716cdaef1ee069f27bb71fd232a782565e0a.diff
L
Author: Jan Svoboda
Date: 2022-04-15T15:16:17+02:00
New Revision: 0b09b5d44837ea71c6bf017607b33f283c4417c6
URL:
https://github.com/llvm/llvm-project/commit/0b09b5d44837ea71c6bf017607b33f283c4417c6
DIFF:
https://github.com/llvm/llvm-project/commit/0b09b5d44837ea71c6bf017607b33f283c4417c6.diff
L
Author: Jan Svoboda
Date: 2022-04-15T16:24:40+02:00
New Revision: 7ed01ba88d67a0eb79663547f9ec21d106f7b281
URL:
https://github.com/llvm/llvm-project/commit/7ed01ba88d67a0eb79663547f9ec21d106f7b281
DIFF:
https://github.com/llvm/llvm-project/commit/7ed01ba88d67a0eb79663547f9ec21d106f7b281.diff
L
Author: Jan Svoboda
Date: 2022-04-15T16:24:41+02:00
New Revision: 26b0ecb8985b7e76a5ca0965d3d464611eda14f0
URL:
https://github.com/llvm/llvm-project/commit/26b0ecb8985b7e76a5ca0965d3d464611eda14f0
DIFF:
https://github.com/llvm/llvm-project/commit/26b0ecb8985b7e76a5ca0965d3d464611eda14f0.diff
L
Author: Jan Svoboda
Date: 2022-04-20T18:52:27+02:00
New Revision: 1d3ba05e4a288b49287fe997763e90234b8c62db
URL:
https://github.com/llvm/llvm-project/commit/1d3ba05e4a288b49287fe997763e90234b8c62db
DIFF:
https://github.com/llvm/llvm-project/commit/1d3ba05e4a288b49287fe997763e90234b8c62db.diff
L
Author: Jan Svoboda
Date: 2022-04-20T18:54:39+02:00
New Revision: ba118f30676d44025885f422e29fe853a84495f8
URL:
https://github.com/llvm/llvm-project/commit/ba118f30676d44025885f422e29fe853a84495f8
DIFF:
https://github.com/llvm/llvm-project/commit/ba118f30676d44025885f422e29fe853a84495f8.diff
L
Author: Jan Svoboda
Date: 2022-04-20T19:01:02+02:00
New Revision: f43ce5199df328c0acd3bc1d56d481b22d681ca8
URL:
https://github.com/llvm/llvm-project/commit/f43ce5199df328c0acd3bc1d56d481b22d681ca8
DIFF:
https://github.com/llvm/llvm-project/commit/f43ce5199df328c0acd3bc1d56d481b22d681ca8.diff
L
Author: Jan Svoboda
Date: 2022-04-20T20:27:13+02:00
New Revision: 99cfccdcb371cd6769169538098c3c3539cf9498
URL:
https://github.com/llvm/llvm-project/commit/99cfccdcb371cd6769169538098c3c3539cf9498
DIFF:
https://github.com/llvm/llvm-project/commit/99cfccdcb371cd6769169538098c3c3539cf9498.diff
L
Author: Jan Svoboda
Date: 2022-04-20T20:27:14+02:00
New Revision: 340654e0f246cddb3fb6ebddb843ade9bfcff0a5
URL:
https://github.com/llvm/llvm-project/commit/340654e0f246cddb3fb6ebddb843ade9bfcff0a5
DIFF:
https://github.com/llvm/llvm-project/commit/340654e0f246cddb3fb6ebddb843ade9bfcff0a5.diff
L
Author: Jan Svoboda
Date: 2022-02-04T12:10:57+01:00
New Revision: 42afaf7f472ce8ae14f1aa3858f1a8f3abc4ac67
URL:
https://github.com/llvm/llvm-project/commit/42afaf7f472ce8ae14f1aa3858f1a8f3abc4ac67
DIFF:
https://github.com/llvm/llvm-project/commit/42afaf7f472ce8ae14f1aa3858f1a8f3abc4ac67.diff
L
Author: Jan Svoboda
Date: 2022-02-15T09:48:25+01:00
New Revision: 7a124f4859d5c4093467abc2e734f8ab15e78cc6
URL:
https://github.com/llvm/llvm-project/commit/7a124f4859d5c4093467abc2e734f8ab15e78cc6
DIFF:
https://github.com/llvm/llvm-project/commit/7a124f4859d5c4093467abc2e734f8ab15e78cc6.diff
L
Author: Jan Svoboda
Date: 2022-02-15T09:48:25+01:00
New Revision: edd09bb5a49c6a5dac29714af661d1ddffe50a72
URL:
https://github.com/llvm/llvm-project/commit/edd09bb5a49c6a5dac29714af661d1ddffe50a72
DIFF:
https://github.com/llvm/llvm-project/commit/edd09bb5a49c6a5dac29714af661d1ddffe50a72.diff
L
Author: Jan Svoboda
Date: 2022-02-15T09:49:03+01:00
New Revision: fd2dff17c53dbfd89789989bedd949c496e7b6b7
URL:
https://github.com/llvm/llvm-project/commit/fd2dff17c53dbfd89789989bedd949c496e7b6b7
DIFF:
https://github.com/llvm/llvm-project/commit/fd2dff17c53dbfd89789989bedd949c496e7b6b7.diff
L
Author: Jan Svoboda
Date: 2022-02-15T09:49:19+01:00
New Revision: d8298f04a9681fcbb16d7fc4872690b5504a0d52
URL:
https://github.com/llvm/llvm-project/commit/d8298f04a9681fcbb16d7fc4872690b5504a0d52
DIFF:
https://github.com/llvm/llvm-project/commit/d8298f04a9681fcbb16d7fc4872690b5504a0d52.diff
L
Author: Jan Svoboda
Date: 2022-02-15T09:51:23+01:00
New Revision: c6f8704053ba364cf8cc9a0a966617efeda079f7
URL:
https://github.com/llvm/llvm-project/commit/c6f8704053ba364cf8cc9a0a966617efeda079f7
DIFF:
https://github.com/llvm/llvm-project/commit/c6f8704053ba364cf8cc9a0a966617efeda079f7.diff
L
Author: Jan Svoboda
Date: 2022-02-15T09:52:39+01:00
New Revision: a081a0654f35c12ddc2afc072110098404434b6c
URL:
https://github.com/llvm/llvm-project/commit/a081a0654f35c12ddc2afc072110098404434b6c
DIFF:
https://github.com/llvm/llvm-project/commit/a081a0654f35c12ddc2afc072110098404434b6c.diff
L
Author: Jan Svoboda
Date: 2022-02-15T10:36:54+01:00
New Revision: 7631c366c8589dda488cb7ff1df26cc134002208
URL:
https://github.com/llvm/llvm-project/commit/7631c366c8589dda488cb7ff1df26cc134002208
DIFF:
https://github.com/llvm/llvm-project/commit/7631c366c8589dda488cb7ff1df26cc134002208.diff
L
Author: Jan Svoboda
Date: 2022-02-15T10:39:05+01:00
New Revision: 17c9fcd6f6fc0926c1096242a2ddced9b523decd
URL:
https://github.com/llvm/llvm-project/commit/17c9fcd6f6fc0926c1096242a2ddced9b523decd
DIFF:
https://github.com/llvm/llvm-project/commit/17c9fcd6f6fc0926c1096242a2ddced9b523decd.diff
L
Author: Jan Svoboda
Date: 2022-02-15T11:02:26+01:00
New Revision: e7dcf09fc321010fb012afd270afdef20378dee7
URL:
https://github.com/llvm/llvm-project/commit/e7dcf09fc321010fb012afd270afdef20378dee7
DIFF:
https://github.com/llvm/llvm-project/commit/e7dcf09fc321010fb012afd270afdef20378dee7.diff
L
Author: Jan Svoboda
Date: 2022-02-15T12:39:43+01:00
New Revision: ef378d76b46091abfa548e698e5d7e03571bd5c1
URL:
https://github.com/llvm/llvm-project/commit/ef378d76b46091abfa548e698e5d7e03571bd5c1
DIFF:
https://github.com/llvm/llvm-project/commit/ef378d76b46091abfa548e698e5d7e03571bd5c1.diff
L
https://github.com/jansvoboda11 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/82084
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/86216
The `ASTWriter` algorithm for computing affecting module maps uses
`SourceManager::translateFile()` to get a `FileID` from a `FileEntry`. This is
slow (O(n)) since the function performs a linear walk over `
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/86347
Since b4c83a13f664582015ea22924b9a0c6290d41f5b, `Preprocessor` and `Lexer` are
aware of the concept of scanning dependency directives. This makes it possible
to scan for them on-demand rather than eagerly o
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86347
>From 9536d6007457091ff27da3dd38405382ae9000f1 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Fri, 22 Mar 2024 13:29:43 -0700
Subject: [PATCH] [clang][deps] Lazy dependency directives
Since b4c83a13f66458
https://github.com/jansvoboda11 closed
https://github.com/llvm/llvm-project/pull/86347
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/86358
An instance of `PreprocessorOptions` is part of `CompilerInvocation` which is
supposed to be a value type. The `DependencyDirectivesForFile` member is
problematic, since it holds an owning reference of the
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86358
>From 109e6039abe8bd3b598f1fdc2dbd7bca783ff4e6 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Fri, 22 Mar 2024 15:54:14 -0700
Subject: [PATCH 1/2] [clang] Move state out of `PreprocessorOptions` (1/n)
An
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86358
>From 109e6039abe8bd3b598f1fdc2dbd7bca783ff4e6 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Fri, 22 Mar 2024 15:54:14 -0700
Subject: [PATCH 1/3] [clang] Move state out of `PreprocessorOptions` (1/n)
An
jansvoboda11 wrote:
This could use a test.
https://github.com/llvm/llvm-project/pull/86360
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/86534
None
>From 15e732563c77a0990210bc6f9212e6f96d5e727a Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Mon, 25 Mar 2024 10:15:33 -0700
Subject: [PATCH] [clang] Move VFS overlays from `HeaderSearchOptions` to
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86216
>From 4dd48b40a034edf0b124ab08055a334ad7abd5ba Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Thu, 21 Mar 2024 14:40:02 -0700
Subject: [PATCH 1/3] [clang][modules] Avoid calling expensive
`SourceManager::
https://github.com/jansvoboda11 ready_for_review
https://github.com/llvm/llvm-project/pull/86216
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86216
>From 4dd48b40a034edf0b124ab08055a334ad7abd5ba Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Thu, 21 Mar 2024 14:40:02 -0700
Subject: [PATCH 1/4] [clang][modules] Avoid calling expensive
`SourceManager::
@@ -1337,9 +1337,24 @@ static bool compileModule(CompilerInstance
&ImportingInstance,
// Get or create the module map that we'll use to build this module.
ModuleMap &ModMap
= ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap();
+ SourceManager &So
@@ -71,6 +71,7 @@
// CHECK-NEXT: "context-hash": "{{.*}}",
// CHECK-NEXT: "file-deps": [
// CHECK-NEXT: "[[PREFIX]]/first/module.modulemap",
+// CHECK-NEXT: "[[PREFIX]]/second/module.modulemap",
jansvoboda11 wrote:
This is a side-ef
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/86216
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/86216
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jansvoboda11 wrote:
By default, `SourceLocation` is 32 bits. One bit is used to distinguish macro
expansions. Looking at libc++'s module map, it contains 999 top-level modules
at this moment. That's 10 bits just to be able to import the (entire) standard
library. That leaves 21 bits, restricti
https://github.com/jansvoboda11 closed
https://github.com/llvm/llvm-project/pull/86216
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jansvoboda11 wrote:
Ping.
https://github.com/llvm/llvm-project/pull/86358
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -34,12 +34,17 @@ class InitOnlyAction : public FrontendAction {
/// Preprocessor-based frontend action that also loads PCH files.
class ReadPCHAndPreprocessAction : public FrontendAction {
+ llvm::function_ref OnCI;
jansvoboda11 wrote:
The function acts o
@@ -34,12 +34,17 @@ class InitOnlyAction : public FrontendAction {
/// Preprocessor-based frontend action that also loads PCH files.
class ReadPCHAndPreprocessAction : public FrontendAction {
+ llvm::function_ref OnCI;
jansvoboda11 wrote:
`function_ref` is s
@@ -736,6 +736,19 @@ class Preprocessor {
State ConditionalStackState = Off;
} PreambleConditionalStack;
+ /// Function for getting the dependency preprocessor directives of a file.
+ ///
+ /// These are directives derived from a special form of lexing where the
+ //
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/86358
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -34,12 +34,17 @@ class InitOnlyAction : public FrontendAction {
/// Preprocessor-based frontend action that also loads PCH files.
class ReadPCHAndPreprocessAction : public FrontendAction {
+ llvm::function_ref OnCI;
jansvoboda11 wrote:
Sounds good.
https
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86358
>From 109e6039abe8bd3b598f1fdc2dbd7bca783ff4e6 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Fri, 22 Mar 2024 15:54:14 -0700
Subject: [PATCH 1/4] [clang] Move state out of `PreprocessorOptions` (1/n)
An
jansvoboda11 wrote:
> Yes, I explained this in Some low level details section. The size of source
> location won't be affected. Since the size of source location is unsigned
> (practically, it is 32 bits in most platforms). And we use uint64_t as a unit
> in the serializer. So there are 32 bit
jansvoboda11 wrote:
> If Clang is configured with 64 bit `SourceLocation`, we can't use 96 bits for
> serialization. We can at most use 64 bits for a slot. In that case, we can
> only assume the offset of source location **in its own module** (not the
> global offset!) is not large than 2^32.
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/86358
>From 109e6039abe8bd3b598f1fdc2dbd7bca783ff4e6 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Fri, 22 Mar 2024 15:54:14 -0700
Subject: [PATCH 1/5] [clang] Move state out of `PreprocessorOptions` (1/n)
An
https://github.com/jansvoboda11 closed
https://github.com/llvm/llvm-project/pull/86358
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/87099
An instance of `PreprocessorOptions` is part of `CompilerInvocation` which is
supposed to be a value type. The `FailedModules` member is problematic, since
it's essentially a shared state used by multiple `
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/87099
>From aa4f75ab41f5bc018c8c5a6352e8b9688249fb21 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Fri, 22 Mar 2024 15:08:07 -0700
Subject: [PATCH 1/2] [clang] Move state out of `PreprocessorOptions` (2/n)
An
https://github.com/jansvoboda11 closed
https://github.com/llvm/llvm-project/pull/87099
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/81061
This change gives clients more context and turns out to be necessary in
https://github.com/apple/llvm-project/pull/8011.
The main change is in `clang/lib/Lex/PPDirectives.cpp`, where we take care to
not mo
@@ -127,8 +127,12 @@ class PPCallbacks {
/// \param RelativePath The path relative to SearchPath, at which the include
/// file was found. This is equal to FileName except for framework includes.
///
- /// \param Imported The module, whenever an inclusion directive was
-
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/81061
>From bb0e5efc53bf7beab3c3e99eb7ab75300e3c2a11 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Wed, 7 Feb 2024 13:51:34 -0800
Subject: [PATCH 1/3] [clang][lex] Always pass the suggested module to
`Inclusio
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/81061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/81061
>From bb0e5efc53bf7beab3c3e99eb7ab75300e3c2a11 Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Wed, 7 Feb 2024 13:51:34 -0800
Subject: [PATCH 1/4] [clang][lex] Always pass the suggested module to
`Inclusio
@@ -127,8 +127,12 @@ class PPCallbacks {
/// \param RelativePath The path relative to SearchPath, at which the include
/// file was found. This is equal to FileName except for framework includes.
///
- /// \param Imported The module, whenever an inclusion directive was
-
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/81061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 closed
https://github.com/llvm/llvm-project/pull/81061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jan Svoboda
Date: 2024-02-08T10:28:48-08:00
New Revision: 687304a018d36c4b0def4618a98fee6975172453
URL:
https://github.com/llvm/llvm-project/commit/687304a018d36c4b0def4618a98fee6975172453
DIFF:
https://github.com/llvm/llvm-project/commit/687304a018d36c4b0def4618a98fee6975172453.diff
L
@@ -744,6 +744,9 @@ getCompilationDataBase(int argc, char **argv, std::string
&ErrorMessage) {
return nullptr;
}
+ // Only 1 threads is required if P1689 per file mode.
+ NumThreads = 1;
jansvoboda11 wrote:
Instead of setting `NumThreads` for the P16
@@ -893,102 +889,118 @@ int clang_scan_deps_main(int argc, char **argv, const
llvm::ToolContext &) {
if (Format == ScanningOutputFormat::Full)
FD.emplace(ModuleName.empty() ? Inputs.size() : 0);
- if (Verbose) {
-llvm::outs() << "Running clang-scan-deps on " << Inp
101 - 200 of 1287 matches
Mail list logo