HomeSort by relevance Sort by last modified time
    Searched defs:NamedDecl (Results 1 - 5 of 5) sorted by null

  /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...]
Decl.h 103 /// NamedDecl - This represents a decl with a name. Many decls have names such
105 class NamedDecl : public Decl {
113 NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY;
116 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;
272 NamedDecl *getUnderlyingDecl() {
280 const NamedDecl *getUnderlyingDecl() const {
281 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
284 NamedDecl *getMostRecentDecl()
    [all...]
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) {
81 static_cast< ::clang::NamedDecl*>(P));
    [all...]
  /external/clang/test/SemaCXX/
member-expr.cpp 49 struct NamedDecl {
53 struct NamespaceDecl : NamedDecl {
  /external/clang/lib/Serialization/
ASTReaderDecl.cpp 158 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>(Record, Idx))
    [all...]

Completed in 341 milliseconds