forked from OSchip/llvm-project
parent
7fb867e5e0
commit
37088116e7
|
@ -53,12 +53,12 @@ public:
|
|||
SourceLocation L, IdentifierInfo *Id,
|
||||
ScopedDecl *PrevDecl);
|
||||
|
||||
const CXXFieldDecl *getMember(unsigned i) const {
|
||||
return cast<const CXXFieldDecl>(RecordDecl::getMember(i));
|
||||
}
|
||||
CXXFieldDecl *getMember(unsigned i) {
|
||||
return cast<CXXFieldDecl>(RecordDecl::getMember(i));
|
||||
}
|
||||
const CXXFieldDecl *getMember(unsigned i) const {
|
||||
return cast<const CXXFieldDecl>(RecordDecl::getMember(i));
|
||||
}
|
||||
CXXFieldDecl *getMember(unsigned i) {
|
||||
return cast<CXXFieldDecl>(RecordDecl::getMember(i));
|
||||
}
|
||||
|
||||
/// getMember - If the member doesn't exist, or there are no members, this
|
||||
/// function will return 0;
|
||||
|
|
Loading…
Reference in New Issue