| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix for PR5714: make sure globals that will be modified aren't marked const. | Eli Friedman | 2009-12-11 | 1 | -0/+10 |
| | | | | | llvm-svn: 91156 | ||||
| * | Reorganize testcase. | John McCall | 2009-12-11 | 1 | -61/+52 |
| | | | | | llvm-svn: 91153 | ||||
| * | Fix linkage of type info and vtable for classes without linkage. | Eli Friedman | 2009-12-11 | 1 | -0/+8 |
| | | | | | llvm-svn: 91152 | ||||
| * | Make sure mangling doesn't crash in another case. Add some more tests. | Eli Friedman | 2009-12-11 | 2 | -8/+39 |
| | | | | | llvm-svn: 91149 | ||||
| * | Don't enter a new scope for a namespace-qualified declarator unless we're | John McCall | 2009-12-11 | 1 | -0/+11 |
| | | | | | | | | in a file context. In well-formed code, only happens with friend functions. Fixes PR 5760. llvm-svn: 91146 | ||||
| * | Add a function's cv-qualifiers to the code-completion results as an | Douglas Gregor | 2009-12-11 | 1 | -2/+2 |
| | | | | | | | informative chunk. llvm-svn: 91139 | ||||
| * | Teach code completion to instantiate templates when it needs to | Douglas Gregor | 2009-12-11 | 1 | -5/+17 |
| | | | | | llvm-svn: 91138 | ||||
| * | Member function templates can occur after . or -> | Douglas Gregor | 2009-12-11 | 1 | -3/+12 |
| | | | | | llvm-svn: 91137 | ||||
| * | Fix for PR5706: let mangleName deal with mangling names without identifiers | Eli Friedman | 2009-12-11 | 1 | -0/+8 |
| | | | | | | | correctly. llvm-svn: 91136 | ||||
| * | Tweak code-completion results by suppressing class template | Douglas Gregor | 2009-12-11 | 2 | -5/+4 |
| | | | | | | | | | | specializations and class template partial specializations (they're never named directly). Also, member access expressions only refer to value declarations (fields, functions, enumerators, etc.) and Objective-C property declarations; filter out everything else. llvm-svn: 91133 | ||||
| * | XFAIL this for now, fixing linkage bugs causes the order of globals to ↵ | Anders Carlsson | 2009-12-11 | 1 | -0/+1 |
| | | | | | | | change. Will fix later today. llvm-svn: 91130 | ||||
| * | Use GetAddrOfRTTI when getting the RTTI pointer for a base class. | Anders Carlsson | 2009-12-11 | 1 | -0/+16 |
| | | | | | llvm-svn: 91127 | ||||
| * | Class template (partial) specializations should not show up in code ↵ | Douglas Gregor | 2009-12-11 | 1 | -3/+3 |
| | | | | | | | completion results llvm-svn: 91125 | ||||
| * | Move the code for converting a member pointer to a bool so that it is usable | Eli Friedman | 2009-12-11 | 1 | -0/+15 |
| | | | | | | | for logical not. llvm-svn: 91112 | ||||
| * | Fix for PR5718: implement equality comparisons for member function pointers. | Eli Friedman | 2009-12-11 | 1 | -0/+8 |
| | | | | | llvm-svn: 91108 | ||||
| * | Enhance understanding of VarRegions referenced by a block whose declarations ↵ | Ted Kremenek | 2009-12-11 | 1 | -2/+37 |
| | | | | | | | are outside the current stack frame. Fixes <rdar://problem/7462324>. llvm-svn: 91107 | ||||
| * | Test member template using hiding. | John McCall | 2009-12-11 | 1 | -2/+45 |
| | | | | | llvm-svn: 91099 | ||||
| * | Improve linkage of RTTI data structures. Introduce ↵ | Anders Carlsson | 2009-12-11 | 3 | -10/+13 |
| | | | | | | | CodeGenModule::GetAddrOfRTTI which figures out the right linkage of the RTTI information for the given type and whether it should be defined or not. I will migrate clients over to GetAddrOfRTTI in subsequent commits (with tests). llvm-svn: 91098 | ||||
| * | Fix a recent regression from the initialization changes. | Eli Friedman | 2009-12-11 | 1 | -0/+9 |
| | | | | | llvm-svn: 91097 | ||||
| * | Check if the target of a using decl is already declared in this scope before | John McCall | 2009-12-11 | 1 | -0/+14 |
| | | | | | | | | doing any of the other redeclaration checks. We were missing a few cases. Fixes PR 5752. llvm-svn: 91096 | ||||
| * | Implement access declarations. Most of the work here is parsing them, which | John McCall | 2009-12-11 | 1 | -0/+199 |
| | | | | | | | | | | | | | is difficult because they're so terribly, terribly ambiguous. We implement access declarations in terms of using declarations, which is quite reasonable. However, we should really persist the access/using distinction in the AST and use the appropriate name in diagnostics. This isn't a priority, so I'll just file a PR and hope someone else does it. :) llvm-svn: 91095 | ||||
| * | Give the "cannot pass object of non-POD type 'class C' through variadic ↵ | Chris Lattner | 2009-12-11 | 3 | -7/+7 |
| | | | | | | | constructor; call will abort at runtime" warning a -W flag (non-pod-varargs) and default it being an error by default. There is no good reason to allow users to get bitten by this sort of thing by default. llvm-svn: 91094 | ||||
| * | Fix the handling of dependent enums per C++ DR 502. | Eli Friedman | 2009-12-11 | 1 | -0/+9 |
| | | | | | llvm-svn: 91089 | ||||
| * | When an exception needs to be freed by calling __cxa_exception_free, make ↵ | Anders Carlsson | 2009-12-11 | 2 | -0/+24 |
| | | | | | | | | | sure to stash away the exception pointer somewhere. This fixes an "Instruction does not dominate all uses!" verification error when compiling TableGen. llvm-svn: 91084 | ||||
| * | Remove this test for now, it is flaky. | Daniel Dunbar | 2009-12-11 | 1 | -15/+0 |
| | | | | | llvm-svn: 91083 | ||||
| * | Patch to fix a crash trying to access a category name in | Fariborz Jahanian | 2009-12-11 | 2 | -1/+10 |
| | | | | | | | | objective-c++ mode and also removed dead-code in this area. (fixes radar 7456710). llvm-svn: 91081 | ||||
| * | Testcase for recent checkin. | Mike Stump | 2009-12-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 91080 | ||||
| * | Don't complain about falling off the end of a function with an asm | Mike Stump | 2009-12-10 | 1 | -0/+4 |
| | | | | | | | | block, if the function is supposed to return a value as we don't know exactly what the asm code does. llvm-svn: 91073 | ||||
| * | Support unary type traits in a scalar context. Not that I've actually seen | Eli Friedman | 2009-12-10 | 1 | -0/+3 |
| | | | | | | | this construct, but might as well for completeness. llvm-svn: 91071 | ||||
| * | Clean up enum constants so that they're finally sane. Fixes PR3173 and a | Eli Friedman | 2009-12-10 | 1 | -0/+4 |
| | | | | | | | recently introduced crash. llvm-svn: 91070 | ||||
| * | Make sure that explicitly instantiated functions get the right linkage. | Anders Carlsson | 2009-12-10 | 1 | -0/+24 |
| | | | | | llvm-svn: 91069 | ||||
| * | Actually try to trigger the last diagnostic in the declaration-collision ↵ | John McCall | 2009-12-10 | 1 | -4/+9 |
| | | | | | | | | | | test case. Surprisingly, we *do* diagnose one of them. Since we don't really track scopes into instantiation, this has to signal some kind of bug. llvm-svn: 91063 | ||||
| * | No need to add -x objecitve-c++ | Fariborz Jahanian | 2009-12-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 91060 | ||||
| * | Add support for finding composite type of twp objective-c pointers | Fariborz Jahanian | 2009-12-10 | 1 | -0/+67 |
| | | | | | | | in objective-c++ mode. llvm-svn: 91059 | ||||
| * | Improve the diagnostic when a new declaration conflicts with a using shadow | John McCall | 2009-12-10 | 1 | -0/+89 |
| | | | | | | | | | declaration. Rename note_using_decl to note_using, which is possibly less confusing. Add a test for non-class-scope using decl collisions and be sure to note the case we can't diagnose yet. llvm-svn: 91057 | ||||
| * | Implement C++ DR437, which involves exception-specifications that name | Douglas Gregor | 2009-12-10 | 1 | -2/+15 |
| | | | | | | | a type currently being defined, from Nicola Gigante! llvm-svn: 91052 | ||||
| * | Move initialization via initializer list over to InitializationSequences. | Douglas Gregor | 2009-12-10 | 1 | -0/+5 |
| | | | | | llvm-svn: 91050 | ||||
| * | Implement redeclaration checking and hiding semantics for using ↵ | John McCall | 2009-12-10 | 3 | -0/+190 |
| | | | | | | | | | | | | declarations. There are a couple of O(n^2) operations in this, some analogous to the usual O(n^2) redeclaration problem and some not. In particular, retroactively removing shadow declarations when they're hidden by later decls is pretty unfortunate. I'm not yet convinced it's worse than the alternative, though. llvm-svn: 91045 | ||||
| * | Fix for PR5515: allow "merging" array bounds both forwards and backwards. | Eli Friedman | 2009-12-10 | 1 | -0/+9 |
| | | | | | llvm-svn: 91044 | ||||
| * | Test for r90950. | Eli Friedman | 2009-12-10 | 1 | -0/+7 |
| | | | | | llvm-svn: 91043 | ||||
| * | Mangle static variables inside Objective-C methods in Objective-C++. We ↵ | Anders Carlsson | 2009-12-10 | 1 | -0/+32 |
| | | | | | | | currently mangle them the same way as gcc does. llvm-svn: 91042 | ||||
| * | If we enter parens, colons can become un-sacred, allowing us to emit | Chris Lattner | 2009-12-10 | 1 | -1/+7 |
| | | | | | | | a better diagnostic in the second example. llvm-svn: 91040 | ||||
| * | fix a more evil case of : / :: confusion arising in ?:. | Chris Lattner | 2009-12-10 | 1 | -1/+7 |
| | | | | | llvm-svn: 91039 | ||||
| * | fix incorrect parsing of bitfields pointed out by Doug. I chose | Chris Lattner | 2009-12-10 | 1 | -0/+9 |
| | | | | | | | | to use ColonProtectionRAIIObject in the C codepath even though it won't matter for consistency. llvm-svn: 91037 | ||||
| * | Handle emitting static variables that have reference type. | Anders Carlsson | 2009-12-10 | 1 | -4/+8 |
| | | | | | llvm-svn: 91027 | ||||
| * | fix PR5740: a colon is sacred when parsing case statement expressions! | Chris Lattner | 2009-12-10 | 1 | -3/+16 |
| | | | | | llvm-svn: 91016 | ||||
| * | rename testcase | Chris Lattner | 2009-12-10 | 1 | -0/+0 |
| | | | | | llvm-svn: 91015 | ||||
| * | Code gen for ObjCIsaExpr AST used as lvalue. | Fariborz Jahanian | 2009-12-09 | 1 | -2/+5 |
| | | | | | | | (fixes radar 7457534). llvm-svn: 90995 | ||||
| * | Add terminate handler for copy constructors for thrown objects. WIP. | Mike Stump | 2009-12-09 | 1 | -2/+3 |
| | | | | | llvm-svn: 90994 | ||||
| * | Fix null dereference in OSAtomicChecker and special case SymbolicRegions. ↵ | Ted Kremenek | 2009-12-09 | 2 | -4/+135 |
| | | | | | | | We still aren't handling them correctly; I've added to failing test cases to test/Analysis/NSString-failed-cases.m that should pass and then be merged in to test/Analysis/NSString.m. llvm-svn: 90993 | ||||

