[clang] [clang][modules] Remove `_Private` suffix from framework auto-link hints. (PR #77120)

2024-01-08 Thread Jan Svoboda via cfe-commits
@@ -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

[clang] [clang][modules] Remove `_Private` suffix from framework auto-link hints. (PR #77120)

2024-01-08 Thread Jan Svoboda via cfe-commits
@@ -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

[clang] [clang][modules] Remove `_Private` suffix from framework auto-link hints. (PR #77120)

2024-01-08 Thread Jan Svoboda via cfe-commits
@@ -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-

[clang] [clang][modules] Remove `_Private` suffix from framework auto-link hints. (PR #77120)

2024-01-08 Thread Jan Svoboda via cfe-commits
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

[clang] 71e32d5 - [clang][deps] Always generate module paths

2022-08-10 Thread Jan Svoboda via 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

[clang] d5fcf8a - [clang][deps] NFC: Move dependency consumer into header file

2022-08-10 Thread Jan Svoboda via cfe-commits
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

[clang] 63fd109 - [clang][deps] Normalize ignored filenames in minimizing file system

2021-07-20 Thread Jan Svoboda via cfe-commits
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

[clang] bc1a297 - [clang][deps] Separate filesystem caches for minimized and original files

2021-07-20 Thread Jan Svoboda via cfe-commits
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

[clang] e564fd9 - [clang][deps] Avoid minimizing PCH input files

2021-07-20 Thread Jan Svoboda via cfe-commits
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

[clang] c94a345 - [clang][deps] Fix test by checking ignored files correctly

2021-07-20 Thread Jan Svoboda via cfe-commits
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

[clang] aa245dd - [clang][lex] NFC: Add explicit cast to silence -Wsign-compare

2021-07-22 Thread Jan Svoboda via cfe-commits
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

[clang] 60426f3 - [clang][driver] NFC: Move InputInfo.h from lib to include

2021-07-27 Thread Jan Svoboda via cfe-commits
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

[clang] b76c7c6 - [clang][driver] NFC: Expose InputInfo in Job instead of plain filenames

2021-07-27 Thread Jan Svoboda via cfe-commits
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

[clang] 11ee699 - [clang][tooling] Accept Clang invocations with multiple jobs

2021-07-27 Thread Jan Svoboda via cfe-commits
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

[clang] 5bcbb5e - [clang][tooling] Link clangDriver to ToolingTests

2021-07-27 Thread Jan Svoboda via cfe-commits
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

[clang] 0f98e6e - [clang][tooling] Link LLVMOption to ToolingTests

2021-07-27 Thread Jan Svoboda via cfe-commits
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

[clang] a6ef363 - [clang][deps] Disable implicit module maps

2022-03-12 Thread Jan Svoboda via cfe-commits
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

[clang] 7f6af60 - [clang][deps] Generate '-fmodule-file=' only for direct dependencies

2022-03-12 Thread Jan Svoboda via cfe-commits
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

[clang] cf4a31f - [clang][deps] Remove '-fmodules-cache-path=' arguments

2022-03-12 Thread Jan Svoboda via cfe-commits
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

[clang] 4d6835f - [clang][deps] Attempt to fix Windows test failure

2022-03-12 Thread Jan Svoboda via cfe-commits
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

[clang] c4b13f7 - [clang][deps] Simplify PREFIX definitions in tests

2022-03-12 Thread Jan Svoboda via cfe-commits
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

[clang] 913107f - [clang][deps] Update helper script documentation

2022-03-12 Thread Jan Svoboda via cfe-commits
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

[clang] 1e25ff8 - [clang][deps] Fix traversal of precompiled dependencies

2022-03-16 Thread Jan Svoboda via cfe-commits
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

[clang] 6007b0b - [clang][deps] NFC: Use range-based for loop instead of iterators

2022-03-16 Thread Jan Svoboda via cfe-commits
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

[clang] 77924d6 - [clang][deps] Modules don't contribute to search path usage

2022-03-16 Thread Jan Svoboda via cfe-commits
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

[clang] d73daa9 - [clang][deps] Don't prune search paths used by dependencies

2022-03-16 Thread Jan Svoboda via cfe-commits
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

[clang] 85db3a2 - [clang][deps] Attempt to fix test on Windows

2022-03-16 Thread Jan Svoboda via cfe-commits
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

[clang] f9096b8 - [clang][deps] NFC: Align path separator conversion in tests

2022-03-16 Thread Jan Svoboda via cfe-commits
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

[clang] 59dadd1 - [clang][lex] Fix failures with Microsoft header search rules

2022-03-23 Thread Jan Svoboda via cfe-commits
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

[clang] 26053ce - [clang][deps] Create lit substitution for deps-to-rsp

2022-03-23 Thread Jan Svoboda via cfe-commits
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

[clang] 30cb49b - [clang][deps] NFC: De-duplicate clang-cl tests

2022-03-23 Thread Jan Svoboda via cfe-commits
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

[clang] b672638 - [clang][deps] Ensure deterministic filename case

2022-04-08 Thread Jan Svoboda via cfe-commits
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

[clang] d79ad2f - [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective()

2022-04-14 Thread Jan Svoboda via cfe-commits
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

[clang] f263dac - [clang][parse] NFCI: Use FileEntryRef in Parser::ParseModuleImport()

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 99b4874 - [clang] NFCI: Use DirectoryEntryRef in collectIncludePCH

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 9d98f58 - [clang][CodeGen] NFCI: Use FileEntryRef

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 713e716 - [clang] NFCI: Use FileEntryRef in FileManagerTest

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 0b09b5d - [clang][lex] NFC: Use FileEntryRef in PreprocessorLexer::getFileEntry()

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 7ed01ba - [clang][deps] NFC: Inline function with single caller

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 26b0ecb - [clang][deps] NFC: Update documentation

2022-04-15 Thread Jan Svoboda via cfe-commits
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

[clang] 1d3ba05 - [clang][lex] NFCI: Use DirectoryEntryRef in HeaderSearch::load*()

2022-04-20 Thread Jan Svoboda via cfe-commits
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

[clang] ba118f3 - [clang] NFCI: Use DirectoryEntryRef in FrontendAction::BeginSourceFile()

2022-04-20 Thread Jan Svoboda via cfe-commits
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

[clang] f43ce51 - [clang][lex] NFCI: Use DirectoryEntryRef in FrameworkCacheEntry

2022-04-20 Thread Jan Svoboda via cfe-commits
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

[clang] 99cfccd - [clang][lex] NFCI: Use FileEntryRef in ModuleMap::diagnoseHeaderInclusion()

2022-04-20 Thread Jan Svoboda via cfe-commits
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

[clang] 340654e - Revert "[clang][lex] NFCI: Use DirectoryEntryRef in HeaderSearch::load*()"

2022-04-20 Thread Jan Svoboda via cfe-commits
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

[clang] 42afaf7 - [clang][CodeGen] Use memory type representation in `va_arg`

2022-02-04 Thread Jan Svoboda via cfe-commits
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

[clang-tools-extra] 7a124f4 - [clang][lex] Remove `PPCallbacks::FileNotFound()`

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] edd09bb - [clang][lex] Remove `Preprocessor::GetCurDirLookup()`

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] fd2dff1 - [clang][lex][minimizer] Ensure whitespace between squashed lines

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] d8298f0 - [clang][lex][minimizer] Avoid treating path separators as comments

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] c6f8704 - [clang][deps] Disable global module index

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] a081a06 - [clang][lex] NFC: De-duplicate some #include_next logic

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] 7631c36 - [clang][lex] Introduce `ConstSearchDirIterator`

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] 17c9fcd - [clang][lex] Use `ConstSearchDirIterator` in lookup cache

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] e7dcf09 - [clang][lex] Use `SearchDirIterator` types in for loops

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] ef378d7 - [clang][lex] Remove misleading comment

2022-02-15 Thread Jan Svoboda via cfe-commits
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

[clang] Add support for sysroot-relative system header search paths (PR #82084)

2024-03-18 Thread Jan Svoboda via cfe-commits
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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-21 Thread Jan Svoboda via 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 `

[clang] [clang][deps] Lazy dependency directives (PR #86347)

2024-03-22 Thread Jan Svoboda via cfe-commits
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

[clang] [clang][deps] Lazy dependency directives (PR #86347)

2024-03-22 Thread Jan Svoboda via cfe-commits
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

[clang] [clang][deps] Lazy dependency directives (PR #86347)

2024-03-22 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-22 Thread Jan Svoboda via 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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-22 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-22 Thread Jan Svoboda via cfe-commits
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

[clang-tools-extra] [clang-tidy] Fix result check after overwriteChangedFiles() (PR #86360)

2024-03-22 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move VFS overlays from `HeaderSearchOptions` to `FileSystemOptions` (PR #86534)

2024-03-25 Thread Jan Svoboda via 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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via 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/3] [clang][modules] Avoid calling expensive `SourceManager::

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via cfe-commits
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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via 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::

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via cfe-commits
@@ -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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via cfe-commits
@@ -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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via 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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-25 Thread Jan Svoboda via 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

[clang] [Modules] No transitive source location change (PR #86912)

2024-03-28 Thread Jan Svoboda via 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

[clang] [clang][modules] Avoid calling expensive `SourceManager::translateFile()` (PR #86216)

2024-03-28 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via 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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via 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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via 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: `function_ref` is s

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via cfe-commits
@@ -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 + //

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via 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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-28 Thread Jan Svoboda via cfe-commits
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

[clang] [Modules] No transitive source location change (PR #86912)

2024-03-28 Thread Jan Svoboda via cfe-commits
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

[clang] [Modules] No transitive source location change (PR #86912)

2024-03-29 Thread Jan Svoboda via cfe-commits
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.

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-29 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (1/n) (PR #86358)

2024-03-29 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (2/n) (PR #87099)

2024-03-29 Thread Jan Svoboda via 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 `

[clang] [clang] Move state out of `PreprocessorOptions` (2/n) (PR #87099)

2024-03-29 Thread Jan Svoboda via cfe-commits
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

[clang] [clang] Move state out of `PreprocessorOptions` (2/n) (PR #87099)

2024-03-29 Thread Jan Svoboda via cfe-commits
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

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-07 Thread Jan Svoboda via 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

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via cfe-commits
@@ -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 -

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via 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/3] [clang][lex] Always pass the suggested module to `Inclusio

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via cfe-commits
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

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via 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

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via cfe-commits
@@ -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 -

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via cfe-commits
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

[clang] [clang-tools-extra] [clang][lex] Always pass suggested module to `InclusionDirective()` callback (PR #81061)

2024-02-08 Thread Jan Svoboda via 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

[clang] 687304a - [clang][lex] Fix build failure after da95d926

2024-02-08 Thread Jan Svoboda via 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

[clang] [NFC] [C++20] [Modules] [P1689] [Scanner] Don't use thread pool in P1689 per file mode (PR #84285)

2024-03-07 Thread Jan Svoboda via cfe-commits
@@ -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

[clang] [NFC] [C++20] [Modules] [P1689] [Scanner] Don't use thread pool in P1689 per file mode (PR #84285)

2024-03-07 Thread Jan Svoboda via cfe-commits
@@ -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

<    1   2   3   4   5   6   7   8   9   10   >