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.h103 /// NamedDecl - This represents a decl with a name. Many decls have names such
105 class NamedDecl : public Decl { class in namespace:clang
113 NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY;
116 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) function in class:clang::NamedDecl
170 /// This is the method invoked by Sema when displaying a NamedDecl
185 bool declarationReplaces(NamedDecl *OldD) const;
272 NamedDecl *getUnderlyingDecl() {
280 const NamedDecl *getUnderlyingDecl() const {
281 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
284 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));
1082 void removeConversion(const NamedDecl *Old);
2533 /// \note UsingDirectiveDecl should be Decl not NamedDecl, but we provide
2536 class UsingDirectiveDecl : public NamedDecl {
2548 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.cpp158 NamedDecl *New;
159 NamedDecl *Existing;
168 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing)
184 operator NamedDecl*() const { return Existing; }
190 FindExistingResult findExisting(NamedDecl *D);
230 void VisitNamedDecl(NamedDecl *ND);
446 void ASTDeclReader::VisitNamedDecl(NamedDecl *ND) {
495 TD->NamedDeclOrQualifier = ReadDeclAs<NamedDecl>(Record, Idx);
687 TemplDecls.addDecl(ReadDeclAs<NamedDecl>(Recor
[all...]

Completed in 212 milliseconds