parent
91aea716c6
commit
230fc3d17d
|
@ -1471,8 +1471,7 @@ int ASTContext::getObjCEncodingTypeSize(QualType type) {
|
||||||
/// getObjCEncodingForMethodDecl - Return the encoded type for this method
|
/// getObjCEncodingForMethodDecl - Return the encoded type for this method
|
||||||
/// declaration.
|
/// declaration.
|
||||||
void ASTContext::getObjCEncodingForMethodDecl(const ObjCMethodDecl *Decl,
|
void ASTContext::getObjCEncodingForMethodDecl(const ObjCMethodDecl *Decl,
|
||||||
std::string& S)
|
std::string& S) {
|
||||||
{
|
|
||||||
// FIXME: This is not very efficient.
|
// FIXME: This is not very efficient.
|
||||||
// Encode type qualifer, 'in', 'inout', etc. for the return type.
|
// Encode type qualifer, 'in', 'inout', etc. for the return type.
|
||||||
getObjCEncodingForTypeQualifier(Decl->getObjCDeclQualifier(), S);
|
getObjCEncodingForTypeQualifier(Decl->getObjCDeclQualifier(), S);
|
||||||
|
@ -1517,8 +1516,7 @@ void ASTContext::getObjCEncodingForMethodDecl(const ObjCMethodDecl *Decl,
|
||||||
/// NULL when getting encodings for protocol properties.
|
/// NULL when getting encodings for protocol properties.
|
||||||
void ASTContext::getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD,
|
void ASTContext::getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD,
|
||||||
const Decl *Container,
|
const Decl *Container,
|
||||||
std::string& S)
|
std::string& S) {
|
||||||
{
|
|
||||||
// Collect information from the property implementation decl(s).
|
// Collect information from the property implementation decl(s).
|
||||||
bool Dynamic = false;
|
bool Dynamic = false;
|
||||||
ObjCPropertyImplDecl *SynthesizePID = 0;
|
ObjCPropertyImplDecl *SynthesizePID = 0;
|
||||||
|
|
Loading…
Reference in New Issue