Lines Matching defs:DeclContext

1634   implemented as such in order to store them in DeclContext
1665 Clang are represented by the ``DeclContext`` class, from which the various
1667 ``RecordDecl``, ``FunctionDecl``, etc.) will derive. The ``DeclContext`` class
1672 ``DeclContext`` provides two views of the declarations stored within a
1685 be stored within the ``DeclContext``, and one can iterate over the
1686 declarations via [``DeclContext::decls_begin()``,
1687 ``DeclContext::decls_end()``). This mechanism provides the source-centric
1692 The ``DeclContext`` structure provides efficient name lookup for names within
1694 for the name ``N::f`` using ``DeclContext::lookup``. The lookup itself is
1702 The ``DeclContext`` owns all of the declarations that were declared within
1708 retrieve the ``DeclContext`` that contains a particular ``Decl`` using
1749 the ``DeclContext::lookup`` operation will return a
1750 ``DeclContext::lookup_result`` that contains a range of iterators over
1765 ``Decl::getDeclContext``, both of which return ``DeclContext`` pointers. For
1775 Here, the semantic and lexical contexts of ``X::f`` are the ``DeclContext``
1792 into the ``DeclContext`` associated with ``X`` will then return the definition
1842 ``DeclContext::isTransparentContext()``), whose declarations are visible in the
1845 transparent ``DeclContext`` itself, as will the semantic context, but the
1850 The transparent ``DeclContext``\ s are:
1930 ``N`` for "``f``" will return a ``DeclContext::lookup_result`` that contains a
1933 ``DeclContext`` manages multiply-defined declaration contexts internally. The
1934 function ``DeclContext::getPrimaryContext`` retrieves the "primary" context for
1935 a given ``DeclContext`` instance, which is the ``DeclContext`` responsible for
1937 DeclContext, one can obtain the set of declaration contexts that are
1940 ``DeclContext::collectAllContexts``. Note that these functions are used
1941 internally within the lookup and insertion methods of the ``DeclContext``, so
2447 functions: ``DeclContext::noload_lookup()`` and
2448 ``DeclContext::localUncachedLookup()``. These functions do respect the C/C++
2471 list, the head is ``DeclContext::FirstDecl``) could be empty. However, member
2472 functions like ``DeclContext::lookup()`` may initiate a load.
2485 a ``DeclContext`` in the "to" AST context has external lexical storage then we
2488 if we used the regular ``DeclContext::lookup()`` to find the existing
2493 ``DeclContext::noload_lookup()`` instead.