summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorPaul Hoad <mydeveloperday@gmail.com>2019-03-20 17:10:23 +0000
committerPaul Hoad <mydeveloperday@gmail.com>2019-03-20 17:10:23 +0000
commitdb1974197072634580cb043145a0a709634f23e8 (patch)
treef688cd942c2bf803bc892e5d4283c7bee24d9b24 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent77bca6d29682f75c7103443166c76621120a6035 (diff)
[clang-format] structured binding in range for detected as Objective C
Summary: Sometime after 6.0.0 and the current trunk 9.0.0 the following code would be considered as objective C and not C++ Reported by: https://twitter.com/mattgodbolt/status/1096188576503644160 $ clang-format.exe test.h Configuration file(s) do(es) not support Objective-C: C:\clang\build\.clang-format --- test.h -- ``` std::vector<std::pair<std::string,std::string>> C; void foo() { for (auto && [A,B] : C) { std::string D = A + B; } } ``` The following code fixes this issue of incorrect detection Reviewers: djasper, klimek, JonasToth, reuk Reviewed By: klimek Subscribers: cfe-commits Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D59546 llvm-svn: 356575
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions