HomeSort by relevance Sort by last modified time
    Searched refs:NamedDecl (Results 26 - 50 of 187) sorted by null

12 3 4 5 6 7 8

  /external/clang/include/clang/AST/
DeclTemplate.h 63 NamedDecl **Params, unsigned NumParams,
70 NamedDecl **Params,
75 typedef NamedDecl** iterator;
78 typedef NamedDecl* const* const_iterator;
80 iterator begin() { return reinterpret_cast<NamedDecl **>(this + 1); }
82 return reinterpret_cast<NamedDecl * const *>(this + 1);
89 ArrayRef<NamedDecl*> asArray() {
92 ArrayRef<const NamedDecl*> asArray() const {
96 NamedDecl* getParam(unsigned Idx) {
101 const NamedDecl* getParam(unsigned Idx) const
    [all...]
CXXInheritance.h 34 class NamedDecl;
158 NamedDecl **DeclsFound;
172 typedef NamedDecl **decl_iterator;
TemplateName.h 27 class NamedDecl;
98 NamedDecl **getStorage() {
99 return reinterpret_cast<NamedDecl **>(this + 1);
101 NamedDecl * const *getStorage() const {
102 return reinterpret_cast<NamedDecl *const *>(this + 1);
106 typedef NamedDecl *const *iterator;
DeclCXX.h 49 NamedDecl *Function;
51 AnyFunctionDecl(NamedDecl *ND) : Function(ND) { }
59 operator NamedDecl *() const { return Function; }
62 NamedDecl *get() const { return Function; }
64 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) {
81 static_cast< ::clang::NamedDecl*>(P));
    [all...]
Decl.h 144 /// NamedDecl - This represents a decl with a name. Many decls have names such
146 class NamedDecl : public Decl {
154 NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY;
157 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
211 /// This is the method invoked by Sema when displaying a NamedDecl
229 bool declarationReplaces(NamedDecl *OldD, bool IsKnownNewer = true) const;
316 NamedDecl *getUnderlyingDecl() {
324 const NamedDecl *getUnderlyingDecl() const {
325 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
328 NamedDecl *getMostRecentDecl()
    [all...]
  /external/clang/tools/libclang/
IndexBody.cpp 20 const NamedDecl *Parent;
26 const NamedDecl *Parent, const DeclContext *DC)
168 void IndexingContext::indexBody(const Stmt *S, const NamedDecl *Parent,
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafetyCommon.h 84 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First) {}
141 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl()))
238 const NamedDecl *getDecl() const {
239 return dyn_cast<NamedDecl>(ACtx->getDecl());
326 const NamedDecl *AttrDecl; // The decl to which the attr is attached.
332 CallingContext(CallingContext *P, const NamedDecl *D = nullptr)
348 CapabilityExpr translateAttrExpr(const Expr *AttrExp, const NamedDecl *D,
440 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First);
  /external/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 98 const NamedDecl *ND = cast<NamedDecl>(D);
  /external/clang/unittests/AST/
NamedDeclPrinterTest.cpp 1 //===- unittests/AST/NamedDeclPrinterTest.cpp --- NamedDecl printer tests -===//
10 // This file contains tests for NamedDecl::printQualifiedName().
41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id");
102 namedDecl(hasName(DeclName)).bind("id"),
114 namedDecl(hasName(DeclName)).bind("id"),
  /external/clang/lib/Index/
USRGeneration.cpp 78 void VisitNamedDecl(const NamedDecl *D);
109 bool ShouldGenerateLocation(const NamedDecl *D);
111 bool isLocal(const NamedDecl *D) {
147 /// Emit a Decl's name using NamedDecl::printName() and return true if
149 bool EmitDeclName(const NamedDecl *D);
158 bool USRGenerator::EmitDeclName(const NamedDecl *D) {
167 bool USRGenerator::ShouldGenerateLocation(const NamedDecl *D) {
177 if (const NamedDecl *D = dyn_cast<NamedDecl>(DC))
254 void USRGenerator::VisitNamedDecl(const NamedDecl *D)
    [all...]
  /external/clang/lib/Sema/
SemaCXXScopeSpec.cpp 289 bool Sema::isAcceptableNestedNameSpecifier(const NamedDecl *SD,
331 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) {
349 NamedDecl *Result = Found.getFoundDecl();
399 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>())
464 NamedDecl *ScopeLookupResult,
572 if (NamedDecl *ND = R.getAsSingle<NamedDecl>())
579 if (NamedDecl *ND = R.getAsSingle<NamedDecl>())
    [all...]
DelayedDiagnostic.cpp 25 const NamedDecl *D,
CodeCompleteConsumer.cpp 267 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
284 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) {
318 OS << cast<NamedDecl>(CurDC)->getName();
384 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
SemaLookup.cpp 367 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl();
378 llvm::SmallPtrSet<NamedDecl*, 16> Unique;
389 NamedDecl *D = Decls[I]->getUnderlyingDecl();
390 D = cast<NamedDecl>(D->getCanonicalDecl());
543 if (NamedDecl *D = S.LazilyCreateBuiltin((IdentifierInfo *)II,
681 NamedDecl *D = *I;
931 if (NamedDecl *ND = R.getAcceptableDecl(*I)) {
    [all...]
  /external/clang/lib/AST/
DeclBase.cpp 201 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) {
1083 ArrayRef<NamedDecl*> Decls) {
    [all...]
Decl.cpp 48 // NamedDecl Implementation
107 LVForType = NamedDecl::VisibilityForType,
112 LVForValue = NamedDecl::VisibilityForValue,
149 static Optional<Visibility> getExplicitVisibility(const NamedDecl *D,
153 return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind);
158 static bool usesTypeVisibility(const NamedDecl *D) {
199 static Optional<Visibility> getVisibilityOf(const NamedDecl *D,
200 NamedDecl::ExplicitVisibilityKind kind) {
203 if (kind == NamedDecl::VisibilityForType) {
239 for (const NamedDecl *P : *Params)
    [all...]
ItaniumMangle.cpp 109 static const NamedDecl *getStructor(const NamedDecl *decl) {
114 static bool isLambda(const NamedDecl *ND) {
127 llvm::DenseMap<const NamedDecl*, unsigned> Uniquifier;
137 bool shouldMangleCXXName(const NamedDecl *D) override;
141 void mangleCXXName(const NamedDecl *D, raw_ostream &) override;
167 void mangleSEHFilterExpression(const NamedDecl *EnclosingDecl,
169 void mangleSEHFinallyBlock(const NamedDecl *EnclosingDecl,
179 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) {
221 const NamedDecl *Structor
    [all...]
MicrosoftMangle.cpp 70 static const FunctionDecl *getStructor(const NamedDecl *ND) {
81 static bool isLambda(const NamedDecl *ND) {
94 llvm::DenseMap<const NamedDecl *, unsigned> Uniquifier;
96 llvm::DenseMap<const NamedDecl *, unsigned> SEHFilterIds;
97 llvm::DenseMap<const NamedDecl *, unsigned> SEHFinallyIds;
102 bool shouldMangleCXXName(const NamedDecl *D) override;
104 void mangleCXXName(const NamedDecl *D, raw_ostream &Out) override;
153 void mangleSEHFilterExpression(const NamedDecl *EnclosingDecl,
155 void mangleSEHFinallyBlock(const NamedDecl *EnclosingDecl,
160 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc)
    [all...]
  /external/clang/lib/Analysis/
CallGraph.cpp 200 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD))
221 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl()))
ThreadSafety.cpp 60 const Expr *MutexExp, const NamedDecl *D,
292 typedef llvm::ImmutableMap<const NamedDecl*, unsigned> LocalVarContext;
354 const NamedDecl *Dec; // The original declaration for this variable.
363 VarDefinition(const NamedDecl *D, const Expr *E, Context C)
368 VarDefinition(const NamedDecl *D, unsigned R, Context C)
386 const VarDefinition* lookup(const NamedDecl *D, Context Ctx) {
397 const Expr* lookupExpr(const NamedDecl *D, Context &Ctx) {
432 const NamedDecl *Dec = VarDefinitions[i].Dec;
460 const NamedDecl *D = I.getKey();
484 Context addDefinition(const NamedDecl *D, const Expr *Exp, Context Ctx)
    [all...]
  /external/lldb/include/lldb/Core/
ClangForward.h 79 class NamedDecl;
  /external/clang/include/clang/Sema/
CodeCompleteConsumer.h 125 QualType getDeclUsageType(ASTContext &C, const NamedDecl *ND);
148 class NamedDecl;
634 const NamedDecl *Declaration;
689 CodeCompletionResult(const NamedDecl *Declaration,
727 const NamedDecl *D = nullptr)
738 CodeCompletionResult(CodeCompletionString *Pattern, NamedDecl *D,
749 const NamedDecl *getDeclaration() const {
    [all...]
ExternalSemaSource.h 80 llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined);
  /external/clang/test/SemaCXX/
member-expr.cpp 49 struct NamedDecl {
53 struct NamespaceDecl : NamedDecl {
  /external/lldb/include/lldb/Expression/
IRForTarget.h 249 /// Find the NamedDecl corresponding to a Value. This interface is
262 static clang::NamedDecl *
265 clang::NamedDecl *

Completed in 303 milliseconds

12 3 4 5 6 7 8