[clang] [clang-tools-extra] [clang] skip explicit obj param in code complete (PR #146258)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 29 09:12:26 PDT 2025
HighCommander4 wrote:
> [...] people like to **also** ask for a test to be added to libSema's own code completion test suite. These tests work a bit differently: they're found at `clang/test/CodeCompletion` (see for example [this file](https://searchfox.org/llvm/source/clang/test/CodeCompletion/ordinary-name.cpp)), and they operate by running clang with the special `-code-complete-at` flag which invokes code completion at a point in the input file and prints the results in some format.
(In case this test suite seems like dark magic even with that explanation, which is how it initially seemed to me, see https://llvm.org/docs/CommandGuide/lit.html and https://llvm.org/docs/CommandGuide/FileCheck.html for more details of the machinery behind it.)
https://github.com/llvm/llvm-project/pull/146258
More information about the cfe-commits
mailing list