[PATCH] D145974: [libclang] Add index option to store preambles in memory

2023-03-15 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D145974#4195643 , @vedgy wrote: > @aaron.ballman, can you land this revision for me please? Oops, thank you for the reminder! I've landed it on your behalf in 55f7e00afc56c68421220d60d29c079b58fe9c79

[PATCH] D145974: [libclang] Add index option to store preambles in memory

2023-03-15 Thread Aaron Ballman via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG55f7e00afc56: [libclang] Add index option to store preambles in memory (authored by vedgy, committed by aaron.ballman). Changed prior to commit: https://reviews.llvm.org/D145974?vs=504781=505469#toc

[PATCH] D145974: [libclang] Add index option to store preambles in memory

2023-03-15 Thread Igor Kushnir via Phabricator via cfe-commits
vedgy added a comment. @aaron.ballman, can you land this revision for me please? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145974/new/ https://reviews.llvm.org/D145974 ___ cfe-commits mailing list

[PATCH] D145974: [libclang] Add index option to store preambles in memory

2023-03-14 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145974/new/ https://reviews.llvm.org/D145974

[PATCH] D145974: [libclang] Add index option to store preambles in memory

2023-03-13 Thread Igor Kushnir via Phabricator via cfe-commits
vedgy added a comment. I have implemented the setter for the new option locally and tested it in KDevelop. void clang_CXIndex_setStorePreamblesInMemory(CXIndex CIdx, int storePreamblesInMemory) { if (CIdx)

[PATCH] D145974: [libclang] Add index option to store preambles in memory

2023-03-13 Thread Igor Kushnir via Phabricator via cfe-commits
vedgy created this revision. Herald added a subscriber: arphaman. Herald added a project: All. vedgy requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. This commit allows libclang API users to opt into storing PCH in memory instead of