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

12 3 4 5 6 7

  /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 50 NamedDecl *Function;
52 AnyFunctionDecl(NamedDecl *ND) : Function(ND) { }
60 operator NamedDecl *() const { return Function; }
63 NamedDecl *get() const { return Function; }
65 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) {
82 static_cast< ::clang::NamedDecl*>(P));
    [all...]
Decl.h 103 /// NamedDecl - This represents a decl with a name. Many decls have names such
105 class NamedDecl : public Decl {
113 NamedDecl *getUnderlyingDeclImpl();
116 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
171 /// This is the method invoked by Sema when displaying a NamedDecl
186 bool declarationReplaces(NamedDecl *OldD) const;
264 NamedDecl *getUnderlyingDecl() {
272 const NamedDecl *getUnderlyingDecl() const {
273 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
280 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND)
    [all...]
DeclBase.h 38 class NamedDecl;
    [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,
IndexingContext.cpp 129 const NamedDecl *BaseD = 0;
212 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) {
310 bool IndexingContext::handleDecl(const NamedDecl *D,
652 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc,
653 const NamedDecl *Parent,
665 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc,
667 const NamedDecl *Parent,
755 const NamedDecl *OrigD) {
770 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;
646 const NamedDecl *Declaration;
701 CodeCompletionResult(const NamedDecl *Declaration,
741 const NamedDecl *D = 0)
752 CodeCompletionResult(CodeCompletionString *Pattern, NamedDecl *D,
762 const NamedDecl *getDeclaration() const {
    [all...]
ScopeInfo.h 157 typedef llvm::PointerIntPair<const NamedDecl *, 1, bool> BaseInfoTy;
164 const NamedDecl *Property;
180 const NamedDecl *getBase() const { return Base.getPointer(); }
181 const NamedDecl *getProperty() const { return Property; }
216 typedef std::pair<BaseInfoTy, const NamedDecl *> Pair;
Sema.h 126 class NamedDecl;
200 typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType*, NamedDecl*>,
218 shouldLinkPossiblyHiddenDecl(const NamedDecl *Old, const NamedDecl *New) {
306 typedef llvm::SmallSetVector<const NamedDecl*, 16> NamedDeclSetType;
347 llvm::DenseMap<DeclarationName, NamedDecl *> LocallyScopedExternCDecls;
350 NamedDecl *findLocallyScopedExternCDecl(DeclarationName Name);
793 llvm::DenseMap<NamedDecl *, SourceLocation> UndefinedButUsed;
797 llvm::SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined);
    [all...]
  /external/clang/lib/Frontend/
ASTMerge.cpp 64 if (NamedDecl *ND = dyn_cast<NamedDecl>(*D))
  /external/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 98 const NamedDecl *ND = cast<NamedDecl>(D);
  /external/clang/lib/Analysis/
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/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);
SemaLookup.cpp 352 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl();
363 llvm::SmallPtrSet<NamedDecl*, 16> Unique;
374 NamedDecl *D = Decls[I]->getUnderlyingDecl();
375 D = cast<NamedDecl>(D->getCanonicalDecl());
524 if (NamedDecl *D = S.LazilyCreateBuiltin((IdentifierInfo *)II,
670 NamedDecl *D = *I;
898 if (NamedDecl *ND = R.getAcceptableDecl(*I)) {
    [all...]
Sema.cpp 371 bool operator()(const std::pair<NamedDecl *, SourceLocation> &l,
372 const std::pair<NamedDecl *, SourceLocation> &r) const {
387 SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined) {
388 for (llvm::DenseMap<NamedDecl *, SourceLocation>::iterator
391 NamedDecl *ND = I->first;
427 SmallVector<std::pair<NamedDecl *, SourceLocation>, 16> Undefined;
431 for (SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> >::iterator
433 NamedDecl *ND = I->first;
526 // Friend functions are available through the NamedDecl of FriendDecl.
765 const NamedDecl *D = *I
    [all...]
SemaCXXScopeSpec.cpp 251 bool Sema::isAcceptableNestedNameSpecifier(const NamedDecl *SD) {
283 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) {
301 NamedDecl *Result = Found.getFoundDecl();
351 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>())
397 NamedDecl *ScopeLookupResult,
513 if (NamedDecl *ND = Corrected.getCorrectionDecl()) {
523 NamedDecl *SD = Found.getAsSingle<NamedDecl>();
537 NamedDecl *OuterDecl
    [all...]
SemaTemplateVariadic.cpp 231 Name = Unexpanded[I].first.get<NamedDecl *>()->getIdentifier();
518 getDepthAndIndex(NamedDecl *ND) {
553 NamedDecl *ND = i->first.get<NamedDecl *>();
570 i->first.get<NamedDecl *>());
599 if (NamedDecl *PartialPack
654 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>();
661 Unexpanded[I].first.get<NamedDecl *>());
779 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...]
SemaAccess.cpp 39 bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl,
40 NamedDecl *PrevMemberDecl,
65 static CXXRecordDecl *FindDeclaringClass(NamedDecl *D) {
555 NamedDecl *Friend
556 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl());
    [all...]
  /external/clang/lib/AST/
Decl.cpp 38 // NamedDecl Implementation
97 LVForType = NamedDecl::VisibilityForType,
102 LVForValue = NamedDecl::VisibilityForValue,
139 static Optional<Visibility> getExplicitVisibility(const NamedDecl *D,
143 return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind);
148 static bool usesTypeVisibility(const NamedDecl *D) {
190 static Optional<Visibility> getVisibilityOf(const NamedDecl *D,
191 NamedDecl::ExplicitVisibilityKind kind) {
194 if (kind == NamedDecl::VisibilityForType) {
287 static LinkageInfo getLVForDecl(const NamedDecl *D
    [all...]
  /external/clang/test/SemaCXX/
member-expr.cpp 49 struct NamedDecl {
53 struct NamespaceDecl : NamedDecl {

Completed in 885 milliseconds

12 3 4 5 6 7