diff options
author | Daniel Jasper <djasper@google.com> | 2015-12-21 12:14:17 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-12-21 12:14:17 +0000 |
commit | 0bfdeb4b6dee9df4f165a2524c0fa8588a28e9f8 (patch) | |
tree | 0d394ddb205f53b76c43b2778959199ccae2ea67 /lldb/packages/Python/lldbsuite/test/python_api/value | |
parent | fde63cad6b7c179948377bf07e54f5809b0a832a (diff) | |
download | bcm5719-llvm-0bfdeb4b6dee9df4f165a2524c0fa8588a28e9f8.tar.gz bcm5719-llvm-0bfdeb4b6dee9df4f165a2524c0fa8588a28e9f8.zip |
clang-format: Extend detection of the "main" #include to use the filename
Before, the first (non-system) header in a file was considered to be
the main include. This is conservative as it makes clang-format change
the #include order less often. Instead implement some basic usage of
the filename itself. With this patch, clang-format considers every
header to be a main include if the header file's basename is a prefix
to the filename the #include is in.
llvm-svn: 256148
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value')
0 files changed, 0 insertions, 0 deletions