fbb091aa6319a52ae6790ed776ffd03ed2d107b5 |
|
08-Nov-2013 |
Sean Silva <silvas@purdue.edu> |
Py3k compat for clang-format Sublime Text extension. Sublime Text 2 uses Python 2.6 Sublime Text 3 uses Python 3.3 The `print` function has been available as a __future__ import since 2.6, so use it. Patch by Johan Engelen! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194287 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/clang-format/clang-format-sublime.py
|
62df7ef28c5a1ed3f5ffd1036162cafe0e1fcd4c |
|
13-Sep-2013 |
Daniel Jasper <djasper@google.com> |
clang-format: Add -assume-filename option for editor integrations. With -style=file, clang-format now starts to search for a .clang-format file starting at the file given with -assume-filename if it reads from stdin. Otherwise, it would start searching from the current directory, which is not helpful for editor integrations. Also changed vim, emacs and sublime integrations to actually make use of this flag. This fixes llvm.org/PR17072. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/clang-format/clang-format-sublime.py
|
9a7a50eef777765e4d20e3b1f3670b32582114fb |
|
10-Sep-2013 |
Hans Wennborg <hans@hanshq.net> |
Allow _clang-format as alternative to .clang-format config filename Dotfiles are impractical on Windows. This makes clang-format search for the style configuration file as '_clang-format' in addition to the usual '.clang-format'. This is similar to how VIM searches for '_vimrc' on Windows. Differential Revision: http://llvm-reviews.chandlerc.com/D1629 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/clang-format/clang-format-sublime.py
|
439fc85f4663810984962a8346d000be79df6bdc |
|
02-Sep-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Switch the default mode for clang-format to '-file'. Make 'LLVM' the fallback syntax used when we fail to find a '.clang-format' file. Adjust variable names appropriately. Update the editor integration pieces that specify a '-style' option to specify it as '-style=file'. I left the functionality in place because even if the preferred method is to use '.clang-format' files, this way if someone needs to clobber the style in their editor we show how to do so in these examples. Also check in a '.clang-format' file for Clang to ensure that separate checkouts and builds of Clang from LLVM can still get the nice formatting. =] This unfortunately required nuking the test for the absence of a '.clang-format' file as now the directory happening to be under your clang source tree will cause there to always be a file. ;] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189741 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/clang-format/clang-format-sublime.py
|
299cb28627228465a1cde6bb21682bc91314cdf6 |
|
16-May-2013 |
Daniel Jasper <djasper@google.com> |
Add basic clang-format integration for sublime text. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/clang-format/clang-format-sublime.py
|