- Dec 08, 2008
-
-
Ted Kremenek authored
llvm-svn: 60721
-
-
Chris Lattner authored
This is important because ParseDeclarationOrFunctionDefinition skips to, but does not consume, an } on error. llvm-svn: 60719
-
Steve Naroff authored
Fixes <rdar://problem/6418640> clang on prokit: error: incompatible type returning 'id', expected 'NSSize' llvm-svn: 60716
-
Fariborz Jahanian authored
warning as it is allowed in gcc and will break projects. llvm-svn: 60710
-
Fariborz Jahanian authored
must allow the continuation class to extend it to a 'readwrite' and 'copy/retain'. llvm-svn: 60709
-
Steve Naroff authored
This is a follow-up to fixing <rdar://problem/6213955> clang ObjC rewriter: rewriter doesn't appear to support @property and @synthesize. llvm-svn: 60700
-
Eli Friedman authored
code were working correctly, it would be a no-op, but it's not really a proper fix. That said, I don't really want to touch the enum code at the moment because I don't understand it very well, and this seems to be a relatively visible regression. llvm-svn: 60680
-
- Dec 07, 2008
-
-
Chris Lattner authored
llvm-svn: 60646
-
Anders Carlsson authored
llvm-svn: 60638
-
Fariborz Jahanian authored
via the category's protocol list1s, with appropriate diagnsostics and a test case. llvm-svn: 60634
-
- Dec 06, 2008
-
-
Anders Carlsson authored
llvm-svn: 60631
-
Fariborz Jahanian authored
type mimatches. llvm-svn: 60630
-
Anders Carlsson authored
llvm-svn: 60628
-
Anders Carlsson authored
llvm-svn: 60627
-
Fariborz Jahanian authored
attributes. Example would be, readonly, assign or assign, copy, etc. llvm-svn: 60620
-
Douglas Gregor authored
template<typename T> void f(T x) { g(x); // g is a dependent name, so don't even bother to look it up g(); // error: g is not a dependent name } Note that when we see "g(", we build a CXXDependentNameExpr. However, if none of the call arguments are type-dependent, we will force the resolution of the name "g" and replace the CXXDependentNameExpr with its result. GCC actually produces a nice error message when you make this mistake, and even offers to compile your code with -fpermissive. I'll do the former next, but I don't plan to do the latter. llvm-svn: 60618
-
Douglas Gregor authored
expressions, and value-dependent expressions. This permits us to parse some template definitions. This is not a complete solution; we're missing type- and value-dependent computations for most of the expression types, and we're missing checks for dependent types and type-dependent expressions throughout Sema. llvm-svn: 60615
-
- Dec 05, 2008
-
-
Fariborz Jahanian authored
property. It also checks for duplicate use of the same ivar in two different iproperty implementations. It also caught an error for a test case used in CodeGen :). llvm-svn: 60610
-
Fariborz Jahanian authored
type mismatch (related to my last patch). llvm-svn: 60599
-
Fariborz Jahanian authored
(instance/class) Method type checking between category and its implementation. And a test case for all. llvm-svn: 60598
-
Douglas Gregor authored
parameters, with some semantic analysis: - Template parameters are introduced into template parameter scope - Complain about template parameter shadowing (except in Microsoft mode) Note that we leak template parameter declarations like crazy, a problem we'll remedy once we actually create proper declarations for templates. Next up: dependent types and value-dependent/type-dependent expressions. llvm-svn: 60597
-
-
Anders Carlsson authored
llvm-svn: 60591
-
Anders Carlsson authored
llvm-svn: 60580
-
Fariborz Jahanian authored
methods in class and its implementation. This is work in progress. llvm-svn: 60573
-
Chris Lattner authored
the containing block. Introduce a new getCurFunctionOrMethodDecl method to check to see if we're in a function or objc method. Minor cleanups to other related places. This fixes rdar://6405429. llvm-svn: 60564
-
Chris Lattner authored
specific targets default them to on. Default blocks to on on 10.6 and later. Add a -fblocks option that allows the user to override the target's default. Use -fblocks in the various testcases that use blocks. llvm-svn: 60563
-
- Dec 04, 2008
-
-
Fariborz Jahanian authored
property attribute mis-specification. llvm-svn: 60562
-
Sebastian Redl authored
llvm-svn: 60557
-
Ted Kremenek authored
llvm-svn: 60548
-
Ted Kremenek authored
llvm-svn: 60547
-
Ted Kremenek authored
llvm-svn: 60544
-
Sebastian Redl authored
llvm-svn: 60542
-
Ted Kremenek authored
llvm-svn: 60522
-
Ted Kremenek authored
llvm-svn: 60521
-
- Dec 03, 2008
-
-
Sebastian Redl authored
llvm-svn: 60503
-
Ted Kremenek authored
- Fix nonsensical logic in AssumeSymGE. When comparing 'sym >= constant' and the constant is the maximum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymGT. When comparing 'sym > constant' and constant is the maximum integer value we know the path is infeasible. - Add test case for this enhancement to AssumeSymGT. llvm-svn: 60490
-
Ted Kremenek authored
- Fix nonsensical logic in AssumeSymLE. When comparing 'sym <= constant' and the constant is the minimum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymLT to address <rdar://problem/6407949>. When comparing 'sym < constant' and constant is the minimum integer value we know the path is infeasible. - Add test case for <rdar://problem/6407949>. llvm-svn: 60489
-
Anders Carlsson authored
llvm-svn: 60462
-