- Dec 04, 2008
-
-
Fariborz Jahanian authored
property attribute mis-specification. llvm-svn: 60562
-
Sebastian Redl authored
llvm-svn: 60557
-
Ted Kremenek authored
Fix bug in attribute(nonnull) processing where not all of the parameter indices in nonnull(...) were actually processed. llvm-svn: 60546
-
Sebastian Redl authored
llvm-svn: 60542
-
- Dec 03, 2008
-
-
Sebastian Redl authored
llvm-svn: 60503
-
Sebastian Redl authored
llvm-svn: 60483
-
- Dec 02, 2008
-
-
Fariborz Jahanian authored
work in prgress. llvm-svn: 60430
-
Sebastian Redl authored
llvm-svn: 60413
-
Fariborz Jahanian authored
a property. Previous scheme of seaching in interface's list of methods would not work because this list is not yet constructed. This is in preparation for doing semantic check on viability of setter/getter method declarations. llvm-svn: 60386
-
- Dec 01, 2008
-
-
Douglas Gregor authored
llvm-svn: 60377
-
Anders Carlsson authored
llvm-svn: 60333
-
Anders Carlsson authored
Add Sema::isNullPointerConstant which extwarns if necessary. Use it in Sema::CheckConditionalOperands. llvm-svn: 60319
-
Anders Carlsson authored
llvm-svn: 60317
-
- Nov 30, 2008
-
-
Anders Carlsson authored
llvm-svn: 60305
-
- Nov 29, 2008
-
-
Douglas Gregor authored
llvm-svn: 60235
-
- Nov 27, 2008
-
-
Douglas Gregor authored
id<P0> The intended overloading behavior of these entities isn't entirely clear, and GCC seems to have some strange limitations (e.g., the inability to overload on id<P0> vs. id<P1>). We'll want to revisit these semantics and determine just how Objective-C++ overloading should really work. llvm-svn: 60142
-
Douglas Gregor authored
llvm-svn: 60140
-
Douglas Gregor authored
llvm-svn: 60138
-
Douglas Gregor authored
Support block pointer conversions in C++. I'm storing the test case locally until we can enable blocks in C++ llvm-svn: 60133
-
Douglas Gregor authored
converting a pointer to one Objective-C interface into a pointer to another Objective-C interface, and conversions with 'id'. The semantics seems to match GCC, although they seem somewhat ad hoc. Fixed a few cases where we assumed the C++ definition of isObjectType, but were getting the C definition, causing failures in trouble with conversions to void pointers. llvm-svn: 60130
-
- Nov 26, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 60115
-
Fariborz Jahanian authored
Implemented anonymous category (also know as continuation class) used to override main class's property attribute. This is work in propgress. llvm-svn: 60114
-
Douglas Gregor authored
llvm-svn: 60096
-
Douglas Gregor authored
llvm-svn: 60094
-
Douglas Gregor authored
llvm-svn: 60093
-
- Nov 24, 2008
-
-
Fariborz Jahanian authored
is imported from a protocol into the implementation. llvm-svn: 59988
-
Sebastian Redl authored
llvm-svn: 59979
-
Chris Lattner authored
instead of converting them to strings first. This also fixes a bunch of minor inconsistencies in the diagnostics emitted by clang and adds a bunch of FIXME's to DiagnosticKinds.def. llvm-svn: 59948
-
Chris Lattner authored
uses of getName() with uses of getDeclName(). This upgrades a bunch of diags to take DeclNames instead of std::strings. This also tweaks a couple of diagnostics to be cleaner and changes CheckInitializerTypes/PerformInitializationByConstructor to pass around DeclarationNames instead of std::strings. llvm-svn: 59947
-
Chris Lattner authored
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
-
Chris Lattner authored
a new NamedDecl::getAsString() method. Change uses of Selector::getName() to just pass in a Selector where possible (e.g. to diagnostics) instead of going through an std::string. This also adds new formatters for objcinstance and objcclass as described in the dox. llvm-svn: 59933
-
Chris Lattner authored
llvm-svn: 59923
-
Chris Lattner authored
llvm-svn: 59922
-
Chris Lattner authored
"previously defined here" diagnostics all notes. llvm-svn: 59920
-
- Nov 23, 2008
-
-
Chris Lattner authored
"definitions", not declarations. Point out the location of the original definition. llvm-svn: 59919
-
Chris Lattner authored
Also, point out where the previous decl was. This unxfails two tests. llvm-svn: 59918
-
Chris Lattner authored
with implicit quotes around them. This has a bunch of follow-on effects and requires tweaking to a whole lot of code. This causes a regression in two tests (xfailed) by causing it to emit things like: Line 10: duplicate interface declaration for category 'MyClass1' ('Category1') instead of: Line 10: duplicate interface declaration for category 'MyClass1(Category1)' I will fix this in a follow-up commit. As part of this, I had to start switching stuff to use ->getDeclName() instead of Decl::getName() for consistency. This is good, but I was planning to do this as an independent patch. There will be several follow-on patches to clean up some of the mess, but this patch is already too big. llvm-svn: 59917
-
Chris Lattner authored
without calling getAsString(). This implicitly puts quotes around the name, so diagnostics need to be tweaked to accommodate this. llvm-svn: 59916
-
Chris Lattner authored
No functionality change. llvm-svn: 59908
-
Chris Lattner authored
diags over to use this. QualTypes implicitly print single quotes around them for uniformity and future extension. Doing this requires a little function pointer dance to prevent libbasic from depending on libast. llvm-svn: 59907
-