[cfe-commits] r43485 - /cfe/trunk/AST/ASTContext.cpp
Anders Carlsson
andersca at mac.com
Mon Oct 29 17:06:21 PDT 2007
Author: andersca
Date: Mon Oct 29 19:06:20 2007
New Revision: 43485
URL: http://llvm.org/viewvc/llvm-project?rev=43485&view=rev
Log:
Handle function types.
Modified:
cfe/trunk/AST/ASTContext.cpp
Modified: cfe/trunk/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/ASTContext.cpp?rev=43485&r1=43484&r2=43485&view=diff
==============================================================================
--- cfe/trunk/AST/ASTContext.cpp (original)
+++ cfe/trunk/AST/ASTContext.cpp Mon Oct 29 19:06:20 2007
@@ -1032,6 +1032,8 @@
getObjcEncodingForType(AT->getElementType(), S);
S += ']';
+ } else if (T->getAsFunctionType()) {
+ S += '?';
} else
assert(0 && "@encode for type not implemented!");
}
More information about the cfe-commits
mailing list