/external/clang/include/clang/AST/ |
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...] |
DeclBase.h | 41 class NamedDecl; [all...] |
/external/clang/examples/PrintFunctionNames/ |
PrintFunctionNames.cpp | 38 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
|
/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()); 328 const NamedDecl *AttrDecl; // The decl to which the attr is attached. 334 CallingContext(CallingContext *P, const NamedDecl *D = nullptr) 350 CapabilityExpr translateAttrExpr(const Expr *AttrExp, const NamedDecl *D, 442 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/Sema/ |
SemaLookup.cpp | 361 NamedDecl *D, NamedDecl *Existing) { 442 static bool canHideTag(NamedDecl *D) { 472 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); 483 llvm::SmallDenseMap<NamedDecl*, unsigned, 16> Unique; 489 NamedDecl *HasNonFunction = nullptr; 491 llvm::SmallVector<NamedDecl*, 4> EquivalentNonFunctions; 497 NamedDecl *D = Decls[I]->getUnderlyingDecl(); 498 D = cast<NamedDecl>(D->getCanonicalDecl()); 587 NamedDecl *OtherDecl = Decls[UniqueTagIndex ? 0 : N - 1] [all...] |
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, 575 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) 582 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);
|
/external/clang/lib/AST/ |
DeclBase.cpp | 226 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { [all...] |
Decl.cpp | 54 // NamedDecl Implementation 113 LVForType = NamedDecl::VisibilityForType, 118 LVForValue = NamedDecl::VisibilityForValue, 155 static Optional<Visibility> getExplicitVisibility(const NamedDecl *D, 159 return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind); 164 static bool usesTypeVisibility(const NamedDecl *D) { 205 static Optional<Visibility> getVisibilityOf(const NamedDecl *D, 206 NamedDecl::ExplicitVisibilityKind kind) { 209 if (kind == NamedDecl::VisibilityForType) { 245 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, 177 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { 219 const NamedDecl *Structor [all...] |
MicrosoftMangle.cpp | 71 static const FunctionDecl *getStructor(const NamedDecl *ND) { 82 static bool isLambda(const NamedDecl *ND) { 95 llvm::DenseMap<const NamedDecl *, unsigned> Uniquifier; 97 llvm::DenseMap<const NamedDecl *, unsigned> SEHFilterIds; 98 llvm::DenseMap<const NamedDecl *, unsigned> SEHFinallyIds; 103 bool shouldMangleCXXName(const NamedDecl *D) override; 105 void mangleCXXName(const NamedDecl *D, raw_ostream &Out) override; 159 void mangleSEHFilterExpression(const NamedDecl *EnclosingDecl, 161 void mangleSEHFinallyBlock(const NamedDecl *EnclosingDecl, 164 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, 294 typedef llvm::ImmutableMap<const NamedDecl*, unsigned> LocalVarContext; 356 const NamedDecl *Dec; // The original declaration for this variable. 365 VarDefinition(const NamedDecl *D, const Expr *E, Context C) 370 VarDefinition(const NamedDecl *D, unsigned R, Context C) 388 const VarDefinition* lookup(const NamedDecl *D, Context Ctx) { 399 const Expr* lookupExpr(const NamedDecl *D, Context &Ctx) { 434 const NamedDecl *Dec = VarDefinitions[i].Dec; 462 const NamedDecl *D = I.getKey(); 486 Context addDefinition(const NamedDecl *D, const Expr *Exp, Context Ctx) [all...] |
/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...] |
Sema.h | 132 class NamedDecl; 211 typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType*, NamedDecl*>, 271 bool isVisibleSlow(const NamedDecl *D); 273 bool shouldLinkPossiblyHiddenDecl(const NamedDecl *Old, 274 const NamedDecl *New) { 283 bool shouldLinkPossiblyHiddenDecl(LookupResult &Old, const NamedDecl *New); 448 typedef llvm::SmallSetVector<const NamedDecl*, 16> NamedDeclSetType; 478 NamedDecl *findLocallyScopedExternCDecl(DeclarationName Name); [all...] |
ExternalSemaSource.h | 81 llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined);
|
/external/clang/test/SemaCXX/ |
member-expr.cpp | 51 struct NamedDecl { 55 struct NamespaceDecl : NamedDecl {
|
/external/clang/lib/Tooling/Core/ |
Lookup.cpp | 87 const NamedDecl *FromDecl,
|
/external/clang/tools/libclang/ |
IndexingContext.cpp | 128 const NamedDecl *BaseD = nullptr; 211 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { 309 bool IndexingContext::handleDecl(const NamedDecl *D, 653 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, 654 const NamedDecl *Parent, 666 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, 668 const NamedDecl *Parent, 756 const NamedDecl *OrigD) { 771 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl [all...] |
CXCursor.h | 35 class NamedDecl; 110 CXCursor MakeCursorNamespaceRef(const NamedDecl *NS, SourceLocation Loc, 115 std::pair<const NamedDecl *, SourceLocation> getCursorNamespaceRef(CXCursor C);
|
/external/clang/unittests/Tooling/ |
RecursiveASTVisitorTestDeclVisitor.cpp | 66 bool VisitNamedDecl(NamedDecl *Decl) {
|