%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/progmodes/ |
Current File : //usr/local/share/emacs/27.2/lisp/progmodes/flymake-cc.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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 \\)?<stdin>:\\([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)]) #@36 Internal variable for `flymake-cc' (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&