summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-08-30 10:36:58 +0000
committerDaniel Jasper <djasper@google.com>2013-08-30 10:36:58 +0000
commitec17226e82979592c16c7815d2368240201d18fe (patch)
treef0e518e4553573fc21e51b826b746ac453825689 /lib/CodeGen/CGExpr.cpp
parent4b434cf0c913a853cb5fd5011a631447836563b2 (diff)
downloadclang-ec17226e82979592c16c7815d2368240201d18fe.tar.gz
clang-ec17226e82979592c16c7815d2368240201d18fe.tar.bz2
clang-ec17226e82979592c16c7815d2368240201d18fe.tar.xz
clang-format: Enable formatting of protocol buffer definitions.
Almost by accident, clang-format seems to be able to format protocol buffer definitions (https://code.google.com/p/protobuf/). The only change is that a space is required between numeric constants and opening square brackets (for default values). While this might in theory be used for array subscripts (int val = 4[MyArray]), I have not seen this pattern in practice much. If this is wrong, we can make this smarter in the future. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions