Use AutoTemplateContext machinery to produce concrete results for OverloadExpr
Categories
(Webtools :: Searchfox, enhancement)
Tracking
(firefox135 fixed)
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: botond, Assigned: nicolas.guichard)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
For CXXDependentScopeMemberExpr
, we produce both heuristic results and, using the AutoTemplateContext
machinery, concrete results.
For OverloadExpr
, we currently only produce heuristic results. We could use the AutoTemplateContext
machinery to produce concrete results as well.
This would only make sense to do after bug 1833552 is implemented, because in the case of OverloadExpr
, the concrete results would strictly be a subset of the heuristic results, so it only makes sense to generate them if we're going to do something beyond just a straight merge with the heuristic results (which would be a no-op).
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
Now that the context menu allows for differentiating between heuristic
and concrete template instantiations, mark OverloadExpr location to be
visited in AnalyzeDependent mode to have concrete results.
In the added WithOverloads::Overloaded test case, the float and bool
overloads are only found heuristically (and are thus marked with
cppTemplateHeuristic) while the int overload is also found by visiting
concrete template instantiations.
This is a bump of the Mozsearch clang plugin and was reviewed upstream:
https://github.com/mozsearch/mozsearch/pull/844
Comment 4•5 months ago
|
||
bugherder |
Description
•