HomeSort by relevance Sort by last modified time
    Searched defs:NamedDecl (Results 1 - 4 of 4) 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 98 /// NamedDecl - This represents a decl with a name. Many decls have names such
100 class NamedDecl : public Decl {
107 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
158 /// This is the method invoked by Sema when displaying a NamedDecl
180 bool declarationReplaces(NamedDecl *OldD) const;
299 NamedDecl *getUnderlyingDecl();
300 const NamedDecl *getUnderlyingDecl() const {
301 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
305 static bool classof(const NamedDecl *D) { return true; }
309 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND)
    [all...]
DeclCXX.h 43 NamedDecl *Function;
45 AnyFunctionDecl(NamedDecl *ND) : Function(ND) { }
53 operator NamedDecl *() const { return Function; }
56 NamedDecl *get() const { return Function; }
58 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) {
69 typedef ::clang::NamedDecl* SimpleType;
86 static_cast< ::clang::NamedDecl*>(P));
    [all...]
  /external/clang/test/SemaCXX/
member-expr.cpp 49 struct NamedDecl {
53 struct NamespaceDecl : NamedDecl {

Completed in 2997 milliseconds