- Feb 21, 2009
-
-
Nick Lewycky authored
llvm-svn: 65249
-
Steve Naroff authored
This is necessary 'plumbing' to fix <rdar://problem/6497631> Message lookup is sometimes different than gcc's. llvm-svn: 65248
-
Daniel Dunbar authored
<prefix>/Headers, gross). llvm-svn: 65247
-
Nick Lewycky authored
load(bitcast(char[4] to i32*)) evaluation. llvm-svn: 65246
-
Daniel Dunbar authored
value/definition/origin of FOO. llvm-svn: 65245
-
Steve Naroff authored
Found while researching <rdar://problem/6497631> Message lookup is sometimes different than gcc's. Will never be seen in user code. Needed to pass dejagnu testsuite. llvm-svn: 65244
-
Mike Stump authored
llvm-svn: 65243
-
Mike Stump authored
stuff is mostly done. Move BlockHasCopyDispose up. llvm-svn: 65242
-
Steve Naroff authored
llvm-svn: 65241
-
Fariborz Jahanian authored
variable (objc2 gc specific). llvm-svn: 65240
-
Richard Pennington authored
llvm-svn: 65239
-
Fariborz Jahanian authored
as __weak (objc2 gc specific). llvm-svn: 65238
-
Ted Kremenek authored
llvm-svn: 65237
-
Ted Kremenek authored
Add version of StringsEqualNoCase that takes two null-terminated C-strings and compares up to 'len' characters. I tend to screw up string comparison functions, so anyone who is interested please review this\! llvm-svn: 65236
-
Fariborz Jahanian authored
llvm-svn: 65235
-
Daniel Dunbar authored
expr; hilarity ensued. - PR3640. llvm-svn: 65234
-
Cedric Venet authored
Should clang have a config.h or should we use the config.h of llvm or using the preprocessor is OK? I did a quick fix here, but having a guideline on how to handle non portable function would be great (or ask ted to stop breaking the windows build :)). llvm-svn: 65233
-
Steve Naroff authored
Add test case to record a couple inconsistencies with GCC (found in <rdar://problem/6561076> [clang on Xcode] warning: cannot find protocol definition for 'OzzyP'). Removing the "cannot find protocol" warning is trivial if necessary (but I don't think it's the right thing to do). llvm-svn: 65232
-
Steve Naroff authored
This fixes <rdar://problem/6497650> More type mismatches issues with clang. Move two key ObjC typechecks from Sema::CheckPointerTypesForAssignment() to ASTContext::mergeTypes(). This allows us to take advantage of the recursion in ASTContext::mergeTypes(), removing some bogus warnings. This test case I've added includes an example where we still warn (and GCC doesn't). Need to talk with folks and decide what to do. At this point, the major bogosities should be fixed. llvm-svn: 65231
-
Anton Korobeynikov authored
Now we're using one gross, but quite robust hack :) (previous ones did not work, for example, when ext_weak symbol was used deep inside constant expression in the initializer). The proper fix of this problem will require some quite huge asmprinter changes and that's why was postponed. This fixes PR3629 by the way :) llvm-svn: 65230
-
Nick Lewycky authored
llvm-svn: 65229
-
Evan Cheng authored
llvm-svn: 65228
-
Ted Kremenek authored
llvm-svn: 65227
-
Ted Kremenek authored
handle method names that contain 'new', 'copy', etc., but those words might be the substring of larger words such as 'newsgroup' and 'photocopy' that do not indicate the allocation of objects. This should address the issues discussed in <rdar://problem/6552389>. llvm-svn: 65224
-
Ted Kremenek authored
llvm-svn: 65223
-
Ted Kremenek authored
Only create a preprocessed file for an ignored attribute if there currently does not exist an 'attribute_ignored_XXX.txt' file for that attribute. llvm-svn: 65222
-
Evan Cheng authored
If two-address def is dead and the instruction does not define other registers, and it doesn't produce side effects, just delete the instruction. llvm-svn: 65218
-
Evan Cheng authored
Teach LSR sink to sink the immediate portion of the common expression back into uses if they fit in address modes of all the uses. llvm-svn: 65215
-
Bill Wendling authored
llvm-svn: 65213
-
Gabor Greif authored
llvm-svn: 65212
-
Bill Wendling authored
llvm-svn: 65211
-
Eli Friedman authored
pointer types. llvm-svn: 65210
-
Chris Lattner authored
as legality. Make load sinking and gep sinking more careful: we only do it when it won't pessimize loads from the stack. This has the added benefit of not producing code that is unanalyzable to SROA. llvm-svn: 65209
-
Eli Friedman authored
llvm-svn: 65208
-
Bill Wendling authored
llvm-svn: 65207
-
Bill Wendling authored
prologue/epilogue. llvm-svn: 65206
-
Fariborz Jahanian authored
type. llvm-svn: 65205
-
Daniel Dunbar authored
- PR3629. llvm-svn: 65203
-
Misha Brukman authored
* Linters now return their information instead of printing it, to enable easier unittesting * Added support for finding tabs in files, added to C++ linter llvm-svn: 65202
-
Dan Gohman authored
that checks whether it's safe to transform a store of a bitcast value into a store of the original value. llvm-svn: 65201
-