mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-10 03:27:59 +00:00
chore(cpp): align ADL boundary comments after main merge
Agent-Logs-Url: https://github.com/abhigyanpatwari/GitNexus/sessions/ac900193-369d-473b-a5d6-56c78341cae0 Co-authored-by: magyargergo <11230420+magyargergo@users.noreply.github.com>
This commit is contained in:
parent
08907d2b0b
commit
04b0bfd33d
2 changed files with 4 additions and 2 deletions
|
|
@ -808,9 +808,9 @@ function lookupAdlIdentifierType(identNode: SyntaxNode): CppAdlArgInfo {
|
|||
// `init_declarator > identifier` is value.
|
||||
// Function-pointer wrappers (`pointer_declarator > function_declarator`)
|
||||
// must not contribute ADL associated namespaces.
|
||||
let isFunctionPointer = false;
|
||||
let isPointer = false;
|
||||
let isReference = false;
|
||||
let isFunctionPointer = false;
|
||||
let inner: SyntaxNode = declarator;
|
||||
let nameText: string | null = null;
|
||||
let safety = 16; // bound walk depth defensively
|
||||
|
|
|
|||
|
|
@ -2103,7 +2103,9 @@ describe('C++ two-phase template lookup — cross-file namespace variant', () =>
|
|||
// Free-function calls with class-typed arguments must consider candidates
|
||||
// declared in the argument's enclosing namespace (associated namespace).
|
||||
// V1 boundary: only direct enclosing-namespace closure for value class-
|
||||
// typed args; pointer and reference args included, template-spec args excluded.
|
||||
// typed args; pointer/reference args and template specializations with
|
||||
// explicit type arguments included. Function pointers and base-class
|
||||
// associated namespaces remain excluded.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
describe('C++ ADL — basic associated-namespace closure', () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue