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
25 class NamedDecl;
27 /// A POD class for pairing a NamedDecl* with an access specifier.
30 NamedDecl *Ptr; // we'd use llvm::PointerUnion, but it isn't trivial
35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) {
41 NamedDecl *getDecl() const {
42 return (NamedDecl*) (~Mask & (uintptr_t) Ptr);
48 void setDecl(NamedDecl *D) {
54 void set(NamedDecl *D, AccessSpecifier AS) {
55 Ptr = reinterpret_cast<NamedDecl*>(uintptr_t(AS)
    [all...]
Decl.h 101 /// NamedDecl - This represents a decl with a name. Many decls have names such
103 class NamedDecl : public Decl {
111 NamedDecl *getUnderlyingDeclImpl();
114 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
165 /// This is the method invoked by Sema when displaying a NamedDecl
187 bool declarationReplaces(NamedDecl *OldD) const;
327 NamedDecl *getUnderlyingDecl() {
335 const NamedDecl *getUnderlyingDecl() const {
336 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
340 static bool classof(const NamedDecl *D) { return true;
    [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) {
75 typedef ::clang::NamedDecl* SimpleType;
92 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 161 NamedDecl *New;
162 NamedDecl *Existing;
171 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing)
187 operator NamedDecl*() const { return Existing; }
193 FindExistingResult findExisting(NamedDecl *D);
219 void VisitNamedDecl(NamedDecl *ND);
397 void ASTDeclReader::VisitNamedDecl(NamedDecl *ND) {
603 TemplDecls.addDecl(ReadDeclAs<NamedDecl>(Record, Idx));
    [all...]

Completed in 395 milliseconds