parent
c541c3ee15
commit
0f1cacd049
|
@ -912,7 +912,7 @@ void ASTContext::getObjcEncodingForType(QualType T, std::string& S) const
|
||||||
if (PointeeTy->isCharType()) {
|
if (PointeeTy->isCharType()) {
|
||||||
// char pointer types should be encoded as '*' unless it is a
|
// char pointer types should be encoded as '*' unless it is a
|
||||||
// type that has been typedef'd to 'BOOL'.
|
// type that has been typedef'd to 'BOOL'.
|
||||||
if (isTypeTypedefedAsBOOL(T)) {
|
if (!isTypeTypedefedAsBOOL(T)) {
|
||||||
S += '*';
|
S += '*';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue