OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:DeclContext
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/DWARFLinker/
DWARFLinkerDeclContext.h
59
/// A
DeclContext
is a named program scope that is used for ODR uniquing of
62
/// The set of
DeclContext
for the ODR-subject parts of a Dwarf link is
71
/// Storing a StringMap in each
DeclContext
would be too space inefficient.
73
/// The solution here is to give each
DeclContext
a link to its parent (this
75
///
DeclContext
using a separate DenseMap keyed on the hash of the fully
77
class
DeclContext
{
79
using Map = DenseSet<
DeclContext
*, DeclMapInfo>;
81
DeclContext
() : DefinedInClangModule(0), Parent(*this) {}
83
DeclContext
(unsigned Hash, uint32_t Line, uint32_t ByteSize, uint16_t Tag,
84
StringRef Name, StringRef File, const
DeclContext
&Parent
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DwarfCompileUnit.cpp
154
DIScope *
DeclContext
;
156
DeclContext
= SDMDecl->getScope();
167
DeclContext
= GV->getScope();
184
addGlobalName(GV->getName(), *VariableDIE,
DeclContext
);
/src/external/apache2/llvm/dist/clang/lib/AST/
DeclBase.cpp
9
// This file implements the Decl and
DeclContext
classes.
94
DeclContext
*Parent, std::size_t Extra) {
155
const char *
DeclContext
::getDeclKindName() const {
258
if (auto *AsDC = dyn_cast<
DeclContext
>(this))
266
if (auto *DC = dyn_cast<
DeclContext
>(this))
274
// template. In this case, the next step is not the parent
DeclContext
(or
275
// even a
DeclContext
at all).
281
const
DeclContext
*DC =
286
const
DeclContext
*Decl::getParentFunctionOrMethod() const {
287
for (const
DeclContext
*DC = getDeclContext()
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclBase.h
9
// This file defines the Decl and
DeclContext
interfaces.
46
class
DeclContext
;
241
///
DeclContext
. These pointers form the linked list that is
242
/// traversed via
DeclContext
's decls_begin()/decls_end().
248
friend class
DeclContext
;
251
DeclContext
*SemanticDC;
252
DeclContext
*LexicalDC;
255
/// DeclCtx - Holds either a
DeclContext
* or a MultipleDC*.
257
/// the
DeclContext
where the Decl was declared.
268
llvm::PointerUnion<
DeclContext
*, MultipleDC*> DeclCtx
[
all
...]
Completed in 21 milliseconds
Indexes created Mon May 04 00:23:20 UTC 2026