- May 20, 2008
-
-
Eli Friedman authored
implement bitfield codegen (although I don't envy the person who implements it). This also prevents a crash on code like that from PR2309 (it's still broken, but it fails more gracefully). llvm-svn: 51285
-
Eli Friedman authored
llvm-svn: 51284
-
Eli Friedman authored
llvm-svn: 51282
-
Ted Kremenek authored
Added Stmt::DestroyChildren, which will be used by the dstors of the subclasses of Stmt to recursively delete their child AST nodes. llvm-svn: 51278
-
- May 19, 2008
-
-
Eli Friedman authored
code). llvm-svn: 51276
-
Eli Friedman authored
it a few days to make sure there aren't any significant regressions. llvm-svn: 51273
-
Eli Friedman authored
llvm-svn: 51269
-
Eli Friedman authored
and "int a = {};"). I'll adjust the tests in a bit. llvm-svn: 51265
-
Eli Friedman authored
llvm-svn: 51262
-
Eli Friedman authored
caused by enabling SemaInit. llvm-svn: 51261
-
Eli Friedman authored
they were causing bad code to be emitted. There are two fixes here: one makes sure we emit a string that is long enough, and one makes sure we properly handle string initialization in init lists. llvm-svn: 51259
-
- May 18, 2008
-
-
Eli Friedman authored
addition with a pointer and an integer even when it didn't make sense. llvm-svn: 51228
-
- May 17, 2008
-
-
Eli Friedman authored
used for _Bool is not the same as the primitive width (which for _Bool is 1 bit). The load and store changes add some casts to make the types consistent. The EmitLValue changes make sure that the pointer is of an appropriate type for loading the bitfield. This isn't perfect, but it's an improvement, and getting everything right depends on actually laying out structs in an ABI-compliant way. llvm-svn: 51224
-
Ted Kremenek authored
llvm-svn: 51214
-
Ted Kremenek authored
llvm-svn: 51213
-
Ted Kremenek authored
llvm-svn: 51212
-
- May 16, 2008
-
-
Eli Friedman authored
at the Sema layer. llvm-svn: 51203
-
Eli Friedman authored
the condidtional have compatible types, they are not necessarily the same type. Therefore, we cast to the composite type. As a hack, for the moment we assume that the composite type is the type of the left-hand expression; this isn't correct, but it's good enough for most purposes. llvm-svn: 51202
-
Nate Begeman authored
llvm-svn: 51199
-
Ted Kremenek authored
llvm-svn: 51198
-
Ted Kremenek authored
Partitioned BugTypeCachedLocation::isCached() into two methods: one that accepts and ExplodedNode, and the other that accepts a ProgramPoint. The default behavior is to cache bug reports by the location they occur (the end node). Subclasses can override this behavior by providing a different ProgramPoint. llvm-svn: 51197
-
Eli Friedman authored
llvm-svn: 51196
-
Eli Friedman authored
llvm-svn: 51195
-
Eli Friedman authored
llvm-svn: 51193
-
Ted Kremenek authored
llvm-svn: 51190
-
Eli Friedman authored
llvm-svn: 51188
-
Ted Kremenek authored
in Sema::CheckFunctionCall: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080512/005706.html The bug was that the logic from the helper methods used by CheckFunctionCall were being inverted (a subtle bug). This would cause the parser to discard any valid AST nodes involving several builtins (see patch). This removes the last regression failure I'm seeing in the test suite: Analysis-Apple/NoReturn. llvm-svn: 51168
-
- May 15, 2008
-
-
Ted Kremenek authored
expressions. This appears to be a regression introduced in r51113 that caused many test cases to fail (there is still a test case in the Analysis directory that is failing): http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080512/005706.html llvm-svn: 51164
-
rdar://problem/5929344Steve Naroff authored
Fix rewriter bug <rdar://problem/5929344> clang ObjC rewriter: "extern int __CFConstantStringClassReference[];" should be extern "C". Have clang predefine OBJC_NEW_PROPERTIES (which is what gcc does). llvm-svn: 51163
-
Argyrios Kyrtzidis authored
llvm-svn: 51151
-
Nate Begeman authored
intrin.h files are finished llvm-svn: 51137
-
- May 14, 2008
-
-
Eli Friedman authored
#define pollution. llvm-svn: 51128
-
Eli Friedman authored
llvm-svn: 51117
-
Eli Friedman authored
expressing the full flexibility of the LLVM shufflevector instruction. The expected immediate usage is in *mmintrin.h, so that they don't depend on the mess of gcc-inherited (and not completely implemented) shuffle builtins. llvm-svn: 51113
-
Argyrios Kyrtzidis authored
llvm-svn: 51103
-
Eli Friedman authored
the moment, but it what you'd expect in the AST from reading the standard, and it should make VLA codegen a bit more strightforward. llvm-svn: 51086
-
Eli Friedman authored
llvm-svn: 51081
-
Eli Friedman authored
llvm-svn: 51080
-
- May 13, 2008
-
-
Nate Begeman authored
llvm-svn: 51068
-
Eli Friedman authored
llvm-svn: 51065
-