- Dec 21, 2008
-
-
Douglas Gregor authored
which can refer to static data members, enumerators, and member functions as well as to non-static data members. Implement correct lvalue computation for member references in C++. Compute the result type of non-static data members of reference type properly. llvm-svn: 61294
-
Fariborz Jahanian authored
using it in ObjC's method parameter encoding. llvm-svn: 61293
-
Eli Friedman authored
warning by using an unsigned index. llvm-svn: 61292
-
Eli Friedman authored
simple test that actually does VLA codegen. Note that despite the fact that the alloca isn't in the entry block, it should dominate all uses; this is guaranteed by the restrictions on goto into VLA scope in C99. llvm-svn: 61291
-
- Dec 20, 2008
-
-
Anders Carlsson authored
llvm-svn: 61290
-
Anders Carlsson authored
Check the entire StackSaveValues stack for VLAs when dealing with goto and return statements. Noticed by Eli Friedman. llvm-svn: 61289
-
Anders Carlsson authored
llvm-svn: 61288
-
Fariborz Jahanian authored
llvm-svn: 61287
-
Fariborz Jahanian authored
keep track of the original parameter decl. types. This is work in progress. llvm-svn: 61286
-
Anders Carlsson authored
Emit the size even if the declared type is a variably modified type. This lets us handle void f(int n) { int (*a)[n]; printf("size: %d\n", sizeof(*a)); } llvm-svn: 61285
-
Anders Carlsson authored
llvm-svn: 61284
-
Anders Carlsson authored
llvm-svn: 61283
-
Fariborz Jahanian authored
full encoding of the class which has an ivar of pointer to this class. Its name is encoded in the type for the ivar in the ivar-list metadata. This patch conforms to the above rule. llvm-svn: 61282
-
Sebastian Redl authored
llvm-svn: 61275
-
Zhongxing Xu authored
* Now Bind() methods take and return GRState* because binding could also alter GDM. * No variables are initialized except those declared with initial values. * failed C test cases are due to bugs in RemoveDeadBindings(), which removes constraints that is still alive. This will be fixed in later patch. * default value of array and struct regions will be implemented in later patch. llvm-svn: 61274
-
rdar://problem/6454568Ted Kremenek authored
Fix <rdar://problem/6454568>: BugReporter should correctly handle switch statements with no default case. llvm-svn: 61270
-
Fariborz Jahanian authored
@encode of classes and bitfields. llvm-svn: 61268
-
- Dec 19, 2008
-
-
Anders Carlsson authored
llvm-svn: 61260
-
-
Douglas Gregor authored
warning. This matches GCC's behavior and addresses <rdar://problem/6458293>. llvm-svn: 61246
-
Anders Carlsson authored
llvm-svn: 61245
-
Fariborz Jahanian authored
llvm-svn: 61231
-
Douglas Gregor authored
llvm-svn: 61229
-
Ted Kremenek authored
Fix regression when invalidating reference-counts for objects passed-by-reference to a function/method. llvm-svn: 61224
-
- Dec 18, 2008
-
-
Steve Naroff authored
llvm-svn: 61223
-
Douglas Gregor authored
llvm-svn: 61212
-
Douglas Gregor authored
become useful or correct until we (1) parse template arguments correctly, (2) have some way to turn template-ids into types, declarators, etc., and (3) have a real representation of templates. llvm-svn: 61208
-
Ted Kremenek authored
llvm-svn: 61205
-
Fariborz Jahanian authored
code gen which did not belong there. llvm-svn: 61203
-
-
Chris Lattner authored
array size declarators. No need to go through all the trouble of parsing crazy things like [static const 4] when most code doesn't need it. llvm-svn: 61200
-
Chris Lattner authored
these completely ignore parsed attributes anyway, so don't try to read them. llvm-svn: 61198
-
Chris Lattner authored
emit duplicate diags (some in parser and some in sema) and to warn about use of typequals in array sizes. This implements PR2759. llvm-svn: 61197
-
Daniel Dunbar authored
- Update comment to reflect fact that StructRet is now supported for any type (modulo LLVM support). - No functionality change, no scalar types currently use this feature. llvm-svn: 61192
-
Chris Lattner authored
void foo() { return foo(); } llvm-svn: 61188
-
Chris Lattner authored
Fix PR2790 by making a warning an EXTWARN instead of EXTENSION. Add a new EXTENSION warning for "return (some void expression);" llvm-svn: 61187
-
Chris Lattner authored
llvm-svn: 61180
-
Ted Kremenek authored
Rewrite PTHLexer::DiscardToEndOfLine() to not use GetToken and instead only read the bytes needed to determine if a token is not at the start of the line. llvm-svn: 61172
-
Nuno Lopes authored
llvm-svn: 61171
-
Ted Kremenek authored
Change PTHLexer::getSourceLocation() to not call GetToken() and instead just read the file offset in the token data buffer directly. llvm-svn: 61170
-