summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-01-22 00:27:42 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-01-22 00:27:42 +0000
commitf2af1730519be7c1742a0e78c1b7d83bcfbeb8b7 (patch)
tree412412ca07fbcc6334f5e64b5ec3007cdec4394f /lib/CodeGen/CGExpr.cpp
parentd7a617aada79c73b283490c6e5699f5ac345d402 (diff)
downloadclang-f2af1730519be7c1742a0e78c1b7d83bcfbeb8b7.tar.gz
clang-f2af1730519be7c1742a0e78c1b7d83bcfbeb8b7.tar.bz2
clang-f2af1730519be7c1742a0e78c1b7d83bcfbeb8b7.tar.xz
When formatting a C++-only declaration name, enable C++ mode in the formatter's
language options. This is not really ideal -- we should require the right language options to be passed in, or not require language options to format a name -- but it fixes a number of *obviously* wrong formattings. Patch by Olivier Goffart! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions