Return type might need qualification if insertion context doesn't have
the same decls visible as the source context.
This patch adds qualification for return value to cover such cases.
Differential D70535
[clangd] Define out-of-line qualify return value kadircet on Nov 21 2019, 5:18 AM. Authored by
Details
Return type might need qualification if insertion context doesn't have This patch adds qualification for return value to cover such cases.
Diff Detail
Event TimelineComment Actions Build result: FAILURE - Could not check out parent git hash "627221d6588eb650759f39e80858abb2a3848ccb". It was not found in the repository. Did you configure the "Parent Revision" in Phabricator properly? Trying to apply the patch to the master branch instead... ERROR: arc patch failed with error code 1. Check build log for details.
Comment Actions
Comment Actions
Comment Actions Build result: fail - 60408 tests passed, 1 failed and 726 were skipped. failed: Clangd Unit Tests._/ClangdTests/DefineOutlineTest.QualifyReturnValue Log files: console-log.txt, CMakeCache.txt Comment Actions Build result: pass - 60447 tests passed, 0 failed and 726 were skipped. Log files: console-log.txt, CMakeCache.txt |
could you add some documentations, e.g. what's the requirement for the input TargetNS?
I'm not sure Synthesize is clear here, maybe lookupTargetContext or findTargetContext?