| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Patch to allow C-style cast from 'void *' to block pointer type. | Fariborz Jahanian | 2009-12-11 | 3 | -0/+8 |
| | | | | | | | (fixes radar 7465023). llvm-svn: 91171 | ||||
| * | 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 | 1 | -1/+1 |
| | | | | | | | 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 | 1 | -5/+13 |
| | | | | | llvm-svn: 91156 | ||||
| * | Switch PathDiagnostic to StringRef. | Benjamin Kramer | 2009-12-11 | 1 | -36/+13 |
| | | | | | llvm-svn: 91155 | ||||
| * | Fix linkage of type info and vtable for classes without linkage. | Eli Friedman | 2009-12-11 | 2 | -3/+3 |
| | | | | | llvm-svn: 91152 | ||||
| * | Make sure mangling doesn't crash in another case. Add some more tests. | Eli Friedman | 2009-12-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 91149 | ||||
| * | Don't enter a new scope for a namespace-qualified declarator unless we're | John McCall | 2009-12-11 | 3 | -3/+44 |
| | | | | | | | | 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 | 1 | -4/+24 |
| | | | | | | | informative chunk. llvm-svn: 91139 | ||||
| * | Teach code completion to instantiate templates when it needs to | Douglas Gregor | 2009-12-11 | 1 | -1/+6 |
| | | | | | llvm-svn: 91138 | ||||
| * | Member function templates can occur after . or -> | Douglas Gregor | 2009-12-11 | 1 | -1/+2 |
| | | | | | llvm-svn: 91137 | ||||
| * | Fix for PR5706: let mangleName deal with mangling names without identifiers | Eli Friedman | 2009-12-11 | 1 | -4/+1 |
| | | | | | | | correctly. llvm-svn: 91136 | ||||
| * | Tweak code-completion results by suppressing class template | Douglas Gregor | 2009-12-11 | 1 | -8/+15 |
| | | | | | | | | | | 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 | ||||
| * | 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 | 1 | -4/+1 |
| | | | | | llvm-svn: 91127 | ||||
| * | Class template (partial) specializations should not show up in code ↵ | Douglas Gregor | 2009-12-11 | 1 | -0/+5 |
| | | | | | | | 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 | 2 | -28/+17 |
| | | | | | | | for logical not. llvm-svn: 91112 | ||||
| * | Fix for PR5718: implement equality comparisons for member function pointers. | Eli Friedman | 2009-12-11 | 1 | -1/+28 |
| | | | | | llvm-svn: 91108 | ||||
| * | Enhance understanding of VarRegions referenced by a block whose declarations ↵ | Ted Kremenek | 2009-12-11 | 4 | -10/+40 |
| | | | | | | | 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 | ||||
| * | Improve linkage of RTTI data structures. Introduce ↵ | Anders Carlsson | 2009-12-11 | 4 | -52/+100 |
| | | | | | | | 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 | 2 | -10/+13 |
| | | | | | llvm-svn: 91097 | ||||
| * | Check if the target of a using decl is already declared in this scope before | John McCall | 2009-12-11 | 1 | -12/+15 |
| | | | | | | | | 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 | 4 | -1/+56 |
| | | | | | | | | | | | | | 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 | ||||
| * | Fix the handling of dependent enums per C++ DR 502. | Eli Friedman | 2009-12-11 | 1 | -4/+18 |
| | | | | | 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 | 1 | -12/+20 |
| | | | | | | | | | 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 | ||||
| * | 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 | 3 | -22/+3 |
| | | | | | | | | objective-c++ mode and also removed dead-code in this area. (fixes radar 7456710). llvm-svn: 91081 | ||||
| * | 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 | 1 | -0/+5 |
| | | | | | | | | 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/+4 |
| | | | | | | | 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 | 3 | -25/+7 |
| | | | | | | | recently introduced crash. llvm-svn: 91070 | ||||
| * | Make sure that explicitly instantiated functions get the right linkage. | Anders Carlsson | 2009-12-10 | 1 | -3/+12 |
| | | | | | llvm-svn: 91069 | ||||
| * | Privatize class members. | Benjamin Kramer | 2009-12-10 | 1 | -2/+2 |
| | | | | | llvm-svn: 91067 | ||||
| * | Add support for finding composite type of twp objective-c pointers | Fariborz Jahanian | 2009-12-10 | 1 | -0/+5 |
| | | | | | | | in objective-c++ mode. llvm-svn: 91059 | ||||
| * | Improve the diagnostic when a new declaration conflicts with a using shadow | John McCall | 2009-12-10 | 3 | -16/+18 |
| | | | | | | | | | 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 | ||||
| * | Move composite type finding of two objective-c expressions | Fariborz Jahanian | 2009-12-10 | 2 | -118/+140 |
| | | | | | | | into its own helper method. No change in functionality. llvm-svn: 91056 | ||||
| * | Implement C++ DR437, which involves exception-specifications that name | Douglas Gregor | 2009-12-10 | 1 | -4/+13 |
| | | | | | | | a type currently being defined, from Nicola Gigante! llvm-svn: 91052 | ||||
| * | Move initialization via initializer list over to InitializationSequences. | Douglas Gregor | 2009-12-10 | 3 | -18/+154 |
| | | | | | llvm-svn: 91050 | ||||
| * | Implement redeclaration checking and hiding semantics for using ↵ | John McCall | 2009-12-10 | 8 | -75/+423 |
| | | | | | | | | | | | | 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 | -4/+13 |
| | | | | | llvm-svn: 91044 | ||||
| * | Mangle static variables inside Objective-C methods in Objective-C++. We ↵ | Anders Carlsson | 2009-12-10 | 1 | -3/+24 |
| | | | | | | | currently mangle them the same way as gcc does. llvm-svn: 91042 | ||||
| * | Get rid of static variable. | Eli Friedman | 2009-12-10 | 3 | -4/+5 |
| | | | | | llvm-svn: 91041 | ||||

