NamedDecl::getName cannot be called on non-identifier names.
Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 22187 Build 22187: arc lint + arc unit
Event Timeline
unittests/clangd/CodeCompleteTests.cpp | ||
---|---|---|
1770 | Was wondering if testing for crashes LG this way, or adding more assertions might make sense too |
unittests/clangd/CodeCompleteTests.cpp | ||
---|---|---|
1770 | 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 | 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... |
Was wondering if testing for crashes LG this way, or adding more assertions might make sense too