diff options
| author | Daniel Jasper <djasper@google.com> | 2013-09-13 13:40:24 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-09-13 13:40:24 +0000 |
| commit | 62df7ef28c5a1ed3f5ffd1036162cafe0e1fcd4c (patch) | |
| tree | 7530a9d9f6862d423d52eb0d9d8c4397d6766642 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | cb2dfc7247a66e672548ad645a0ba2c369635384 (diff) | |
| download | clang-62df7ef28c5a1ed3f5ffd1036162cafe0e1fcd4c.tar.gz clang-62df7ef28c5a1ed3f5ffd1036162cafe0e1fcd4c.tar.bz2 clang-62df7ef28c5a1ed3f5ffd1036162cafe0e1fcd4c.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
