[PATCH] D148918: Check for a ‘buffer’ type instead of ‘buffer-live’.

2023-04-21 Thread Philipp via Phabricator via cfe-commits
phst added a comment. Thanks for the review! I think you also need to land it (I don't seem to have the necessary permissions). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148918/new/ https://reviews.llvm.org/D148918

[PATCH] D148918: [Test] Regenerate checks using update_test_checks.py

2023-04-21 Thread Philipp via Phabricator via cfe-commits
phst updated this revision to Diff 515697. phst added a comment. Check for a ‘buffer’ type instead of ‘buffer-live’. In Emacs 29, ‘buffer-live’ is no longer recognized as a type and generates a compilation warning. Every function that requires a live buffer already checks whether the buffer is

[PATCH] D148918: [Test] Regenerate checks using update_test_checks.py

2023-04-21 Thread Philipp via Phabricator via cfe-commits
phst updated this revision to Diff 515695. phst added a comment. Herald added a project: clang-tools-extra. Herald added a subscriber: cfe-commits. - Check for a ‘buffer’ type instead of ‘buffer-live’. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D143560: clang-format.el: fix warnings

2023-02-24 Thread Philipp via Phabricator via cfe-commits
phst added a comment. I'm not super familiar with the process either, but IIRC @sammccall or @djasper have to merge this. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143560/new/ https://reviews.llvm.org/D143560 ___ cfe-commits mailing

[PATCH] D143560: clang-format.el: fix warnings

2023-02-08 Thread Philipp via Phabricator via cfe-commits
phst requested changes to this revision. phst added inline comments. This revision now requires changes to proceed. Comment at: clang/tools/clang-format/clang-format.el:70 (cl-case (xml-node-name node) -('replacement +((replacement quote)

[PATCH] D120408: clang-format.el: Make clang-format work in indirect buffers.

2022-02-23 Thread Philipp via Phabricator via cfe-commits
phst added a comment. Thanks for the review! I think you have to commit this (I don't have commit access). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D120408/new/ https://reviews.llvm.org/D120408 ___

[PATCH] D120408: clang-format.el: Make clang-format work in indirect buffers.

2022-02-23 Thread Philipp via Phabricator via cfe-commits
phst created this revision. phst added a reviewer: sammccall. phst requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. In an indirect buffer, buffer-file-name is nil, so check the base buffer instead. This works fine in direct buffers where

[PATCH] D54672: clang-include-fixer.el: support remote files

2018-12-14 Thread Philipp via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rCTE349150: clang-include-fixer.el: support remote files (authored by phst, committed by ). Changed prior to commit: https://reviews.llvm.org/D54672?vs=174522=178227#toc Repository: rCTE Clang Tools

[PATCH] D54672: clang-include-fixer.el: support remote files

2018-11-17 Thread Philipp via Phabricator via cfe-commits
phst created this revision. phst added a reviewer: klimek. Herald added a subscriber: cfe-commits. Support remote files (e.g., Tramp) in the Emacs integration for clang-include-fixer Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D54672 Files:

[PATCH] D43969: Improve completion experience for headers

2018-04-09 Thread Philipp via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL329566: Improve completion experience for headers (authored by phst, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D43969 Files:

[PATCH] D43969: Improve completion experience for headers

2018-03-01 Thread Philipp via Phabricator via cfe-commits
phst updated this revision to Diff 136598. phst added a comment. Fix condition Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D43969 Files: include-fixer/tool/clang-include-fixer.el Index: include-fixer/tool/clang-include-fixer.el

[PATCH] D43969: Improve completion experience for headers

2018-03-01 Thread Philipp via Phabricator via cfe-commits
phst updated this revision to Diff 136597. phst added a comment. Revert bogus additions Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D43969 Files: include-fixer/tool/clang-include-fixer.el Index: include-fixer/tool/clang-include-fixer.el

[PATCH] D43969: Improve completion experience for headers

2018-03-01 Thread Philipp via Phabricator via cfe-commits
phst created this revision. phst added a reviewer: klimek. Herald added a subscriber: cfe-commits. When calling `completing-read', we should provide a default to prevent the behavior described in

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-12-02 Thread Philipp via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC319621: Fix assume-filename handling in clang-format.el (authored by phst). Changed prior to commit: https://reviews.llvm.org/D37903?vs=124242=125274#toc Repository: rC Clang

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-11-20 Thread Philipp via Phabricator via cfe-commits
phi added a comment. The patch doesn't apply any more to upstream head: $ arc patch D37903 patching file tools/clang-format/clang-format.el Hunk #1 FAILED at 122. Hunk #2 FAILED at 193. Could you please rebase it? https://reviews.llvm.org/D37903

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-11-20 Thread Philipp via Phabricator via cfe-commits
phi added a comment. Hi, do you need anything more from us? This patch looks fine and can be submitted. https://reviews.llvm.org/D37903 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-10-03 Thread Philipp via Phabricator via cfe-commits
phst accepted this revision. phst added inline comments. Comment at: tools/clang-format/clang-format.el:126 +no active region. If no style is given uses `clang-format-style'. Use +ASSUME-FILE-NAME to locate a style config file, if no assume-file-name is given +uses the

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-09-29 Thread Philipp via Phabricator via cfe-commits
phst added inline comments. Comment at: tools/clang-format/clang-format.el:122 ;;;###autoload -(defun clang-format-region (start end style assume-file-name) - "Use clang-format to format the code between START and END according to STYLE -using ASSUME-FILE-NAME to locate a

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-09-25 Thread Philipp via Phabricator via cfe-commits
phst added inline comments. Comment at: tools/clang-format/clang-format.el:123 +(defun clang-format-region (start end style assume-file-name) + "Use clang-format to format the code between START and END according to STYLE +using ASSUME-FILE-NAME to locate a style config file.

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-09-19 Thread Philipp via Phabricator via cfe-commits
phst accepted this revision. phst added a comment. This revision is now accepted and ready to land. Your use case sounds good to me. Please be sure to document the new parameter, though. Comment at: tools/clang-format/clang-format.el:154 +

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-09-19 Thread Philipp via Phabricator via cfe-commits
phst added inline comments. Comment at: tools/clang-format/clang-format.el:125 If called interactively uses the region or the current statement if there is no active region. If no style is given uses `clang-format-style'." (interactive Please document the

[PATCH] D37903: Fix assume-filename handling in clang-format.el

2017-09-18 Thread Philipp via Phabricator via cfe-commits
phst added a comment. Thanks, generally looks good, but a couple of notes: - This is actually a bug in clang-format, which can easily be triggered with `clang-format -output-replacements-xml -assume-filename '' -offset 0 -length 10 -cursor 5 <<< ' = 1234;'` It's fine to work around