- Sep 11, 2008
-
-
Daniel Dunbar authored
value). - Added ABIArgInfo::ByVal (mostly supported) and ABIArgInfo::Expand (asserted out). - Added classifyArgumentType which currently just uses ABIArgInfo::Default or ByVal. This nearly matches old behavior, but we now set ByVal in a few situations we may have left it off before (on complex, for example). llvm-svn: 56086
-
Daniel Dunbar authored
(1) Additional arguments to variadic methods should have default promotions applied. (2) Additional arguments to non-variadic methods were allowed. llvm-svn: 56084
-
Daniel Dunbar authored
llvm-svn: 56083
-
Argyrios Kyrtzidis authored
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-September/002721.html llvm-svn: 56081
-
Daniel Dunbar authored
no method declaration was found. - This was allowing arrays to pass "by value" among other things. Add assert in CodeGen that arguments cannot have array type. llvm-svn: 56080
-
Daniel Dunbar authored
CheckMessageArgumentTypes. - No functionality change. llvm-svn: 56079
-
Argyrios Kyrtzidis authored
-Scoping in C99 works good for C++ too, remove the C++-specific comments. If someone thinks that the C++-specific comments are necessary for clarification, let me know and I'll put them back on. llvm-svn: 56078
-
Argyrios Kyrtzidis authored
llvm-svn: 56077
-
Daniel Dunbar authored
<rdar://problem/6211479> [sema] array type invalid for Obj-C property llvm-svn: 56075
-
- Sep 10, 2008
-
-
Steve Naroff authored
llvm-svn: 56064
-
Steve Naroff authored
llvm-svn: 56063
-
Argyrios Kyrtzidis authored
llvm-svn: 56060
-
Daniel Dunbar authored
- As a test, enable basic usage for some common x86-32 cases. This increases our x86-32 compliance (on other targets our compliance will just be broken in a different way). llvm-svn: 56051
-
Daniel Dunbar authored
type of a call. Change NeXT runtime to use this instead of trying to bitcasting internally (which doesn't respect the ABI). Fix subtle bug, use of ConvertTypeRecursive instead of ConvertType is bad inside GetFunctionType. llvm-svn: 56050
-
Daniel Dunbar authored
- Added CodeGenTypes::GetFunctionType, taking a CGFunctionInfo. - Updated Obj-C runtimes to use this instead of rolling the llvm::FunctionType by hand. - Killed CodeGenTypes::{ConvertReturnType, DecodeArgumentTypes}. Add ABIArgInfo class to encapsulate ABI decision of how to lower types to LLVM. - Will move to target sometime soon. llvm-svn: 56047
-
Daniel Dunbar authored
to LLVM. - Will move to target sometime soon. llvm-svn: 56046
-
Argyrios Kyrtzidis authored
Implement CodeGen support for the 'CXXConditionDeclExpr' expression node, which represents a 'condition' declaration, e.g: "if (int x=0) {...}". llvm-svn: 56045
-
Argyrios Kyrtzidis authored
Implement Sema support for the 'condition' part of C++ selection-statements and iteration-statements (if/switch/while/for). llvm-svn: 56044
-
Argyrios Kyrtzidis authored
llvm-svn: 56043
-
Argyrios Kyrtzidis authored
llvm-svn: 56042
-
Daniel Dunbar authored
- Realized these functions will eventually need access to more data, moved to CodeGenModule. Eventually they should probably live together in some other helper class. llvm-svn: 56039
-
Daniel Dunbar authored
- Move actual param attr list creation to CodeGenFunction::ConstructParamAttrList. - Make ReturnTypeUsesSret static. llvm-svn: 56038
-
Daniel Dunbar authored
- Hook so NeXT runtime doesn't depend on ABI. llvm-svn: 56034
-
Argyrios Kyrtzidis authored
Add new 'CXXConditionDeclExpr' expression node used for a 'condition' declaration, e.g: "if (int x=0) {...}". It is a subclass of DeclRefExpr and the main difference is that CXXConditionDeclExpr owns the declaration that it references. llvm-svn: 56033
-
Daniel Dunbar authored
- Factor out EmitFunction{Pro,Epi}log llvm-svn: 56031
-
Daniel Dunbar authored
StartObjCMethod. llvm-svn: 56030
-
- Sep 09, 2008
-
-
Argyrios Kyrtzidis authored
Make IdentifierResolver::isDeclInScope regard declarations of a parent 'control' scope as part of the current scope. The 'control' scope is the 'condition' scope of if/switch/while statements and the scope that contains the for-init-statement and 'condition' of a for statement. e.g: if (int x = 0 /*'control' scope*/) { // x will be regarded as part of this substatement scope. } else { // and as part of this substatement scope too. } llvm-svn: 56020
-
Argyrios Kyrtzidis authored
Make Sema pass the LangOptions to IdentifierResolver's constructor. llvm-svn: 56015
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 56014
-
Daniel Dunbar authored
- For the time being this means our emitted code is somewhat worse, especially for aggregates. This will be fixed. llvm-svn: 56013
-
Argyrios Kyrtzidis authored
llvm-svn: 56012
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 56010
-
Argyrios Kyrtzidis authored
Implement parser support for the 'condition' part of C++ selection-statements and iteration-statements (if/switch/while/for). Add new 'ActOnCXXConditionDeclarationExpr' action, called when the 'condition' is a declaration instead of an expression. llvm-svn: 56007
-
-
Argyrios Kyrtzidis authored
llvm-svn: 56002
-
Anders Carlsson authored
llvm-svn: 55994
-
Anders Carlsson authored
llvm-svn: 55991
-
Steve Naroff authored
- Replace string comparisons with pre-defined idents. - Avoid calling isBuiltinObjCType() to avoid two checks. - Remove isBuiltinObjCType(), since it was only used in Sema::MergeTypeDefDecl(). - Have Sema::MergeTypeDefDecl() set the new type. This is a moidified version of an patch by David Chisnall. llvm-svn: 55990
-
Steve Naroff authored
llvm-svn: 55989
-
Argyrios Kyrtzidis authored
llvm-svn: 55986
-