diff options
| author | Egor Suvorov <egor.suvorov@gmail.com> | 2023-03-05 15:44:26 +0000 |
|---|---|---|
| committer | Carlos Galvez <carlosgalvezp@gmail.com> | 2023-03-05 16:06:55 +0000 |
| commit | c6d195b366c8256184ff40c5e46339eed96b4a81 (patch) | |
| tree | a9f0d8999813b4eb69cbbddff2422306a55b8b10 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
| parent | bbda411f0e395a1727e243b62b331004cc8d0c30 (diff) | |
clang-tidy altera-id-dependent-backward-branch: print notes after warning
In Clang notes are typically printed after a corresponding warning, not before.
For example, all notes issued before the first warning are ignored.
Running `clang-tidy --checks=-*,altera-id-dependent-backward-branch a.cpp` on the following code:
```
long get_local_id(int);
void error() {
int ThreadID = get_local_id(0);
for (int i = 0; i < ThreadID; i++) {
}
for (int i = 0; i < ThreadID; i++) {
}
}
```
results in two warnings and a single note in between.
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D145303
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
