- Jun 16, 2008
-
-
Ted Kremenek authored
Patch by Nikita Zhuk! llvm-svn: 52336
-
Chris Lattner authored
This fixes use of alloca on 64-bit systems. llvm-svn: 52334
-
- Jun 14, 2008
-
-
Eli Friedman authored
qualifier in the lvalue, and changes lvalue loads/stores to honor the volatile flag. Places which need some further attention are marked with FIXMEs. Patch by Cédric Venet. llvm-svn: 52264
-
- Jun 12, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52227
-
- Jun 11, 2008
-
-
Eli Friedman authored
isn't guaranteed to exist. This fixes a crash with conflicting typedefs coming from stdin. This also fixes the crash in PR2406, but doesn't completely fix the issue; it appears there's something strange about the physical location for the definition of int64_t in stdlib.h. llvm-svn: 52209
-
- Jun 10, 2008
-
-
Argyrios Kyrtzidis authored
-ScopedDecls get chained to their DeclContext. -DeclContext's DeclChain replaces FunctionDecl's DeclChain and EnumDecl's ElementList. llvm-svn: 52164
-
Argyrios Kyrtzidis authored
llvm-svn: 52162
-
Argyrios Kyrtzidis authored
llvm-svn: 52161
-
Argyrios Kyrtzidis authored
Added TagKind enum. Added getTagKind() method. Added convenience methods: isEnum(), isStruct(), isUnion(), isClass(). -RecordDecl/CXXRecordDecl::Create() accept a TagKind enum instead of a DeclKind one. llvm-svn: 52160
-
- Jun 09, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 52155
-
Sanjiv Gupta authored
llvm-svn: 52140
-
Eli Friedman authored
pointer cast hack currently in isIntegerConstantExpr (in lib/AST/Expr.cpp). Also removes an odd test that even gcc doesn't accept. The reason the pointer cast hack is relevant here is that it makes Sema end up misinterpreting the relevant expression as a null pointer constant. The reason for this patch is that I plan to remove the pointer cast hack sometime soon because it causes strange issues, especially in its current form; see my recent email to cfe-dev "[PATCH] add constant expression evaluation to the AST and fix PR2413". llvm-svn: 52120
-
Eli Friedman authored
type; this isn't explicitly stated in the standard, but it doesn't really make sense for them to have an effect here. Fixes the included testcase, sent to me by Steve Naroff. llvm-svn: 52113
-
- Jun 08, 2008
-
-
Nuno Lopes authored
llvm-svn: 52092
-
Nuno Lopes authored
llvm-svn: 52089
-
Eli Friedman authored
This fix just makes sure to construct the global with the appropriate type, and fixes up the one user this affects to compensate. llvm-svn: 52084
-
Chris Lattner authored
Patch by Mike Stump! llvm-svn: 52081
-
Chris Lattner authored
long double X() { return 1.0L; } as: long double X() (CompoundStmt 0xb06a00 <t.c:2:17, col:32> (ReturnStmt 0xb068d0 <col:19, col:26> (FloatingLiteral 0xb02cf0 <col:26> 'long double' 1.000000))) llvm-svn: 52080
-
- Jun 07, 2008
-
-
Eli Friedman authored
reported on cfe-dev by Cédric Venet. Note that I seriously doubt that this perticular construct is useful, though: it's a pointer in an alternate address space pointing into unqualified address space. llvm-svn: 52076
-
Eli Friedman authored
llvm-svn: 52075
-
Sanjiv Gupta authored
llvm-svn: 52070
-
- Jun 06, 2008
-
-
Ted Kremenek authored
llvm-svn: 52063
-
Eli Friedman authored
PR2419. llvm-svn: 52060
-
Ted Kremenek authored
Implement "Destroy" and destructor for ObjCClassDecl, allowing us to reclaim its memory and the memory of the Decls it owns. llvm-svn: 52059
-
Ted Kremenek authored
Implement "Destroy" and destructor for ObjCProtocolDecl, allowing us to reclaim its memory and the memory of the Decls it owns. llvm-svn: 52055
-
Eli Friedman authored
llvm-svn: 52054
-
Ted Kremenek authored
ObjCPropertyDecls, have TranslationUnit destroy ObjCPropertyDecls. This is a horrible hack, and must be removed eventually. llvm-svn: 52051
-
Ted Kremenek authored
have Destroy methods of ObjcMethodDecl and ObjCInterfaceDecl which recursively destroy their owned Decls and Stmts. There are a few cases where it is not clear what to do (FIXMEs included in the patch). llvm-svn: 52050
-
Nuno Lopes authored
llvm-svn: 52049
-
Devang Patel authored
llvm-svn: 52035
-
Devang Patel authored
llvm-svn: 52034
-
Devang Patel authored
llvm-svn: 52033
-
Steve Naroff authored
llvm-svn: 52025
-
rdar://problem/5986085Steve Naroff authored
Second half of "fix" for <rdar://problem/5986085> clang on xcode: error: redefinition of 'XCElementToggler' as different kind of symbol llvm-svn: 52024
-
- Jun 05, 2008
-
-
Steve Naroff authored
llvm-svn: 52014
-
Steve Naroff authored
llvm-svn: 52006
-
rdar://problem/5986833Steve Naroff authored
- Changed Sema::ObjCActOnStartOfMethodDef() to more accurately type "self" in factory methods. - Changed Sema::ActOnInstanceMessage() to use the new type to restrict the lookup. llvm-svn: 52005
-
rdar://problem/5987482Steve Naroff authored
In addition to fixing the crasher, this commit fixes further improves property lookup (by searching protocols of qualified interfaces..."NSObject <prot>"). llvm-svn: 52001
-
Sanjiv Gupta authored
llvm-svn: 51993
-
Steve Naroff authored
llvm-svn: 51976
-