Variable: c-macro-names-with-semicolon

c-macro-names-with-semicolon is a buffer-local variable defined in cc-vars.el.gz.

Documentation

List of #defined symbols whose expansion ends with a semicolon.

Alternatively it can be a string, a regular expression which matches all such symbols.

The "symbols" must be syntactically valid identifiers in the target language (C, C++, Objective C), or (as the case may be) the regular expression must match only valid identifiers.

If you change this variable's value, call the function c-make-macros-with-semi-re to set the necessary internal variables.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defvar c-macro-names-with-semicolon
  '("Q_OBJECT" "Q_PROPERTY" "Q_DECLARE" "Q_ENUMS")
  "List of #defined symbols whose expansion ends with a semicolon.
Alternatively it can be a string, a regular expression which
matches all such symbols.

The \"symbols\" must be syntactically valid identifiers in the
target language (C, C++, Objective C), or (as the case may be)
the regular expression must match only valid identifiers.

If you change this variable's value, call the function
`c-make-macros-with-semi-re' to set the necessary internal
variables.")