Skip to content

Commit

Permalink
tweak(flymake-quickdef): more accurate regexp in flymake-clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Feb 3, 2024
1 parent c554aed commit c674dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/me-checkers.el
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
(when (flymake-clang-tidy-get-config) (list (concat "-config=" (flymake-clang-tidy-get-config))))
(ensure-list flymake-clang-tidy-extra-options)
(list fmqd-temp-file))
:search-regexp (rx bol (group (+ (not ?:))) ":" (group (+ num)) ":" (group (+ num)) ": " (group (+ (not ?:))) ": " (group (* any)) eol)
:search-regexp "^\\([[:alnum:][:punct:]]+\\):\\([[:digit:]]+\\):\\([[:digit:]]+\\): \\(\\(?:error\\|note\\|warning\\)\\): \\(.*\\)$"
:prep-diagnostic
(let* ((file (match-string 1))
(lnum (string-to-number (match-string 2)))
Expand Down

0 comments on commit c674dd2

Please sign in to comment.