diff options
| author | Fabian Wolff <fabian.wolff@alumni.ethz.ch> | 2022-01-17 21:10:22 +0100 |
|---|---|---|
| committer | Fabian Wolff <fabian.wolff@alumni.ethz.ch> | 2022-01-17 21:16:17 +0100 |
| commit | 2cd2accc61ea0900bde66c79d1d04b29bb9e3ed7 (patch) | |
| tree | 7ae9ba2dd879375ae5f9064fad24bed72ed8e4de /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | c10cbb243cafc0cf42c3e922cb29183279444432 (diff) | |
| download | llvm-2cd2accc61ea0900bde66c79d1d04b29bb9e3ed7.zip llvm-2cd2accc61ea0900bde66c79d1d04b29bb9e3ed7.tar.gz llvm-2cd2accc61ea0900bde66c79d1d04b29bb9e3ed7.tar.bz2 | |
[clang-tidy] Fix false positives involving type aliases in `misc-unconventional-assign-operator` check
clang-tidy currently reports false positives even for simple cases such as:
```
struct S {
using X = S;
X &operator=(const X&) { return *this; }
};
```
This is due to the fact that the `misc-unconventional-assign-operator` check fails to look at the //canonical// types. This patch fixes this behavior.
Reviewed By: aaron.ballman, mizvekov
Differential Revision: https://reviews.llvm.org/D114197
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
