clang-tidy assertion failure on fixit conflicts

hi all,

clang-tidy assert failed on the code:

$ cat test.c
void stub(void) {
    bool b = 1 && 2;
}
$ clang-tidy -checks=* test.c
Fix conflicts with existing fix! The new replacement overlaps with an
existing replacement.
New replacement:
/home/danis/Sources/clang-tidy-misra/test/bugfinder/5.1.c: 60:+5:""
Existing replacement:
/home/danis/Sources/clang-tidy-misra/test/bugfinder/5.1.c: 61:+2:"&"
clang-tidy: /home/danis/Sources/llvm-latest/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:87:
virtual void {anonymous}::ClangTidyDiagnosticRenderer::emitCodeContext(clang::FullSourceLoc,
clang::DiagnosticsEngine::Level,
llvm::SmallVectorImpl<clang::CharSourceRange>&,
llvm::ArrayRef<clang::FixItHint>): Assertion `false && "Fix conflicts
with existing fix!"' failed.
Aborted

hi all,

Hi.

clang-tidy assert failed on the code:

$ cat test.c
void stub(void) {
    bool b = 1 && 2;
}
$ clang-tidy -checks=* test.c
Fix conflicts with existing fix! The new replacement overlaps with an
existing replacement.
New replacement:
/home/danis/Sources/clang-tidy-misra/test/bugfinder/5.1.c: 60:+5:""
Existing replacement:
/home/danis/Sources/clang-tidy-misra/test/bugfinder/5.1.c: 61:+2:"&"
clang-tidy: /home/danis/Sources/llvm-latest/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:87:
virtual void {anonymous}::ClangTidyDiagnosticRenderer::emitCodeContext(clang::FullSourceLoc,
clang::DiagnosticsEngine::Level,
llvm::SmallVectorImpl<clang::CharSourceRange>&,
llvm::ArrayRef<clang::FixItHint>): Assertion `false && "Fix conflicts
with existing fix!"' failed.
Aborted

1. A mail to the mailing list is not really the best/correct way to
report a bug.
2. Yep, clang-tidy is wrong, there is a bug:
https://bugs.llvm.org/show_bug.cgi?id=35136

--
Best Regards

Ding Fei
E-mail: danix800@gmail.com

Roman.