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

1 2 3 4 5 6 7 8

  /external/clang/include/clang/AST/
DeclAccessPair.h 11 // efficient representation of a pair of a NamedDecl* and an
26 class NamedDecl;
28 /// A POD class for pairing a NamedDecl* with an access specifier.
36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) {
42 NamedDecl *getDecl() const {
43 return reinterpret_cast<NamedDecl*>(~Mask & Ptr);
49 void setDecl(NamedDecl *D) {
55 void set(NamedDecl *D, AccessSpecifier AS) {
59 operator NamedDecl*() const { return getDecl(); }
60 NamedDecl *operator->() const { return getDecl();
    [all...]
DeclContextInternals.h 35 typedef SmallVector<NamedDecl *, 4> DeclsTy;
41 /// \brief The stored data, which will be either a pointer to a NamedDecl,
44 llvm::PointerUnion<NamedDecl*, DeclsAndHasExternalTy> Data;
50 RHS.Data = (NamedDecl *)nullptr;
63 RHS.Data = (NamedDecl *)nullptr;
69 NamedDecl *getAsDecl() const {
70 return Data.dyn_cast<NamedDecl *>();
90 if (NamedDecl *OldD = getAsDecl())
96 void setOnlyValue(NamedDecl *ND) {
99 // Make sure that Data is a plain NamedDecl* so we can use its addres
    [all...]
UnresolvedSet.h 30 std::random_access_iterator_tag, NamedDecl *,
31 std::ptrdiff_t, NamedDecl *, NamedDecl *> {
44 NamedDecl *getDecl() const { return I->getDecl(); }
45 void setDecl(NamedDecl *ND) const { return I->setDecl(ND); }
50 NamedDecl *operator*() const { return getDecl(); }
51 NamedDecl *operator->() const { return **this; }
77 void addDecl(NamedDecl *D) {
81 void addDecl(NamedDecl *D, AccessSpecifier AS) {
88 bool replace(const NamedDecl* Old, NamedDecl *New)
    [all...]
DependentDiagnostic.h 31 class NamedDecl;
44 NamedDecl *TargetDecl,
77 NamedDecl *getAccessTarget() const {
82 NamedDecl *getAccessNamingClass() const {
115 NamedDecl *TargetDecl;
ASTUnresolvedSet.h 50 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) {
57 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) {
104 Impl.addDecl(C, reinterpret_cast<NamedDecl*>(ID << 2), AS);
ASTMutationListener.h 27 class NamedDecl;
120 virtual void RedefinedHiddenDefinition(const NamedDecl *D,
Mangle.h 32 class NamedDecl;
92 bool shouldMangleDeclName(const NamedDecl *D);
93 virtual bool shouldMangleCXXName(const NamedDecl *D) = 0;
97 void mangleName(const NamedDecl *D, raw_ostream &);
98 virtual void mangleCXXName(const NamedDecl *D, raw_ostream &) = 0;
117 const NamedDecl *ID,
135 virtual void mangleSEHFilterExpression(const NamedDecl *EnclosingDecl,
138 virtual void mangleSEHFinallyBlock(const NamedDecl *EnclosingDecl,
DeclFriend.h 43 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
126 NamedDecl *getFriendDecl() const {
127 return Friend.dyn_cast<NamedDecl*>();
137 if (NamedDecl *ND = getFriendDecl()) {
  /external/clang/include/clang/Sema/
IdentifierResolver.h 28 class NamedDecl;
43 typedef SmallVector<NamedDecl*, 2> DeclsTy;
48 void AddDecl(NamedDecl *D) { Decls.push_back(D); }
52 void RemoveDecl(NamedDecl *D);
55 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) {
70 typedef NamedDecl * value_type;
71 typedef NamedDecl * reference;
72 typedef NamedDecl * pointer;
77 /// 1) A single NamedDecl. (Ptr & 0x1 == 0)
85 /// A single NamedDecl. (Ptr & 0x1 == 0
    [all...]
Lookup.h 289 static bool isVisible(Sema &SemaRef, NamedDecl *D) {
301 NamedDecl *getAcceptableDecl(NamedDecl *D) const {
312 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D);
313 NamedDecl *getAcceptableDeclSlow(NamedDecl *D) const;
366 void addDecl(NamedDecl *D) {
372 void addDecl(NamedDecl *D, AccessSpecifier AS) {
457 NamedDecl *getFoundDecl() const {
464 NamedDecl *getRepresentativeDecl() const
    [all...]
TypoCorrection.h 42 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl,
53 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr,
133 NamedDecl *getCorrectionDecl() const {
147 void setCorrectionDecl(NamedDecl *CDecl) {
153 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) {
158 /// \brief Add the given NamedDecl to the list of NamedDecls that are the
160 void addCorrectionDecl(NamedDecl *CDecl);
172 /// added to the list of the correction's NamedDecl pointers, NULL is added
211 typedef SmallVectorImpl<NamedDecl *>::iterator decl_iterator;
216 typedef SmallVectorImpl<NamedDecl *>::const_iterator const_decl_iterator
    [all...]
DelayedDiagnostic.h 70 NamedDecl *getTargetDecl() const { return Target; }
106 NamedDecl *Target;
127 const NamedDecl *D,
167 const NamedDecl *getDeprecationDecl() const {
214 const NamedDecl *Decl;
  /external/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.h 39 class NamedDecl;
63 void onBodySynthesis(const NamedDecl *D);
  /external/clang/lib/AST/
DeclFriend.cpp 33 if (Friend.is<NamedDecl*>()) {
34 NamedDecl *D = Friend.get<NamedDecl*>();
Mangle.cpp 59 static bool isExternC(const NamedDecl *ND) {
66 const NamedDecl *ND) {
98 bool MangleContext::shouldMangleDeclName(const NamedDecl *D) {
117 void MangleContext::mangleName(const NamedDecl *D, raw_ostream &Out) {
187 const NamedDecl *ID,
232 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) &&
233 "expected a NamedDecl or BlockDecl");
237 assert((isa<TranslationUnitDecl>(DC) || isa<NamedDecl>(DC)) &&
238 "expected a TranslationUnitDecl or a NamedDecl");
243 else if (auto ND = dyn_cast<NamedDecl>(DC))
    [all...]
  /external/clang/lib/Sema/
IdentifierResolver.cpp 70 void IdentifierResolver::IdDeclInfo::RemoveDecl(NamedDecl *D) {
142 void IdentifierResolver::AddDecl(NamedDecl *D) {
159 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr);
167 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) {
184 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr);
207 void IdentifierResolver::RemoveDecl(NamedDecl *D) {
236 return iterator(static_cast<NamedDecl*>(Ptr));
258 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New)
    [all...]
  /external/clang/tools/libclang/
IndexingContext.h 50 const NamedDecl *Dcl;
381 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent,
384 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
388 const NamedDecl *Parent,
393 void indexBody(const Stmt *S, const NamedDecl *Parent,
434 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor,
435 const NamedDecl *Parent,
440 bool handleReference(const NamedDecl *D, SourceLocation Loc,
441 const NamedDecl *Parent,
468 bool handleDecl(const NamedDecl *D
    [all...]
IndexTypeSourceInfo.cpp 20 const NamedDecl *Parent;
24 TypeIndexer(IndexingContext &indexCtx, const NamedDecl *parent,
97 const NamedDecl *Parent,
106 const NamedDecl *Parent,
117 const NamedDecl *Parent,
  /external/clang/examples/PrintFunctionNames/
PrintFunctionNames.cpp 29 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
  /external/clang/lib/Serialization/
ASTCommon.h 89 bool needsAnonymousDeclarationNumber(const NamedDecl *D);
101 auto *ND = dyn_cast_or_null<NamedDecl>(LexicalD);
  /external/lldb/include/lldb/Expression/
ClangASTSource.h 431 llvm::SmallVectorImpl<clang::NamedDecl*> &m_decls; ///< The list of declarations already constructed
462 llvm::SmallVectorImpl<clang::NamedDecl*> &decls,
480 clang::NamedDecl *AddVarDecl(const ClangASTType &type);
489 clang::NamedDecl *AddFunDecl(const ClangASTType &type);
496 clang::NamedDecl *AddGenericFunDecl();
505 clang::NamedDecl *AddTypeDecl(const ClangASTType &clang_type);
519 /// Add a NamedDecl to the list of results.
522 /// The NamedDecl, usually returned as the result
525 void AddNamedDecl (clang::NamedDecl *decl);
ClangExpressionDeclMap.h 137 AddPersistentVariable (const clang::NamedDecl *decl,
166 AddValueToStruct (const clang::NamedDecl *decl,
235 GetStructElement (const clang::NamedDecl *&decl,
256 GetFunctionInfo (const clang::NamedDecl *decl,
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 150 virtual void handleNoMutexHeld(StringRef Kind, const NamedDecl *D,
163 virtual void handleMutexNotHeld(StringRef Kind, const NamedDecl *D,
  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCSelfInitChecker.cpp 52 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND);
174 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>(
201 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>(
214 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>(
242 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>(
270 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>(
305 if (!shouldRunOnFunctionOrMethod(dyn_cast<NamedDecl>(
387 static bool shouldRunOnFunctionOrMethod(const NamedDecl *ND) {
  /external/lldb/source/Symbol/
ClangASTImporter.cpp 94 if (NamedDecl *named_decl = dyn_cast<NamedDecl>(decl))
122 std::set<NamedDecl *> decls_to_deport;
123 std::set<NamedDecl *> decls_already_deported;
158 std::set<NamedDecl *> decls_to_deport;
159 std::set<NamedDecl *> decls_already_deported;
454 ClangASTImporter::Minion::InitDeportWorkQueues (std::set<clang::NamedDecl *> *decls_to_deport,
455 std::set<clang::NamedDecl *> *decls_already_deported)
474 NamedDecl *decl = *m_decls_to_deport->begin();
585 if (NamedDecl *from_named_decl = dyn_cast<clang::NamedDecl>(from)
    [all...]

Completed in 418 milliseconds

1 2 3 4 5 6 7 8