diff options
author | Daniel Jasper <djasper@google.com> | 2016-03-21 14:11:27 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2016-03-21 14:11:27 +0000 |
commit | 9c8ff3551ace965a3232fc4a1b53a75015a706cf (patch) | |
tree | b79665461141afc99d5bf130a71991d5ac645aaa /llvm/lib/Support/APInt.cpp | |
parent | 4aeab5fbf241a06fbd8fef719b94466da7f2f6d4 (diff) | |
download | llvm-9c8ff3551ace965a3232fc4a1b53a75015a706cf.zip llvm-9c8ff3551ace965a3232fc4a1b53a75015a706cf.tar.gz llvm-9c8ff3551ace965a3232fc4a1b53a75015a706cf.tar.bz2 |
clang-format: Make include sorting's main include detection configurable.
This patch adds a regular expression to configure suffixes of an
included file to check whether it is the "main" include of the current
file. Previously, clang-format has allowed arbitrary suffixes on the
formatted file, which is still the case when no IncludeMainRegex is
specified.
llvm-svn: 263943
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions