[PATCH] D18313: clang-format: Make include sorting's main include detection configurable.
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 06:25:31 PDT 2016
djasper created this revision.
djasper added a reviewer: klimek.
djasper added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5371 bytes
Desc: not available
More information about the cfe-commits