- Jul 18, 2011
-
-
Chris Lattner authored
ShadowMapEntry was. llvm-svn: 135368
-
- Jul 17, 2011
-
-
Chandler Carruth authored
patch, we actually move the state-machine for the value set backwards one step. This can pretty easily lead to infinite loops where we continually try to propagate a bit, succeed for one iteration, but then back up because we find an uninitialized use. A reduced test case from PR10379 is included. llvm-svn: 135359
-
- Jul 16, 2011
-
-
Francois Pichet authored
Fixes PR9875, patch by Nikola Smiljanic! llvm-svn: 135356
-
Benjamin Kramer authored
Zero this struct in a way that neither depends on the size of the struct nor triggers warnings from GCC. llvm-svn: 135351
-
Ted Kremenek authored
[analyzer] Per discussions with the Cocoa team, extend CF naming conventions to extend to camel case functions instead of just title case functions. Fixes <rdar://problem/9732321>. llvm-svn: 135350
-
Ted Kremenek authored
[analyzer] Place checking for Core Foundation "Create" rule into a proper API. No functionality change. llvm-svn: 135349
-
Fariborz Jahanian authored
llvm-svn: 135348
-
Joerg Sonnenberger authored
more happy on NetBSD. llvm-svn: 135344
-
Fariborz Jahanian authored
llvm-svn: 135328
-
Argyrios Kyrtzidis authored
[arcmt] It's not safe to remove the -release on "[[someivar delegate] release];" since it's very likely that, after migration, the object that was passed to 'setDelegate:' will not be properly retained, e.g: -whatever { id x = [[MyDoHicky alloc] init]; [someivar setDelegate: x]; // x won't get retained in ARC. } -dealloc { [[someivar delegate] release]; // give migration error here. } rdar://8858009 llvm-svn: 135327
-
Tanya Lattner authored
Test cases provided by Anton Lokhmot. llvm-svn: 135322
-
Jordy Rose authored
llvm-svn: 135317
-
Argyrios Kyrtzidis authored
llvm-svn: 135316
-
Argyrios Kyrtzidis authored
llvm-svn: 135314
-
Jordy Rose authored
Add tests for CFRefReport's path notes, and fix a few typos and non-standard terminology ('+0 retain counts') caught by the tests. llvm-svn: 135310
-
Argyrios Kyrtzidis authored
llvm-svn: 135309
-
- Jul 15, 2011
-
-
Chad Rosier authored
conflicts with a to be produced temp filename. rdar://9724657 llvm-svn: 135308
-
Douglas Gregor authored
to allow clients to specify that they've already (correctly) loaded declarations, and that no further action is needed. Also, make sure that we clear the "has external lexical declarations" bit before calling FindExternalLexicalDecls(), to avoid infinite recursion. llvm-svn: 135306
-
-
Argyrios Kyrtzidis authored
id x = ... @try { ... } @finally { [x release]; } Migrator will drop the release. It's better to change it to "x = 0" in a @finally to avoid leak when exception is thrown. rdar://9398256 llvm-svn: 135301
-
Douglas Gregor authored
llvm-svn: 135300
-
Jordy Rose authored
llvm-svn: 135294
-
Joerg Sonnenberger authored
llvm-svn: 135285
-
Jeffrey Yasskin authored
convertToInt(integerParts*) and make them more reliable. llvm-svn: 135279
-
Douglas Gregor authored
llvm-svn: 135275
-
Douglas Gregor authored
attributes. Fixes <rdar://problem/9561076>. llvm-svn: 135273
-
Jay Foad authored
llvm-svn: 135265
-
John McCall authored
which is required given the current setup for template argument deduction substitution validation, and add a test case to make sure we don't break it in the future. llvm-svn: 135262
-
Chandler Carruth authored
the exception of its uses of SourceManager and SourceLocation APIs. llvm-svn: 135260
-
John McCall authored
Also add the missing serialization support for SEHTryStmt, SEHFinallyStmt, and SEHExceptStmt, and fix and finish the serialization support for AsTypeExpr. In addition, change the code so that it will no longer link if a Stmt subclass is missing serialization support. llvm-svn: 135258
-
John McCall authored
is right --- shouldn't there be a TypeLoc in here somewhere? --- but at least it doesn't have a redundant QualType and a broken children() method. Noticed this while doing things in serialization. llvm-svn: 135257
-
Chris Lattner authored
to prevent recursive compilation problems. This fixes a failure of CodeGen/decl.c on x86-32 targets that don't fill in the coerce-to type. llvm-svn: 135256
-
Jordy Rose authored
Clean up UnixAPIChecker, including switching its array of BugTypes to llvm::OwningPtr<BugType> vars (the new convention). No functionality change. llvm-svn: 135255
-
Jordy Rose authored
Clean up MacOSXAPIChecker, including switching its array of BugTypes to a single llvm::OwningPtr<BugType> (the new convention). No functionality change. llvm-svn: 135250
-
Chris Lattner authored
types. Fore xample, we used to lower: struct bar { int a; }; struct foo { void (*FP)(struct bar); } G; to: %struct.foo = type { {}* } since the function pointer would cause recursive translation of bar and we didn't know if that would get us into trouble. We are now smart enough to know that it is fine, so we get this type instead: %struct.foo = type { void (i32)* } Codegen still needs to be prepared for uncooperative types at any place, which is why I let the maximally uncooperative code sit around for awhile to help shake out the bugs. llvm-svn: 135244
-
John McCall authored
to represent a fully-substituted non-type template parameter. This should improve source fidelity, as well as being generically useful for diagnostics and such. llvm-svn: 135243
-
Ted Kremenek authored
llvm-svn: 135241
-
Chandler Carruth authored
llvm-svn: 135226
-
Chandler Carruth authored
llvm-svn: 135225
-
Chandler Carruth authored
'expansion'. llvm-svn: 135224
-