/external/clang/lib/Analysis/ |
ThreadSafety.cpp | 108 const NamedDecl* getNamedDecl() const { 110 return reinterpret_cast<const NamedDecl*>(Data); 113 const NamedDecl* getFunctionDecl() const { 115 return reinterpret_cast<const NamedDecl*>(Data); 168 const NamedDecl* AttrDecl; // The decl to which the attribute is attached. 175 CallingContext(const NamedDecl *D = 0, const Expr *S = 0, 206 unsigned makeNamedVar(const NamedDecl *D) { 211 unsigned makeLocalVar(const NamedDecl *D) { 221 unsigned makeDot(const NamedDecl *D, bool Arrow) { 226 unsigned makeCall(unsigned NumArgs, const NamedDecl *D) [all...] |
CallGraph.cpp | 209 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD)) 230 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl()))
|
/external/clang/include/clang/AST/ |
CXXInheritance.h | 34 class NamedDecl; 158 NamedDecl **DeclsFound; 172 typedef NamedDecl **decl_iterator;
|
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...] |
DeclBase.h | 36 class NamedDecl; 910 typedef llvm::MutableArrayRef<NamedDecl*> DeclContextLookupResult; 912 typedef ArrayRef<NamedDecl *> DeclContextLookupConstResult; [all...] |
/external/clang/tools/libclang/ |
IndexBody.cpp | 20 const NamedDecl *Parent; 26 const NamedDecl *Parent, const DeclContext *DC) 163 void IndexingContext::indexBody(const Stmt *S, const NamedDecl *Parent,
|
IndexingContext.cpp | 129 const NamedDecl *BaseD = 0; 212 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { 308 bool IndexingContext::handleDecl(const NamedDecl *D, 644 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, 645 const NamedDecl *Parent, 657 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, 659 const NamedDecl *Parent, 747 const NamedDecl *OrigD) { 762 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/include/clang/Sema/ |
MultiplexExternalSemaSource.h | 221 llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined); 286 virtual void ReadLocallyScopedExternCDecls(SmallVectorImpl<NamedDecl*>&Decls);
|
CodeCompleteConsumer.h | 124 QualType getDeclUsageType(ASTContext &C, const NamedDecl *ND); 147 class NamedDecl; 653 const NamedDecl *Declaration; 708 CodeCompletionResult(const NamedDecl *Declaration, 748 const NamedDecl *D = 0) 759 CodeCompletionResult(CodeCompletionString *Pattern, NamedDecl *D, 769 const NamedDecl *getDeclaration() const { [all...] |
ScopeInfo.h | 152 typedef llvm::PointerIntPair<const NamedDecl *, 1, bool> BaseInfoTy; 159 const NamedDecl *Property; 175 const NamedDecl *getBase() const { return Base.getPointer(); } 176 const NamedDecl *getProperty() const { return Property; } 211 typedef std::pair<BaseInfoTy, const NamedDecl *> Pair;
|
/external/clang/lib/Frontend/ |
ASTMerge.cpp | 63 if (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/lib/AST/ |
ItaniumMangle.cpp | 67 static const CXXRecordDecl *GetLocalClassDecl(const NamedDecl *ND) { 87 static const NamedDecl *getStructor(const NamedDecl *decl) { 97 llvm::DenseMap<const NamedDecl*, unsigned> Uniquifier; 119 bool shouldMangleDeclName(const NamedDecl *D); 120 void mangleName(const NamedDecl *D, raw_ostream &); 149 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { 176 const NamedDecl *Structor; 227 const NamedDecl *D = 0) 256 void mangle(const NamedDecl *D, StringRef Prefix = "_Z") [all...] |
DeclTemplate.cpp | 32 NamedDecl **Params, unsigned NumParams, 38 NamedDecl *P = Params[Idx]; 58 SourceLocation LAngleLoc, NamedDecl **Params, 61 + sizeof(NamedDecl *) * NumParams; 63 llvm::alignOf<NamedDecl*>()); 104 const NamedDecl *FirstParm = getParam(0); 229 NamedDecl *Decl) { 291 NamedDecl *Decl, 748 NamedDecl::getNameForDiagnostic(OS, Policy, Qualified); [all...] |
/external/clang/unittests/Frontend/ |
FrontendActionTest.cpp | 43 virtual bool VisitNamedDecl(NamedDecl *Decl) {
|
/external/clang/lib/Sema/ |
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);
|
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...] |
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...] |
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...] |
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...] |