[PATCH] D52746: [clang-query] Add single-letter 'q' alias for 'quit'
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 1 13:50:21 PDT 2018
steveire created this revision.
steveire added reviewers: alexfh, aaron.ballman.
Herald added a subscriber: cfe-commits.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D52746
Files:
clang-query/QueryParser.cpp
Index: clang-query/QueryParser.cpp
===================================================================
--- clang-query/QueryParser.cpp
+++ clang-query/QueryParser.cpp
@@ -166,6 +166,7 @@
.Case("let", PQK_Let)
.Case("m", PQK_Match, /*IsCompletion=*/false)
.Case("match", PQK_Match)
+ .Case("q", PQK_Quit, /*IsCompletion=*/false)
.Case("quit", PQK_Quit)
.Case("set", PQK_Set)
.Case("unlet", PQK_Unlet)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52746.167822.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181001/0c3c795e/attachment.bin>
More information about the cfe-commits
mailing list