- Jul 18, 2011
-
-
Chris Lattner authored
llvm-svn: 135370
-
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
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
-
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
-
Chandler Carruth authored
llvm-svn: 135226
-
Chandler Carruth authored
'expansion'. llvm-svn: 135224
-
Chandler Carruth authored
ARCMigrate. llvm-svn: 135223
-
Richard Trieu authored
Remove warnings of constant operands of logical operators from template instantiations. Upon instantiation of template, value-dependent parameters are replaced by equivalent literals, so code like: template<unsigned int A, unsigned int B> struct S { int foo() { int x = A && B; } } will not warn on A && B on every instantiation. This will still warn on other cases inside templates, which will be caught on checking the template definition. llvm-svn: 135222
-
Ted Kremenek authored
Fix false negative reported in PR 10358 by using 'Unknown' in -Wuninitialized to avoid cascading warnings. Patch by Kaelyn Uhrain. llvm-svn: 135217
-
-
Rafael Espindola authored
Revert "For C++11, do more checking of initializer lists up-front, enabling some subset of the final functionality. C just leaves the function early. C++98 runs through the same code path, but has no changed functionality either." This reverts commit ac420c5053d6aa41d59f782caad9e46e5baaf2c2. llvm-svn: 135210
-
Argyrios Kyrtzidis authored
Keep the error if the result is unused. rdar://9552694. llvm-svn: 135209
-