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.