- May 17, 2008
-
-
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
-
Eli Friedman authored
llvm-svn: 51042
-
rdar://problem/5924576Steve Naroff authored
Fix <rdar://problem/5924576> clang -fsyntax-only generates "redefinition" errors when parsing AppKit that gcc does not. Teach Sema::MergeVarDecl() about __private_extern__. llvm-svn: 51005
-
- May 12, 2008
-
-
rdar://problem/5928590Steve Naroff authored
Fix <rdar://problem/5928590> clang -fsyntax-only: "incompatible operand types ('int' and 'void')" on input that 'gcc -fsyntax-only' eats llvm-svn: 51002
-
Ted Kremenek authored
llvm-svn: 50980
-
Ted Kremenek authored
llvm-svn: 50979
-
Ted Kremenek authored
Remove redundant assignment. llvm-svn: 50978
-
Ted Kremenek authored
ScopedDecl with the backpatcher, and *not* a local variable on the stack. The value of DeclCtx gets filled in *later* by the backpatcher. This fixes: http://llvm.org/bugs/show_bug.cgi?id=2308 llvm-svn: 50976
-
Eli Friedman authored
llvm-svn: 50968
-
Eli Friedman authored
llvm-svn: 50966
-
- May 10, 2008
-
-
Nuno Lopes authored
llvm-svn: 50945
-
Ted Kremenek authored
Rename IsPointerType to LVal::IsLValType, and update CFRefCount::EvalSummary to use IsLValType when conjuring symbols for return values (this fixes a bug with an assertion firing in the analyzer when two qualified objective-c types were compared). llvm-svn: 50924
-
Argyrios Kyrtzidis authored
-identifierResolver exposes an iterator interface to get all decls through the scope chain. -The semantic staff (checking IdentifierNamespace and Doug's checking for shadowed tags were moved out of IdentifierResolver and back into Sema. IdentifierResolver just gives an iterator for all reachable decls of an identifier. llvm-svn: 50923
-
Mon P Wang authored
llvm-svn: 50919
-
- May 09, 2008
-
-
Steve Naroff authored
DO NOT pre-defined __OBJC2__. The __OBJC2__ macro should only be defined when targeting the new, Apple 2.0 *runtime ABI*. It is not intended to be used to #ifdef ObjC 2.0 langauge features. This is unfortunate (given it's name). In a perfect world, this defined would be named __OBJC2_RUNTIME_ABI__. Oh well. llvm-svn: 50913
-
Ted Kremenek authored
llvm-svn: 50906
-