The uniqueing decl in PathDiagnostic is the declaration with the
uniqueing loc, as stated by documentation comments.
It is enough to include the uniqueing loc in the profile. It is possible
to have objects with different uniqueing decl but same location, at
least with templates. These belong to the same class and should have
same profile.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Aha, ok, yeah, so that's what caused it!
I guess if we want a uniqueing decl for this case, we should use the original template decl rather than the instantiation.
clang-format not found in user's PATH; not linting file.