Searched defs:NamedDecl (Results 1 - 5 of 5) sorted by relevance

/external/clang/include/clang/AST/
H A DDeclAccessPair.h11 // 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 *operato
[all...]
H A DDecl.h144 /// NamedDecl - This represents a decl with a name. Many decls have names such
146 class NamedDecl : public Decl { class in namespace:clang
154 NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY;
157 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) function in class:clang::NamedDecl
211 /// This is the method invoked by Sema when displaying a NamedDecl
229 bool declarationReplaces(NamedDecl *OldD, bool IsKnownNewer = true) const;
316 NamedDecl *getUnderlyingDecl() {
324 const NamedDecl *getUnderlyingDecl() const {
325 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
328 NamedDecl *getMostRecentDec
[all...]
H A DDeclCXX.h49 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));
1092 void removeConversion(const NamedDecl *Old);
2552 /// \note UsingDirectiveDecl should be Decl not NamedDecl, but we provide
2555 class UsingDirectiveDecl : public NamedDecl {
2567 NamedDecl *NominatedNamespac
[all...]
/external/clang/test/SemaCXX/
H A Dmember-expr.cpp49 struct NamedDecl { struct in namespace:test3
53 struct NamespaceDecl : NamedDecl {
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp117 static NamedDecl *getAnonymousDeclForMerging(ASTReader &Reader,
121 unsigned Index, NamedDecl *D);
171 NamedDecl *New;
172 NamedDecl *Existing;
185 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing,
206 operator NamedDecl*() const { return Existing; }
214 FindExistingResult findExisting(NamedDecl *D);
261 void VisitNamedDecl(NamedDecl *ND);
398 cast<NamedDecl>(Reade
[all...]

Completed in 140 milliseconds