diff options
| author | Jie Fu <jiefu@tencent.com> | 2023-05-31 07:20:24 +0800 |
|---|---|---|
| committer | Jie Fu <jiefu@tencent.com> | 2023-05-31 07:20:24 +0800 |
| commit | 749aeeaf66a483345e12f69cc1f55dad4e997297 (patch) | |
| tree | 0bf07eaf610f4b70208a11cd28fd45dbaa647ead /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | 68ef0e95b20ac1bebb119977fe7c9ac08a764ebe (diff) | |
[clang][ExtractAPI] Fix -Wpessimizing-move in DeclarationFragments.h (NFC)
/Users/jiefu/llvm-project/clang/include/clang/ExtractAPI/DeclarationFragments.h:118:26: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
Fragments.insert(It, std::move(Fragment(Spelling, Kind, PreciseIdentifier,
^
/Users/jiefu/llvm-project/clang/include/clang/ExtractAPI/DeclarationFragments.h:118:26: note: remove std::move call here
Fragments.insert(It, std::move(Fragment(Spelling, Kind, PreciseIdentifier,
^~~~~~~~~~
1 error generated.
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
