| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | PTHLexer now owns the Token vector. | Ted Kremenek | 2008-11-27 | 2 | -23/+18 |
| | | | | | llvm-svn: 60136 | ||||
| * | Support block pointer conversions in C++. I'm storing the test case locally ↵ | Douglas Gregor | 2008-11-27 | 1 | -0/+15 |
| | | | | | | | until we can enable blocks in C++ llvm-svn: 60133 | ||||
| * | Implement implicit conversions for Objective-C specific types, e.g., | Douglas Gregor | 2008-11-26 | 1 | -46/+103 |
| | | | | | | | | | | | | | 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 | ||||
| * | Attempt to unravel the if/else mess in Parser::ParseDirectDeclarator. | Argyrios Kyrtzidis | 2008-11-26 | 1 | -44/+74 |
| | | | | | llvm-svn: 60124 | ||||
| * | Code gen for aggregate-valued properties and a test case. | Fariborz Jahanian | 2008-11-26 | 1 | -4/+7 |
| | | | | | llvm-svn: 60122 | ||||
| * | Add some comments. | Argyrios Kyrtzidis | 2008-11-26 | 2 | -1/+14 |
| | | | | | llvm-svn: 60119 | ||||
| * | Implement some suggestions by Daniel: | Argyrios Kyrtzidis | 2008-11-26 | 4 | -21/+28 |
| | | | | | | | | | -Change Parser::ParseCXXScopeSpecifier to MaybeParseCXXScopeSpecifier -Remove Parser::isTokenCXXScopeSpecifier and fold it into MaybeParseCXXScopeSpecifier -Rename Parser::TryAnnotateScopeToken to TryAnnotateCXXScopeToken and only allow it to be called when in C++ llvm-svn: 60117 | ||||
| * | Removed a FIXME. Added a test case for anonymous category. | Fariborz Jahanian | 2008-11-26 | 1 | -4/+4 |
| | | | | | llvm-svn: 60115 | ||||
| * | Set default property attributes on each property. | Fariborz Jahanian | 2008-11-26 | 3 | -6/+80 |
| | | | | | | | | | Implemented anonymous category (also know as continuation class) used to override main class's property attribute. This is work in propgress. llvm-svn: 60114 | ||||
| * | Convert incomplete array types before emitting debug info for them, fixes ↵ | Anders Carlsson | 2008-11-26 | 1 | -2/+15 |
| | | | | | | | PR3134. llvm-svn: 60109 | ||||
| * | Fix a minor typo in the handling of the conditional operator for Objective-C ↵ | Douglas Gregor | 2008-11-26 | 1 | -1/+1 |
| | | | | | | | interface pointers llvm-svn: 60096 | ||||
| * | Tweak the new ResolveOverloadedCallFn to just return a FunctionDecl. It ↵ | Douglas Gregor | 2008-11-26 | 3 | -22/+22 |
| | | | | | | | makes ActOnCallExpr simpler llvm-svn: 60094 | ||||
| * | Move the overloading logic of Sema::ActOnCallExpr to a separate function | Douglas Gregor | 2008-11-26 | 3 | -30/+56 |
| | | | | | llvm-svn: 60093 | ||||
| * | remove debug-only assertion in the complex float evaluator as it makes some ↵ | Nuno Lopes | 2008-11-26 | 1 | -1/+0 |
| | | | | | | | real apps crash llvm-svn: 60069 | ||||
| * | Only call TryAnnotateScopeToken when parsing C++. | Daniel Dunbar | 2008-11-25 | 1 | -1/+2 |
| | | | | | | | | - This improves -parse-noop of Carbon.h by +2%, and I believe compensates for the majority of the performance regression in r58913. llvm-svn: 60063 | ||||
| * | Handle returning complex types that get coerced. Fixes PR3131 | Anders Carlsson | 2008-11-25 | 1 | -1/+4 |
| | | | | | llvm-svn: 60058 | ||||
| * | Use RAII objects to ensure proper destruction of expression and statement ↵ | Sebastian Redl | 2008-11-25 | 9 | -99/+253 |
| | | | | | | | AST nodes in the parser in most cases, even on error. llvm-svn: 60057 | ||||
| * | Fix 80-col violations. | Daniel Dunbar | 2008-11-25 | 1 | -2/+4 |
| | | | | | llvm-svn: 60051 | ||||
| * | Refactored checking on readonly property into a method. | Fariborz Jahanian | 2008-11-25 | 2 | -18/+27 |
| | | | | | llvm-svn: 60050 | ||||
| * | Patch to allow over-riding of readonly property to | Fariborz Jahanian | 2008-11-25 | 1 | -4/+18 |
| | | | | | | | a writable property in one of its category. llvm-svn: 60035 | ||||
| * | Remove more #ifdeffed code | Anders Carlsson | 2008-11-25 | 1 | -144/+0 |
| | | | | | llvm-svn: 60033 | ||||
| * | Remove the #ifdeffed out code. | Anders Carlsson | 2008-11-25 | 1 | -241/+0 |
| | | | | | llvm-svn: 60032 | ||||
| * | remove unused var | Nuno Lopes | 2008-11-25 | 1 | -1/+0 |
| | | | | | llvm-svn: 60018 | ||||
| * | Simple parsing of exception specifications, with no semantic analysis yet | Douglas Gregor | 2008-11-25 | 2 | -3/+42 |
| | | | | | llvm-svn: 60005 | ||||
| * | Comment fix. | Daniel Dunbar | 2008-11-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 59997 | ||||
| * | Patch to remove bogus waring when a property declaration | Fariborz Jahanian | 2008-11-24 | 1 | -1/+1 |
| | | | | | | | is imported from a protocol into the implementation. llvm-svn: 59988 | ||||
| * | Remove an empty if and add a reminder for when we implement C++ try-catch. | Sebastian Redl | 2008-11-24 | 1 | -4/+1 |
| | | | | | llvm-svn: 59987 | ||||
| * | Fix CFG bug where the 'increment' block for a 'for' statement would not be | Ted Kremenek | 2008-11-24 | 1 | -2/+10 |
| | | | | | | | | | | | properly reversed once constructed. This fixes PR 3125: http://llvm.org/bugs/show_bug.cgi?id=3125 llvm-svn: 59982 | ||||
| * | Remove some bad characters from comment. | Sebastian Redl | 2008-11-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 59979 | ||||
| * | Fix the fix of revision 59974. Now array-struct.c passes too. | Sebastian Redl | 2008-11-24 | 1 | -1/+2 |
| | | | | | llvm-svn: 59975 | ||||
| * | Fix crash of array bounds checking under 64-bit. | Sebastian Redl | 2008-11-24 | 2 | -5/+14 |
| | | | | | | | There might be other, similar bugs lurking there. llvm-svn: 59974 | ||||
| * | Remove FIXME comment. | Ted Kremenek | 2008-11-24 | 1 | -1/+0 |
| | | | | | llvm-svn: 59973 | ||||
| * | Add support for AllocaRegion extent with GDM. | Zhongxing Xu | 2008-11-24 | 2 | -5/+63 |
| | | | | | | | | | | | | | One design problem that is emerging is the signed-ness problem during static analysis. Many unsigned value have to be converted into signed value because it partipates in operations with signed values. On the other hand, we cannot blindly make all values occuring in static analysis signed, because we do have cases where unsignedness is required, for example, integer overflow detection. llvm-svn: 59957 | ||||
| * | Add utility methods. | Zhongxing Xu | 2008-11-24 | 1 | -0/+9 |
| | | | | | llvm-svn: 59956 | ||||
| * | Cleanup code with utility method. | Zhongxing Xu | 2008-11-24 | 1 | -2/+2 |
| | | | | | llvm-svn: 59951 | ||||
| * | Change a whole lot of diagnostics to take QualType's directly | Chris Lattner | 2008-11-24 | 13 | -164/+121 |
| | | | | | | | | | 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 | ||||
| * | Rename NamedDecl::getName() to getNameAsString(). Replace a bunch of | Chris Lattner | 2008-11-24 | 21 | -137/+131 |
| | | | | | | | | | | | | 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 | ||||
| * | Reimplement Expr::isConstantExpr in terms of Expr::Evaluate. This fixes PR2832. | Anders Carlsson | 2008-11-24 | 1 | -0/+25 |
| | | | | | llvm-svn: 59946 | ||||
| * | Strings are NULL terminated. So the region size should plus one. | Zhongxing Xu | 2008-11-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 59943 | ||||
| * | The address of a variable is only constant if the variable has global storage. | Anders Carlsson | 2008-11-24 | 1 | -1/+9 |
| | | | | | llvm-svn: 59939 | ||||
| * | Fix bug in the constant evaluator. Fixes PR3115. | Anders Carlsson | 2008-11-24 | 1 | -33/+33 |
| | | | | | llvm-svn: 59938 | ||||
| * | Migrate some stuff from NamedDecl::getName() to | Chris Lattner | 2008-11-24 | 8 | -28/+28 |
| | | | | | | | NamedDecl::getNameAsString() to make it more explicit. llvm-svn: 59937 | ||||
| * | Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it | Chris Lattner | 2008-11-24 | 9 | -47/+45 |
| | | | | | | | | | | 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 | ||||
| * | simplify this code. | Chris Lattner | 2008-11-24 | 1 | -1/+2 |
| | | | | | llvm-svn: 59935 | ||||
| * | Rename Selector::getName() to Selector::getAsString(), and add | Chris Lattner | 2008-11-24 | 16 | -64/+72 |
| | | | | | | | | | | | | | | 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 | ||||
| * | Add a comment about the signedness. | Zhongxing Xu | 2008-11-24 | 1 | -0/+2 |
| | | | | | llvm-svn: 59932 | ||||
| * | Add getSize() support for StringRegion. | Zhongxing Xu | 2008-11-24 | 2 | -3/+7 |
| | | | | | llvm-svn: 59930 | ||||
| * | convert some more warnings to NOTEs. | Chris Lattner | 2008-11-23 | 1 | -2/+2 |
| | | | | | llvm-svn: 59923 | ||||
| * | remove warn_previous_declaration | Chris Lattner | 2008-11-23 | 1 | -7/+4 |
| | | | | | llvm-svn: 59922 | ||||
| * | make the 'to match this' diagnostic a note. | Chris Lattner | 2008-11-23 | 5 | -7/+7 |
| | | | | | llvm-svn: 59921 | ||||

