| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Patch to allow C-style cast from 'void *' to block pointer type. | Fariborz Jahanian | 2009-12-11 | 5 | -1/+18 |
| | | | | | | | (fixes radar 7465023). llvm-svn: 91171 | ||||
| * | Implement clang -cc1. | Daniel Dunbar | 2009-12-11 | 3 | -14/+342 |
| | | | | | | | - I apologize for the link time horrors, my goal is to kill off clang-cc in fairly short order. llvm-svn: 91170 | ||||
| * | StmtDumper::VisitUnresolvedLookupExpr | John McCall | 2009-12-11 | 1 | -0/+14 |
| | | | | | llvm-svn: 91163 | ||||
| * | Consider conversion of objective-c pointer to 'bool' a | Fariborz Jahanian | 2009-12-11 | 2 | -1/+13 |
| | | | | | | | valid standard conversion to match g++'s behaviour. llvm-svn: 91157 | ||||
| * | Fix for PR5714: make sure globals that will be modified aren't marked const. | Eli Friedman | 2009-12-11 | 2 | -5/+23 |
| | | | | | llvm-svn: 91156 | ||||
| * | Switch PathDiagnostic to StringRef. | Benjamin Kramer | 2009-12-11 | 2 | -59/+20 |
| | | | | | llvm-svn: 91155 | ||||
| * | Fix two typos. | Benjamin Kramer | 2009-12-11 | 2 | -2/+2 |
| | | | | | llvm-svn: 91154 | ||||
| * | 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 | 3 | -3/+11 |
| | | | | | llvm-svn: 91152 | ||||
| * | Make sure mangling doesn't crash in another case. Add some more tests. | Eli Friedman | 2009-12-11 | 3 | -9/+40 |
| | | | | | llvm-svn: 91149 | ||||
| * | Don't enter a new scope for a namespace-qualified declarator unless we're | John McCall | 2009-12-11 | 5 | -4/+67 |
| | | | | | | | | in a file context. In well-formed code, only happens with friend functions. Fixes PR 5760. llvm-svn: 91146 | ||||
| * | When code completion of an overload set fails, produce results for ordinary ↵ | Douglas Gregor | 2009-12-11 | 1 | -5/+16 |
| | | | | | | | name lookup instead. llvm-svn: 91141 | ||||
| * | Add a function's cv-qualifiers to the code-completion results as an | Douglas Gregor | 2009-12-11 | 2 | -6/+26 |
| | | | | | | | informative chunk. llvm-svn: 91139 | ||||
| * | Teach code completion to instantiate templates when it needs to | Douglas Gregor | 2009-12-11 | 2 | -6/+23 |
| | | | | | llvm-svn: 91138 | ||||
| * | Member function templates can occur after . or -> | Douglas Gregor | 2009-12-11 | 2 | -4/+14 |
| | | | | | llvm-svn: 91137 | ||||
| * | Fix for PR5706: let mangleName deal with mangling names without identifiers | Eli Friedman | 2009-12-11 | 2 | -4/+9 |
| | | | | | | | correctly. llvm-svn: 91136 | ||||
| * | Tweak code-completion results by suppressing class template | Douglas Gregor | 2009-12-11 | 3 | -13/+19 |
| | | | | | | | | | | 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 | ||||
| * | Move info vectors and add assertions in preparation of moving the vector ↵ | Anders Carlsson | 2009-12-11 | 1 | -7/+11 |
| | | | | | | | directly into RTTIBuilder. llvm-svn: 91129 | ||||
| * | Use GetAddrOfRTTI when getting the RTTI pointer for a base class. | Anders Carlsson | 2009-12-11 | 2 | -4/+17 |
| | | | | | llvm-svn: 91127 | ||||
| * | Class template (partial) specializations should not show up in code ↵ | Douglas Gregor | 2009-12-11 | 2 | -3/+8 |
| | | | | | | | completion results llvm-svn: 91125 | ||||
| * | Random string-related cleanups. | Benjamin Kramer | 2009-12-11 | 3 | -9/+5 |
| | | | | | llvm-svn: 91119 | ||||
| * | Use StringRef.getAsInteger instead of temporary string + strtol. No intended ↵ | Benjamin Kramer | 2009-12-11 | 1 | -9/+3 |
| | | | | | | | functionality change. llvm-svn: 91118 | ||||
| * | Move the code for converting a member pointer to a bool so that it is usable | Eli Friedman | 2009-12-11 | 3 | -28/+32 |
| | | | | | | | for logical not. llvm-svn: 91112 | ||||
| * | Fix for PR5718: implement equality comparisons for member function pointers. | Eli Friedman | 2009-12-11 | 2 | -1/+36 |
| | | | | | llvm-svn: 91108 | ||||
| * | Enhance understanding of VarRegions referenced by a block whose declarations ↵ | Ted Kremenek | 2009-12-11 | 7 | -17/+102 |
| | | | | | | | are outside the current stack frame. Fixes <rdar://problem/7462324>. llvm-svn: 91107 | ||||
| * | Completely evaluate malloc/free in MallocChecker.cpp. | Zhongxing Xu | 2009-12-11 | 1 | -8/+20 |
| | | | | | llvm-svn: 91100 | ||||
| * | 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 | 7 | -62/+113 |
| | | | | | | | 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 | 3 | -10/+22 |
| | | | | | llvm-svn: 91097 | ||||
| * | Check if the target of a using decl is already declared in this scope before | John McCall | 2009-12-11 | 2 | -12/+29 |
| | | | | | | | | 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 | 7 | -1/+263 |
| | | | | | | | | | | | | | 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 | 4 | -8/+9 |
| | | | | | | | 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 | 2 | -4/+27 |
| | | | | | llvm-svn: 91089 | ||||
| * | Use named flags in RTTIBuilder::BuildPointerType. | Anders Carlsson | 2009-12-11 | 1 | -25/+54 |
| | | | | | llvm-svn: 91088 | ||||
| * | When extending the lifetime of a temporary, make sure to emit a branch to ↵ | Anders Carlsson | 2009-12-11 | 1 | -1/+4 |
| | | | | | | | the cleanup exit block. This fixes a broken module error in LLVMCConfigurationEmitter.cpp. llvm-svn: 91086 | ||||
| * | Use 'class' instead of 'struct'. | Zhongxing Xu | 2009-12-11 | 1 | -1/+2 |
| | | | | | llvm-svn: 91085 | ||||
| * | When an exception needs to be freed by calling __cxa_exception_free, make ↵ | Anders Carlsson | 2009-12-11 | 3 | -12/+44 |
| | | | | | | | | | 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 | ||||
| * | FileManager: Do not cache failed stats, it is easy to construct common | Daniel Dunbar | 2009-12-11 | 1 | -10/+9 |
| | | | | | | | | | | | | | | | | | | | inconsistent situations if we do, and they are not important for PCH performance (which currently only needs the stats to construct the initial FileManager entries). - No test case, sorry, the machinations are too involved. This occurs when, for example, the build makes a PCH file and has a header map or a -I for a directory that does not yet exist. It is possible we will cache the negative stat on that directory, and then in the build we will never find header files inside that dir. For PCH we don't need these stats anyway for performance, so this also makes PCH files smaller w/ no loss. I hope to eventually eliminate the stat cache entirely. llvm-svn: 91082 | ||||
| * | Patch to fix a crash trying to access a category name in | Fariborz Jahanian | 2009-12-11 | 6 | -24/+14 |
| | | | | | | | | 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 | ||||
| * | Implement just a bit more of inline assembly. | Mike Stump | 2009-12-11 | 1 | -1/+14 |
| | | | | | llvm-svn: 91079 | ||||
| * | Fix spacing. | Mike Stump | 2009-12-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 91078 | ||||
| * | Don't complain about falling off the end of a function with an asm | Mike Stump | 2009-12-10 | 2 | -0/+9 |
| | | | | | | | | block, if the function is supposed to return a value as we don't know exactly what the asm code does. llvm-svn: 91073 | ||||
| * | clang_getCompletionChunkText() will treat optional strings as empty text blocks | Douglas Gregor | 2009-12-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 91072 | ||||
| * | Support unary type traits in a scalar context. Not that I've actually seen | Eli Friedman | 2009-12-10 | 2 | -0/+7 |
| | | | | | | | 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 | 4 | -25/+11 |
| | | | | | | | recently introduced crash. llvm-svn: 91070 | ||||
| * | Make sure that explicitly instantiated functions get the right linkage. | Anders Carlsson | 2009-12-10 | 2 | -3/+36 |
| | | | | | llvm-svn: 91069 | ||||
| * | Beef up Clang-on-LLVM testing a bit, by making LLVM-Syntax recursive | Douglas Gregor | 2009-12-10 | 2 | -5/+29 |
| | | | | | | | | (since we now parse all of the headers appropriately) and teaching LLVM-Code-Syntax about the extra paths needed to parse the backends. llvm-svn: 91068 | ||||

