/external/clang/lib/AST/ |
DeclBase.cpp | 193 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { 1009 ArrayRef<NamedDecl*> Decls) { 1016 for (ArrayRef<NamedDecl*>::iterator 1073 if (isa<NamedDecl>(D)) { 1074 NamedDecl *ND = cast<NamedDecl>(D); [all...] |
Decl.cpp | 38 // NamedDecl Implementation 96 LVForType = NamedDecl::VisibilityForType, 101 LVForValue = NamedDecl::VisibilityForValue, 134 static Optional<Visibility> getExplicitVisibility(const NamedDecl *D, 138 return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind); 143 static bool usesTypeVisibility(const NamedDecl *D) { 185 static Optional<Visibility> getVisibilityOf(const NamedDecl *D, 186 NamedDecl::ExplicitVisibilityKind kind) { 189 if (kind == NamedDecl::VisibilityForType) { 273 static LinkageInfo getLVForDecl(const NamedDecl *D [all...] |
CommentSema.cpp | 346 const NamedDecl *Param = TemplateParameters->getParam(0); 906 const NamedDecl *BestDecl; 918 void addDecl(const NamedDecl *ND); 920 const NamedDecl *getBestDecl() const { 933 void SimpleTypoCorrector::addDecl(const NamedDecl *ND) { [all...] |
ASTImporter.cpp | 81 bool ImportDeclParts(NamedDecl *D, DeclContext *&DC, [all...] |
/external/clang/include/clang/Analysis/Support/ |
BlkExprDeclBitVector.h | 20 #include "clang/AST/Decl.h" // for Decl* -> NamedDecl* conversion 53 typedef llvm::DenseMap<const NamedDecl*, unsigned > DMapTy; 65 bool isTracked(const NamedDecl *SD) { return DMap.find(SD) != DMap.end(); } 67 Idx getIdx(const NamedDecl *SD) const { 74 void Register(const NamedDecl *SD) { 120 operator()(const NamedDecl *ND, const AnalysisDataTy& AD) { 124 bool operator()(const NamedDecl *ND, const AnalysisDataTy& AD) const {
|
/external/clang/lib/Sema/ |
SemaLookup.cpp | 330 static NamedDecl *getVisibleDecl(NamedDecl *D); 332 NamedDecl *LookupResult::getAcceptableDeclSlow(NamedDecl *D) const { 349 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); 360 llvm::SmallPtrSet<NamedDecl*, 16> Unique; 371 NamedDecl *D = Decls[I]->getUnderlyingDecl(); 372 D = cast<NamedDecl>(D->getCanonicalDecl()); 513 if (NamedDecl *D = S.LazilyCreateBuiltin((IdentifierInfo *)II, 659 NamedDecl *D = *I [all...] |
DelayedDiagnostic.cpp | 23 const NamedDecl *D,
|
Sema.cpp | 374 bool operator()(const std::pair<NamedDecl *, SourceLocation> &l, 375 const std::pair<NamedDecl *, SourceLocation> &r) const { 390 SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined) { 391 for (llvm::DenseMap<NamedDecl *, SourceLocation>::iterator 394 NamedDecl *ND = I->first; 430 SmallVector<std::pair<NamedDecl *, SourceLocation>, 16> Undefined; 434 for (SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> >::iterator 436 NamedDecl *ND = I->first; 529 // Friend functions are available through the NamedDecl of FriendDecl. 772 const NamedDecl *D = *I [all...] |
SemaCXXScopeSpec.cpp | 266 bool Sema::isAcceptableNestedNameSpecifier(const NamedDecl *SD) { 298 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) { 316 NamedDecl *Result = Found.getFoundDecl(); 366 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) 412 NamedDecl *ScopeLookupResult, 524 if (NamedDecl *ND = Corrected.getCorrectionDecl()) { 534 NamedDecl *SD = Found.getAsSingle<NamedDecl>(); 548 NamedDecl *OuterDecl [all...] |
SemaTemplateVariadic.cpp | 226 Name = Unexpanded[I].first.get<NamedDecl *>()->getIdentifier(); 517 getDepthAndIndex(NamedDecl *ND) { 552 NamedDecl *ND = i->first.get<NamedDecl *>(); 569 i->first.get<NamedDecl *>()); 598 if (NamedDecl *PartialPack 653 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); 660 Unexpanded[I].first.get<NamedDecl *>()); 777 NamedDecl *ND = candidate.getCorrectionDecl() [all...] |
ScopeInfo.cpp | 37 static const NamedDecl *getBestPropertyDecl(const ObjCPropertyRefExpr *PropE) { 48 const NamedDecl *D = 0;
|
SemaTemplateInstantiateDecl.cpp | 240 NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Prev, 530 NamedDecl **NamedChain = 531 new (SemaRef.Context)NamedDecl*[D->getChainingSize()]; 537 NamedDecl *Next = SemaRef.FindInstantiatedDecl(D->getLocation(), *PI, 587 NamedDecl *ND = D->getFriendDecl(); 599 cast<NamedDecl>(NewND), D->getFriendLoc()); 628 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(), [all...] |
SemaCodeComplete.cpp | 49 typedef bool (ResultBuilder::*LookupFilter)(const NamedDecl *) const; 62 typedef std::pair<const NamedDecl *, unsigned> DeclIndexPair; 70 /// \brief Contains either the solitary NamedDecl * or a vector 72 llvm::PointerUnion<const NamedDecl *, DeclIndexPairVector*> DeclOrVector; 81 void Add(const NamedDecl *ND, unsigned Index) { 89 if (const NamedDecl *PrevND = 90 DeclOrVector.dyn_cast<const NamedDecl *>()) { 107 DeclOrVector = ((NamedDecl *)0); 202 unsigned getBasePriority(const NamedDecl *D); 273 bool isInterestingDecl(const NamedDecl *ND [all...] |
CodeCompleteConsumer.cpp | 271 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); 288 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { 322 OS << cast<NamedDecl>(CurDC)->getName(); 388 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
|
/external/clang/include/clang/AST/ |
TemplateName.h | 32 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) { 75 typedef ::clang::NamedDecl* SimpleType; 92 static_cast< ::clang::NamedDecl*>(P)); [all...] |
Decl.h | 101 /// NamedDecl - This represents a decl with a name. Many decls have names such 103 class NamedDecl : public Decl { 111 NamedDecl *getUnderlyingDeclImpl(); 115 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) 170 /// This is the method invoked by Sema when displaying a NamedDecl 185 bool declarationReplaces(NamedDecl *OldD) const; 247 NamedDecl *getUnderlyingDecl() { 255 const NamedDecl *getUnderlyingDecl() const { 256 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); 263 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND) [all...] |
/external/clang/unittests/Frontend/ |
FrontendActionTest.cpp | 43 virtual bool VisitNamedDecl(NamedDecl *Decl) {
|
/external/clang/tools/libclang/ |
CXCursor.cpp | 575 CXCursor cxcursor::MakeCursorNamespaceRef(const NamedDecl *NS, 586 std::pair<const NamedDecl *, SourceLocation> 589 return std::make_pair(static_cast<const NamedDecl *>(C.data[0]), 811 const NamedDecl *D = dyn_cast_or_null<NamedDecl>(getCursorDecl(cursor)); 816 SmallVector<const NamedDecl *, 8> OverDecls; 819 for (SmallVector<const NamedDecl *, 8>::iterator 1032 if (const NamedDecl *namedDecl = dyn_cast_or_null<NamedDecl>(decl)) [all...] |
CIndexUSRs.cpp | 72 void VisitNamedDecl(const NamedDecl *D); 133 /// Emit a Decl's name using NamedDecl::printName() and return true if 135 bool EmitDeclName(const NamedDecl *D); 144 bool USRGenerator::EmitDeclName(const NamedDecl *D) { 153 static inline bool ShouldGenerateLocation(const NamedDecl *D) { 158 if (const NamedDecl *D = dyn_cast<NamedDecl>(DC)) 222 void USRGenerator::VisitNamedDecl(const NamedDecl *D) { 463 if (const NamedDecl *DCN = dyn_cast<NamedDecl>(DC) [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/docs/ |
ClangPlugins.rst | 70 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 98 const NamedDecl *ND = cast<NamedDecl>(D);
|
/external/clang/test/SemaCXX/ |
member-expr.cpp | 49 struct NamedDecl { 53 struct NamespaceDecl : NamedDecl {
|
/external/clang/include/clang/Sema/ |
Sema.h | 120 class NamedDecl; 188 typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType*, NamedDecl*>, 283 typedef llvm::SmallSetVector<const NamedDecl*, 16> NamedDeclSetType; 324 llvm::DenseMap<DeclarationName, NamedDecl *> LocallyScopedExternCDecls; 327 llvm::DenseMap<DeclarationName, NamedDecl *>::iterator 745 llvm::DenseMap<NamedDecl *, SourceLocation> UndefinedButUsed; 749 llvm::SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined); [all...] |