Fix logic error.

llvm-svn: 43443
This commit is contained in:
Anders Carlsson 2007-10-29 05:58:43 +00:00
parent c541c3ee15
commit 0f1cacd049
1 changed files with 1 additions and 1 deletions

View File

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