;ELC ;;; Compiled ;;; in Emacs version 27.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315& \207" [require cl-lib custom-declare-variable flymake-cc-command funcall function #[0 "\300\207" [flymake-cc-use-special-make-target] 1] "Command used by the `flymake-cc' backend.\nA list of strings, or a symbol naming a function that produces one\nsuch list when called with no arguments in the buffer where the\nvariable `flymake-mode' is active.\n\nThe command should invoke a GNU-style compiler that checks the\nsyntax of a (Obj)C(++) program passed to it via its standard\ninput and prints the result on its standard output." :type (choice (symbol :tag "Function") (repeat :tag "Command(s)" string)) :version "27.1" :group flymake-cc] 10) #@149 Parse GNU-compatible compilation messages in current buffer. Return a list of Flymake diagnostic objects for the source buffer SOURCE. (fn SOURCE) (defalias 'flymake-cc--make-diagnostics #[257 "\300\211\211\211\211\301\302\300\303#\203U\304\305!\262\306\307\304\310!!\304\311!\205%\307\304\311!!#\262\211A\262\242\262\304\312!\203:\313\202B\314\304\315!\316\317\313$\262\320 %B\262\202\211\237\207" [nil search-forward-regexp "^\\(In file included from \\)?:\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?:\n?\\(.*\\): \\(.*\\)$" t match-string 5 flymake-diag-region string-to-number 2 3 1 :error assoc-default 4 (("error" . :error) ("note" . :note) ("warning" . :warning)) string-match flymake-make-diagnostic] 12 (#$ . 1130)]) #@60 Command for checking a file via a CHK_SOURCES Make target. (defalias 'flymake-cc-use-special-make-target #[0 "\300\301!\204\n\302\303!\210\301\304\305\306\307\310!\203\311\202\312\"E\207" [executable-find "make" error "Make not found" "check-syntax" format "CHK_SOURCES=-x %s -c -" derived-mode-p c++-mode "c++" "c"] 6 (#$ . 1883)]) #@37 Internal variable for `flymake-gcc' (defvar flymake-cc--proc nil (#$ . 2227)) (make-variable-buffer-local 'flymake-cc--proc) #@231 Flymake backend for GNU-style C compilers. This backend uses `flymake-cc-command' (which see) to launch a process that is passed the current buffer's contents via stdin. REPORT-FN is Flymake's callback. (fn REPORT-FN &rest ARGS) (defalias 'flymake-cc #[385 "\303\300!\210\304\305 !\203\306 !\210p\214~\210\307\310\311\312\313\314!\315\n9\203&\n \202'\n\316\317\320\321\322\323\324\325\326\327\"\330\"\331\332%&\f\333 ed#\210\334 !)\207" [flymake-proc-allowed-file-name-masks flymake-cc--proc flymake-cc-command make-local-variable nil process-live-p kill-process make-process :name "gcc-flymake" :buffer generate-new-buffer "*gcc-flymake*" :command :noquery t :connection-type pipe :sentinel make-byte-code 514 "\303\304\305\306\307!\310\"\311$\216\312!\313=\205Lr\301q\210\n)=\205Lr\314!q\210eb\210\315\301!\211\2048\316!\304U\203>\300!\202I\300\317\320eeb\210\321 {#\262))\207" vconcat vector [flymake-cc--proc make-byte-code 0 "\301\300!?\205\f\302\303\300!!\207" vconcat vector [process-live-p kill-buffer process-buffer] 3 process-status exit process-buffer flymake-cc--make-diagnostics process-exit-status :panic :explanation line-end-position] 8 "\n\n(fn P EV)" process-send-region process-send-eof] 22 (#$ . 2359)]) (provide 'flymake-cc)