[cfe-commits] r44956 - in /cfe/trunk: AST/ASTContext.cpp clang.xcodeproj/project.pbxproj
Steve Naroff
snaroff at apple.com
Wed Dec 12 14:30:12 PST 2007
Author: snaroff
Date: Wed Dec 12 16:30:11 2007
New Revision: 44956
URL: http://llvm.org/viewvc/llvm-project?rev=44956&view=rev
Log:
Encode enumeral types.
Modified:
cfe/trunk/AST/ASTContext.cpp
cfe/trunk/clang.xcodeproj/project.pbxproj
Modified: cfe/trunk/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/ASTContext.cpp?rev=44956&r1=44955&r2=44956&view=diff
==============================================================================
--- cfe/trunk/AST/ASTContext.cpp (original)
+++ cfe/trunk/AST/ASTContext.cpp Wed Dec 12 16:30:11 2007
@@ -1071,8 +1071,10 @@
getObjcEncodingForType(field->getType(), S);
}
S += '}';
+ } else if (T->isEnumeralType()) {
+ S += 'i';
} else
- assert(0 && "@encode for type not implemented!");
+ assert(0 && "@encode for type not implemented!");
}
void ASTContext::getObjcEncodingForTypeQualifier(Decl::ObjcDeclQualifier QT,
Modified: cfe/trunk/clang.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/clang.xcodeproj/project.pbxproj?rev=44956&r1=44955&r2=44956&view=diff
==============================================================================
--- cfe/trunk/clang.xcodeproj/project.pbxproj (original)
+++ cfe/trunk/clang.xcodeproj/project.pbxproj Wed Dec 12 16:30:11 2007
@@ -775,6 +775,7 @@
08FB7793FE84155DC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "clang" */;
+ compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
mainGroup = 08FB7794FE84155DC02AAC07 /* clang */;
projectDirPath = "";
More information about the cfe-commits
mailing list