- Sep 13, 2008
-
-
Ted Kremenek authored
"Here is a patch what replaces std::ostream with llvm::raw_ostream. This patch covers the AST library, but ignores Analysis lib." llvm-svn: 56185
-
- Sep 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 56166
-
Daniel Dunbar authored
- For investigating warnings in system headers / builtins. - Currently also enables the behavior that allows silent redefinition of types in system headers. Conceptually these are separate but I didn't feel it was worth two options (or changing LangOptions). llvm-svn: 56163
-
Douglas Gregor authored
Give string literals const element typesin C++, and cope with the deprecated C++ conversion from a string literal to a pointer-to-non-const-character llvm-svn: 56137
-
Daniel Dunbar authored
- Follow C99 behavior of using other operand type when one of operands is a null pointer constant. - Fix overenthusiastic devolving of any Objective-C types to id: o If either operand has an Objective-C object type then: - If both operands are interfaces and either operand can be assigned to the other, use that type as the composite type. - Otherwise, if either type is id, use id as the composite type. - Otherwise, warn about incompatible types and use id as the composite type. - Return handling of qualified idea to separate test following general pointer type checking. o Upgraded from old code to allow devolving to id (without warning, which matches GCC). - <rdar://problem/6212771> Add test case for issues fixed above, XFAIL though because it exposed a new issue in property handling. llvm-svn: 56135
-
Argyrios Kyrtzidis authored
Add comments about C++ clause 3.3.2p4 that mentions that the condition declaration should be local to an if/switch/while/for statement. llvm-svn: 56134
-
- Sep 11, 2008
-
-
Douglas Gregor authored
llvm-svn: 56103
-
Anders Carlsson authored
llvm-svn: 56102
-
Anders Carlsson authored
llvm-svn: 56101
-
Anders Carlsson authored
llvm-svn: 56100
-
Argyrios Kyrtzidis authored
llvm-svn: 56096
-
Argyrios Kyrtzidis authored
llvm-svn: 56095
-
Argyrios Kyrtzidis authored
llvm-svn: 56094
-
Argyrios Kyrtzidis authored
llvm-svn: 56093
-
Argyrios Kyrtzidis authored
llvm-svn: 56090
-
Douglas Gregor authored
llvm-svn: 56089
-
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
-
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
-
- 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
-