Lines Matching defs:style
11 ;; style options, see <http://clang.llvm.org/docs/ClangFormatStyleOptions.html>.
49 (defcustom clang-format-style nil
52 By default clang-format will load the style configuration from
58 (make-variable-buffer-local 'clang-format-style)
60 (defcustom clang-format-fallback-style "none"
61 "Fallback style to pass to clang-format.
63 This style will be used if clang-format-style is set to \"file\"
70 (make-variable-buffer-local 'clang-format-fallback-style)
135 (defun clang-format-region (start end &optional style assume-file-name)
138 no active region. If no STYLE is given uses `clang-format-style'. Use
139 ASSUME-FILE-NAME to locate a style config file, if no ASSUME-FILE-NAME is given
146 (unless style
147 (setq style clang-format-style))
176 ,@(and style (list "-style" style))
177 "-fallback-style" ,clang-format-fallback-style
208 (defun clang-format-buffer (&optional style assume-file-name)
210 If no STYLE is given uses `clang-format-style'. Use ASSUME-FILE-NAME
211 to locate a style config file. If no ASSUME-FILE-NAME is given uses
214 (clang-format-region (point-min) (point-max) style assume-file-name))