Details
Details
- Reviewers
njames93 - Commits
- rG782c3e23ba09: [AST] Fix comparison to of SourceRanges in container
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Tooling/NodeIntrospection.cpp | ||
---|---|---|
47 | Maybe we should assert the ranges (or locations) are valid before inserting. Will require modification to the generator script but it would make subsequent handling simpler. |
clang/lib/Tooling/NodeIntrospection.cpp | ||
---|---|---|
47 | I don't think I agree, but I think that's a different patch. We should fix the bug for now. |
clang/lib/Tooling/NodeIntrospection.cpp | ||
---|---|---|
47 | Fair enough, though this doesn't seem a great solution, Semantics of Sourcelocation comparisons for invalid source lox |
Maybe we should assert the ranges (or locations) are valid before inserting. Will require modification to the generator script but it would make subsequent handling simpler.