NamedDecl::getName cannot be called on non-identifier names.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
unittests/clangd/CodeCompleteTests.cpp | ||
---|---|---|
1770 ↗ | (On Diff #163721) | Was wondering if testing for crashes LG this way, or adding more assertions might make sense too |
unittests/clangd/CodeCompleteTests.cpp | ||
---|---|---|
1770 ↗ | (On Diff #163721) | Hmm, I think this is okay, but I'd probably do some sanity check on the results, just to make it look less odd ;) |
unittests/clangd/CodeCompleteTests.cpp | ||
---|---|---|
1770 ↗ | (On Diff #163721) | Exactly my feelings: this looks odd. It means I can assert something like Not(Contains(Labelled("~Base() override"))), but lots of broken outputs can still make the test pass, e.g.:
Will probably keep as this and think how to factor out overriden completions from the results better... |