- Jan 28, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 63246
-
Bill Wendling authored
llvm-svn: 63245
-
Dan Gohman authored
llvm-svn: 63244
-
Ted Kremenek authored
llvm-svn: 63243
-
Douglas Gregor authored
The approach I've taken in this patch is relatively straightforward, although the code itself is non-trivial. Essentially, as we process an initializer list we build up a fully-explicit representation of the initializer list, where each of the subobject initializations occurs in order. Designators serve to "fill in" subobject initializations in a non-linear way. The fully-explicit representation makes initializer lists (both with and without designators) easy to grok for codegen and later semantic analyses. We keep the syntactic form of the initializer list linked into the AST for those clients interested in exactly what the user wrote. Known limitations: - Designating a member of a union that isn't the first member may result in bogus initialization (we warn about this) - GNU array-range designators are not supported (we warn about this) llvm-svn: 63242
-
Ted Kremenek authored
retain/release checker: Always generate an "autorelease" summary for an "autorelease" message, and have the summary processing logic treat it as a no-op in GC mode. This change is motivated to encode more of the semantics in the summaries themselves for eventual better diagnostics. llvm-svn: 63241
-
Dan Gohman authored
accessed via SDNode::getNode. llvm-svn: 63240
-
Dan Gohman authored
llvm-svn: 63239
-
Daniel Dunbar authored
llvm-svn: 63238
-
Ted Kremenek authored
llvm-svn: 63237
-
Dale Johannesen authored
classes (those that reasonably have a DebugLoc associated with them). llvm-svn: 63236
-
Dan Gohman authored
llvm-svn: 63234
-
Devang Patel authored
Do not forget to derived type while constructing an array type. llvm-svn: 63233
-
Ted Kremenek authored
llvm-svn: 63232
-
Ted Kremenek authored
Enhance PTHManager::Create() to take an optional Diagnostic* argument that can be used to report issues such as a missing PTH file. llvm-svn: 63231
-
Ted Kremenek authored
Fix TextDiagnosticPrinter::HandleDiagnostic to handle invalid FullSourceLocs that do not have a SourceManager. llvm-svn: 63230
-
Ted Kremenek authored
llvm-svn: 63229
-
Ted Kremenek authored
llvm-svn: 63228
-
Chris Lattner authored
after the others. llvm-svn: 63227
-
Steve Naroff authored
Since it doesn't return a bool, is shouldn't be prefixed with 'is'. llvm-svn: 63226
-
Daniel Dunbar authored
llvm-svn: 63223
-
Chris Lattner authored
llvm-svn: 63222
-
Daniel Dunbar authored
shared with clang eventually. llvm-svn: 63220
-
Steve Naroff authored
This removes ~10% of the calls to Sema::isTypeName(), which amount to a little less than a 1% reduction in usertime (for Cocoa.h). llvm-svn: 63219
-
Fariborz Jahanian authored
llvm-svn: 63218
-
Mon P Wang authored
llvm-svn: 63217
-
Sebastian Redl authored
Fix a stupid mistake in UnwrapSimilarPointers that made any two member pointers compatible as long as the pointee was the same. Make a few style corrections as suggested by Chris. llvm-svn: 63215
-
Dan Gohman authored
llvm-svn: 63214
-
Chris Lattner authored
Patch by Piotr Rak! llvm-svn: 63213
-
Dan Gohman authored
new isOperationLegalOrCustom, which does what isOperationLegal previously did. Update a bunch of callers to use isOperationLegalOrCustom instead of isOperationLegal. In some case it wasn't obvious which behavior is desired; when in doubt I changed then to isOperationLegalOrCustom as that preserves their previous behavior. This is for the second half of PR3376. llvm-svn: 63212
-
Douglas Gregor authored
rules are slightly different than in C, and now we handle both dialects properly. llvm-svn: 63211
-
Steve Naroff authored
Even though Sema::LookupDecl() is deprecated, it's still used all over the place. Simplifying the interface will make it easier to understand/optimize/convert. llvm-svn: 63210
-
Steve Naroff authored
Even though Sema::LookupDecl() is deprecated, it's still used all over the place. Simplifying the interface will make it easier to understand/optimize/convert. llvm-svn: 63208
-
Ted Kremenek authored
llvm-svn: 63200
-
Duncan Sands authored
llvm-svn: 63199
-
Duncan Sands authored
llvm-svn: 63198
-
Duncan Sands authored
deleting the escape analysis pass. llvm-svn: 63197
-
Evan Cheng authored
The memory alignment requirement on some of the mov{h|l}p{d|s} patterns are 16-byte. That is overly strict. These instructions read / write f64 memory locations without alignment requirement. llvm-svn: 63195
-
Mon P Wang authored
llvm-svn: 63194
-
Mon P Wang authored
llvm-svn: 63193
-