summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-11-05 19:10:03 +0000
committerDaniel Jasper <djasper@google.com>2013-11-05 19:10:03 +0000
commitbbf5c1c96537a878a34cbc5e2c89cff51358928d (patch)
tree9903bb31b520e5e944a8baccbbcd06e1bdbdde59 /llvm/lib/Bitcode/Reader/BitcodeReader.h
parentaa1335990ffe4dd98672036fa7d12d5dcd044e44 (diff)
downloadbcm5719-llvm-bbf5c1c96537a878a34cbc5e2c89cff51358928d.tar.gz
bcm5719-llvm-bbf5c1c96537a878a34cbc5e2c89cff51358928d.zip
clang-format: Allow line merging and partial formatting of nested blocks
Before, clang-format would always format entire nested blocks, which can be unwanted e.g. for long DEBUG({...}) statements. Also clang-format would not allow to merge lines in nested blocks (e.g. to put "if (a) return;" on one line in Google style). This is the first step of several refactorings mostly focussing on the additional functionality (by reusing the "format many lines" code to format the children of a nested block). The next steps are: * Pull out the line merging into its own class. * Seperate the formatting of many lines from the formatting of a single line (and the analysis of the solution space). llvm-svn: 194090
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud