-
- Downloads
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
Showing
- lib/AST/DeclarationName.cpp 12 additions, 4 deletionslib/AST/DeclarationName.cpp
- test/CXX/class.access/p4.cpp 2 additions, 2 deletionstest/CXX/class.access/p4.cpp
- test/CXX/class.access/p6.cpp 1 addition, 1 deletiontest/CXX/class.access/p6.cpp
- test/CXX/special/class.dtor/p10-0x.cpp 1 addition, 1 deletiontest/CXX/special/class.dtor/p10-0x.cpp
- test/Index/load-classes.cpp 1 addition, 1 deletiontest/Index/load-classes.cpp
- test/SemaCXX/undefined-internal.cpp 1 addition, 1 deletiontest/SemaCXX/undefined-internal.cpp
- unittests/AST/DeclPrinterTest.cpp 1 addition, 1 deletionunittests/AST/DeclPrinterTest.cpp
Loading
Please register or sign in to comment