aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorGregory Bean <gbean@codeaurora.org>2011-07-06 15:36:58 -0700
committerStephen Boyd <sboyd@codeaurora.org>2013-09-04 14:18:03 -0700
commitd498bcaadf251fd30a184902ab3454b8b738a750 (patch)
treee8fe3a473702045d805d657591989d8ab74445e2 /scripts/gcc-wrapper.py
parent3f2140168ea7983fdfc749ad5f1e082d845bf391 (diff)
checkpatch: Merge continuation-header handling from .38.
This commit is a cherry pick and squash of commits: 85c2ee62d37c19456c6dc83db262123956f010ac 4bc7c6001daba7d4037f54f67bae7fa90f759402 checkpatch: Handle continuation headers. Continuation headers baffle checkpatch, as it can only operate on one line of context at a time. When continuation headers are found, put them up with the header they're continuing so the whole thing can be parsed in a single line of context. checkpatch: Don't treat diffs as patches. The patch-header cleanup code assumed that it would only ever see patches, which was of course hogwash. This lead to crazy results as it tried to wrap what it thought were continuation lines at the beginnings of raw diffs. Signed-off-by: Gregory Bean <gbean@codeaurora.org> (cherry picked from commit 57d50ae730a057ee1099a94a397475bfd147d97b) Conflicts: scripts/checkpatch.pl Change-Id: I60b2d914ada9a8690b89ffb8c1e32a8b81a5e715
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions