- May 19, 2009
-
-
Douglas Gregor authored
operator in C++, and verify that template instantiation for the condition operator does the right thing. llvm-svn: 72127
-
Douglas Gregor authored
llvm-svn: 72058
-
- May 17, 2009
-
-
Anders Carlsson authored
llvm-svn: 71989
-
- May 16, 2009
-
-
Sebastian Redl authored
Implement instantiation of a few boring, simple expressions. I don't think these are testable yet, though. llvm-svn: 71953
-
Anders Carlsson authored
llvm-svn: 71907
-
- May 10, 2009
-
-
Sebastian Redl authored
llvm-svn: 71405
-
- May 06, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 71041
-
- May 04, 2009
-
-
Eli Friedman authored
extension warning. llvm-svn: 70805
-
- May 02, 2009
-
-
Douglas Gregor authored
into the left-hand side of an assignment expression. This completes most of PR3500; the only remaining part is to deal with the GCC-specific implementation-defined behavior for "unsigned long" (and other) bit-fields. llvm-svn: 70623
-
- Apr 29, 2009
-
-
Eli Friedman authored
llvm-svn: 70384
-
- Apr 26, 2009
-
-
Eli Friedman authored
llvm-svn: 70145
-
Chris Lattner authored
the missing bits of ObjCMessageExpr. llvm-svn: 70100
-
Eli Friedman authored
any issues now that we have our own tgmath.h. llvm-svn: 70090
-
- Apr 21, 2009
-
-
rdar://6808859Chris Lattner authored
aggregates even though we already accept explicit ones. Easy fix. llvm-svn: 69661
-
- Apr 18, 2009
-
-
Douglas Gregor authored
lazy PCH deserialization. Propagate that argument wherever it needs to be. No functionality change, except that I've tightened up a few PCH tests in preparation. llvm-svn: 69406
-
- Apr 17, 2009
-
-
Douglas Gregor authored
1) Accidentally used delete [] on an array of statements that was allocated with ASTContext's allocator 2) Deserialization of names with multiple declarations (e.g., a struct and a function) used the wrong mangling constant, causing it to view declaration IDs as Decl*s. 403.gcc builds and links properly. llvm-svn: 69390
-
Sebastian Redl authored
Add a few commented lines to the test case that point out things that don't work yet. llvm-svn: 69354
-
- Apr 16, 2009
-
-
rdar://problem/6765383Steve Naroff authored
Fix <rdar://problem/6765383> clang-6: clang does not appear to support declaring a static Block 'const'. llvm-svn: 69306
-
Douglas Gregor authored
llvm-svn: 69251
-
Douglas Gregor authored
llvm-svn: 69244
-
Douglas Gregor authored
llvm-svn: 69240
-
- Apr 15, 2009
-
-
Douglas Gregor authored
llvm-svn: 69186
-
Douglas Gregor authored
llvm-svn: 69172
-
Douglas Gregor authored
anonymous structs or unions. Fixes PR3778. llvm-svn: 69153
-
Daniel Dunbar authored
- Strip off extra parens when looking for casts. - Change the location info to point at the cast (instead of the assignment). For example, on int *b; #define a ((void*) b) void f0() { a = 10; } we now emit: /tmp/t.c:4:3: error: assignment to cast is illegal, lvalue casts are not supported a = 10; ^ ~ /tmp/t.c:2:12: note: instantiated from: #define a ((void*) b) ~^~~~~~~~~~ instead of: /tmp/t.c:4:5: error: expression is not assignable a = 10; ~ ^ llvm-svn: 69114
-
Daniel Dunbar authored
extension. llvm-svn: 69100
-
- Mar 28, 2009
-
-
Douglas Gregor authored
syntax into extension warnings, and provide code-modification hints showing how to fix the problem. llvm-svn: 67885
-
- Mar 23, 2009
-
-
Chris Lattner authored
llvm-svn: 67543
-
Eli Friedman authored
attempting to illegally modify a BlockDeclRefExpr. llvm-svn: 67491
-
- Mar 22, 2009
-
-
Chris Lattner authored
llvm-svn: 67456
-
- Mar 21, 2009
-
-
Douglas Gregor authored
its vectors based on the subobject type we're initializing and the (unstructured) initializer list. This eliminates some malloc thrashing when parsing initializers (from 117 vector reallocations down to 0 when parsing Cocoa.h). We can't always pre-allocate the right amount of storage, since designated initializers can cause us to initialize in non-predictable patterns. llvm-svn: 67421
-
Douglas Gregor authored
llvm-svn: 67417
-
- Mar 17, 2009
-
-
Sebastian Redl authored
Almost complete implementation of rvalue references. One bug, and a few unclear areas. Maybe Doug can shed some light on some of the fixmes. llvm-svn: 67059
-
- Mar 15, 2009
-
-
Anders Carlsson authored
Add the ability to clone integer and string literals. Use it when instantiating template expressions. llvm-svn: 67030
-
- Mar 14, 2009
-
-
Anders Carlsson authored
llvm-svn: 66997
-
Douglas Gregor authored
always, refactored the existing logic to tease apart the parser action and the semantic analysis shared by the parser and template instantiation. llvm-svn: 66987
-
- Mar 13, 2009
-
-
Douglas Gregor authored
instantiation for binary operators. This change moves most of the operator-overloading code from the parser action ActOnBinOp to a new, parser-independent semantic checking routine CreateOverloadedBinOp. Of particular importance is the fact that CreateOverloadedBinOp does *not* perform any name lookup based on the current parsing context (it doesn't take a Scope*), since it has to be usable during template instantiation, when there is no scope information. Rather, it takes a pre-computed set of functions that are visible from the context or via argument-dependent lookup, and adds to that set any member operators and built-in operator candidates. The set of functions is computed in the parser action ActOnBinOp based on the current context (both operator name lookup and argument-dependent lookup). Within a template, the set computed by ActOnBinOp is saved within the type-dependent AST node and is augmented with the results of argument-dependent name lookup at instantiation time (see TemplateExprInstantiator::VisitCXXOperatorCallExpr). Sadly, we can't fully test this yet. I'll follow up with template instantiation for sizeof so that the real fun can begin. llvm-svn: 66923
-
Chris Lattner authored
llvm-svn: 66909
-
- Mar 12, 2009
-
-
Douglas Gregor authored
llvm-svn: 66837
-
- Mar 11, 2009
-
-
Douglas Gregor authored
llvm-svn: 66696
-