bevin-hansson wrote: > > I'm not entirely sure how to add to the tests for clangd. Any advice? > > We have GTest unit tests for code completion in `CodeCompleteTests.cpp`. > [This > test](https://searchfox.org/llvm/rev/2df48fa78b496a2d276aa848598634bb2aad6857/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp#1074-1102) > is a good starting point -- the test cases we want would be pretty similar, > except we want to test class members (and we don't care whether it's in a > system header specifically).
Thanks for the pointer! I added a test based on that one. https://github.com/llvm/llvm-project/pull/120099 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits