- Jan 29, 2009
-
-
Douglas Gregor authored
llvm-svn: 63262
-
Douglas Gregor authored
llvm-svn: 63261
-
Dale Johannesen authored
functions. Currently omitted: memcpy, memmove, memset. llvm-svn: 63259
-
Douglas Gregor authored
llvm-svn: 63258
-
Douglas Gregor authored
Eliminate infinite looping in a wacky case with designated initializers. Simplifies (somewhat) the actually checking of the initializer expression following the designators llvm-svn: 63257
-
Steve Naroff authored
The previous interface was very confusing. This is much more explicit, which will be easier to understand/optimize/convert. The plan is to eventually deprecate both of these functions. For now, I'm focused on performance. llvm-svn: 63256
-
Evan Cheng authored
llvm-svn: 63255
-
Douglas Gregor authored
llvm-svn: 63254
-
Douglas Gregor authored
initializers. - We now initialize unions properly when a member other than the first is named by a designated initializer. - We now provide proper semantic analysis and code generation for GNU array-range designators *except* that side effects will occur more than once. We warn about this. llvm-svn: 63253
-
Mon P Wang authored
llvm-svn: 63252
-
- Jan 28, 2009
-
-
Fariborz Jahanian authored
of class's meta-data (related to objc2 nonfragile abi). llvm-svn: 63251
-
Ted Kremenek authored
llvm-svn: 63250
-
Ted Kremenek authored
llvm-svn: 63249
-
Daniel Dunbar authored
- Merged into single ComplexEvaluator, these share too much logic to be worth splitting for float/int (IMHO). Will split on request. llvm-svn: 63248
-
Bill Wendling authored
llvm-svn: 63247
-
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
-