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.
31 NamedDecl *Ptr; // we'd use llvm::PointerUnion, but it isn't trivial
36 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) {
42 NamedDecl *getDecl() const {
43 return (NamedDecl*) (~Mask & (uintptr_t) Ptr);
49 void setDecl(NamedDecl *D) {
55 void set(NamedDecl *D, AccessSpecifier AS) {
56 Ptr = reinterpret_cast<NamedDecl*>(uintptr_t(AS)
    [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();
116 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
171 /// This is the method invoked by Sema when displaying a NamedDecl
186 bool declarationReplaces(NamedDecl *OldD) const;
264 NamedDecl *getUnderlyingDecl() {
272 const NamedDecl *getUnderlyingDecl() const {
273 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
280 inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND)
    [all...]
DeclCXX.h 50 NamedDecl *Function;
52 AnyFunctionDecl(NamedDecl *ND) : Function(ND) { }
60 operator NamedDecl *() const { return Function; }
63 NamedDecl *get() const { return Function; }
65 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) {
82 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 155 NamedDecl *New;
156 NamedDecl *Existing;
165 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing)
181 operator NamedDecl*() const { return Existing; }
187 FindExistingResult findExisting(NamedDecl *D);
216 void VisitNamedDecl(NamedDecl *ND);
414 void ASTDeclReader::VisitNamedDecl(NamedDecl *ND) {
637 TemplDecls.addDecl(ReadDeclAs<NamedDecl>(Record, Idx));
    [all...]

Completed in 475 milliseconds