Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
c00dd835
Commit
c00dd835
authored
11 years ago
by
Manuel Klimek
Browse files
Options
Downloads
Patches
Plain Diff
Make it possible to assign clang-format-buffer to a keybinding.
Patch by Chris Gray. llvm-svn: 183739
parent
a8570d38
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang/tools/clang-format/clang-format.el
+1
-0
1 addition, 0 deletions
clang/tools/clang-format/clang-format.el
with
1 addition
and
0 deletions
clang/tools/clang-format/clang-format.el
+
1
−
0
View file @
c00dd835
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
(
defun
clang-format-buffer
()
(
defun
clang-format-buffer
()
"Use clang-format to format the current buffer."
"Use clang-format to format the current buffer."
(
interactive
)
(
clang-format
(
point-min
)
(
point-max
)))
(
clang-format
(
point-min
)
(
point-max
)))
(
defun
clang-format
(
begin
end
)
(
defun
clang-format
(
begin
end
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment