diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-22 00:27:42 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-22 00:27:42 +0000 |
| commit | f2af1730519be7c1742a0e78c1b7d83bcfbeb8b7 (patch) | |
| tree | 412412ca07fbcc6334f5e64b5ec3007cdec4394f /lib/CodeGen/CodeGenFunction.cpp | |
| parent | d7a617aada79c73b283490c6e5699f5ac345d402 (diff) | |
| download | clang-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/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
