Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use TypeAlignment constant rather than fixed alignment of 8 | Douglas Gregor | 2010-12-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 121473 | |||||
* | Fixed version of 121435. | Rafael Espindola | 2010-12-10 | 1 | -3/+14 | |
| | | | | llvm-svn: 121472 | |||||
* | In clang_getCursor(), don't override a preprocessing cursor within | Douglas Gregor | 2010-12-10 | 2 | -0/+13 | |
| | | | | | | another preprocessing cursor, since we want the outermost one. llvm-svn: 121470 | |||||
* | Add missing switch case to handle builtin for Neon vqnegq. | Bob Wilson | 2010-12-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 121468 | |||||
* | LLVM's intrinsics for vpaddl and vpadal have 2 overloaded types. | Bob Wilson | 2010-12-10 | 1 | -4/+18 | |
| | | | | | | Clang was only specifying the overloaded result type. PR8483. llvm-svn: 121464 | |||||
* | Revert my previous patch to make the valgrind bots happy. | Rafael Espindola | 2010-12-10 | 1 | -14/+3 | |
| | | | | llvm-svn: 121460 | |||||
* | Treat visibility on an enclosing namespace as a non-explicit source of | John McCall | 2010-12-10 | 6 | -13/+54 | |
| | | | | | | | | | | | visibility. Fixes PR8713. I've disabled a test which was testing that you can #pragma pop visibility to get out of a namespace's visibility attribute. We should probably just diagnose that as an error unless it's instrumental to someone's system headers. llvm-svn: 121459 | |||||
* | Add dependency to "make clang-test check-all". | NAKAMURA Takumi | 2010-12-10 | 1 | -1/+11 | |
| | | | | llvm-svn: 121458 | |||||
* | And more gzip goodness for clang. | Eric Christopher | 2010-12-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 121453 | |||||
* | Bind the result of a property fetch to a temporary. | John McCall | 2010-12-10 | 1 | -0/+4 | |
| | | | | llvm-svn: 121452 | |||||
* | Extend libclang debugging output for clang_getCursor() to show the ↵ | Douglas Gregor | 2010-12-10 | 1 | -0/+18 | |
| | | | | | | definition we found llvm-svn: 121451 | |||||
* | Neon compare absolute LLVM intrinsics are not overloaded. PR8484. | Bob Wilson | 2010-12-10 | 1 | -4/+4 | |
| | | | | llvm-svn: 121447 | |||||
* | Added remaining objective-c library builtins (as in gcc) to | Fariborz Jahanian | 2010-12-10 | 3 | -4/+71 | |
| | | | | | | clang. // rdar://8735023 llvm-svn: 121441 | |||||
* | Fix another obscure corner layout case. | Argyrios Kyrtzidis | 2010-12-10 | 2 | -9/+27 | |
| | | | | llvm-svn: 121436 | |||||
* | Update clang for the API changes in the cfi patch. | Rafael Espindola | 2010-12-09 | 1 | -3/+14 | |
| | | | | llvm-svn: 121435 | |||||
* | Add Neon vreinterpret intrinsics for half-float (f16) types. | Bob Wilson | 2010-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 121433 | |||||
* | Don't crash when code-completing after "#include <". It would be far | Douglas Gregor | 2010-12-09 | 2 | -0/+9 | |
| | | | | | | | better to actually produce a decent set of completions by checking the system include paths, but not today. Fixes PR8744. llvm-svn: 121431 | |||||
* | Refactored/cleanedup ActOnFunctionDeclarator | Fariborz Jahanian | 2010-12-09 | 1 | -521/+563 | |
| | | | | | | | and ActOnVariableDeclarator No functionality change. // rdar://8751949 llvm-svn: 121427 | |||||
* | Eliminate duplicate code completions for properties. | Douglas Gregor | 2010-12-09 | 2 | -11/+41 | |
| | | | | llvm-svn: 121424 | |||||
* | Don't walk the translation unit context to produce protocol names when | Douglas Gregor | 2010-12-09 | 3 | -20/+43 | |
| | | | | | | | | | | global code completions are disabled (e.g., because they are cached). Also, make sure that forward-declared protocols are visited when we look for all visible names within a declaration context. Previously, we would end up with duplicate completions for protocols. llvm-svn: 121416 | |||||
* | Gather cached code completions after the first reparse, not after the | Douglas Gregor | 2010-12-09 | 1 | -8/+8 | |
| | | | | | | second reparse. llvm-svn: 121413 | |||||
* | Update test. | Devang Patel | 2010-12-09 | 1 | -2/+2 | |
| | | | | | | This test intends to catch invalid use of ".byte 256" in output. Now, the assert in MC will be triggered in such cases. llvm-svn: 121403 | |||||
* | Fix type of last vector operand of Neon quad-register multiple-lane intrinsics. | Bob Wilson | 2010-12-09 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | The sensible thing would be to have these intrinsics take all quad-register vector operands, but that's not what ARM did. They made the last vector operand always be a double-register type. Since the lane number must be a constant, the user can know which half of a quad-register contains that lane, extract the high or low half of the vector, and adjust the lane number accordingly. The only advantage I can see for this is that it works better when you want to multiply a quad-register value by a lane from a double-register value, but I wouldn't have expected that to be the common case. Oh well -- at this point we just need to follow the spec. llvm-svn: 121397 | |||||
* | Fix the names of the v[r]addhn and v[r]subhn Neon intrinsics. | Bob Wilson | 2010-12-09 | 1 | -4/+4 | |
| | | | | | | | Their suffixes are supposed to reflect the source operand element type, not the destination element type. Radar 8746481. llvm-svn: 121392 | |||||
* | Use error_code instead of std::string* for MemoryBuffer. | Michael J. Spencer | 2010-12-09 | 7 | -19/+56 | |
| | | | | llvm-svn: 121378 | |||||
* | When an "inline" declaration was followed by a definition not marked | Douglas Gregor | 2010-12-09 | 5 | -27/+41 | |
| | | | | | | | | | | | | | "inline", we weren't giving the definition weak linkage because the "inline" bit wasn't propagated. This was a longstanding FIXME that, somehow, hadn't triggered a bug in the wild. Fix this problem by tracking whether any declaration was marked "inline", and clean up the semantics of GNU's "extern inline" semantics calculation based on this change. Fixes <rdar://problem/8740363>. llvm-svn: 121373 | |||||
* | Fix PR8760: IndirectFieldDecl Type was not updated during template ↵ | Francois Pichet | 2010-12-09 | 2 | -1/+15 | |
| | | | | | | instantiation. llvm-svn: 121363 | |||||
* | Add missing "s32" and "u32" variants of Neon vzip intrinsic. | Bob Wilson | 2010-12-09 | 1 | -1/+1 | |
| | | | | | | Radar 8446277. llvm-svn: 121360 | |||||
* | Add missing "p16" type variants for the Neon VREV32 intrinsics. | Bob Wilson | 2010-12-09 | 1 | -1/+1 | |
| | | | | | | Radar 8446277. llvm-svn: 121359 | |||||
* | Fix another unnecessary-struct-padding issue. | Argyrios Kyrtzidis | 2010-12-09 | 2 | -2/+29 | |
| | | | | llvm-svn: 121352 | |||||
* | Fix build. | Anders Carlsson | 2010-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 121341 | |||||
* | Before determining the effect the alignment of base struct will have in the ↵ | Argyrios Kyrtzidis | 2010-12-09 | 2 | -2/+25 | |
| | | | | | | | | | | aligment of the sub-struct, take into account if the sub-struct is packed and its maximum field alignment. Fixes rdar://8745206 llvm-svn: 121335 | |||||
* | Remove extra namespace specifier. | Ted Kremenek | 2010-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 121334 | |||||
* | Remove unused parameter. getContextDescriptor() and getOrCreateNameSpace(). | Devang Patel | 2010-12-09 | 2 | -19/+15 | |
| | | | | llvm-svn: 121333 | |||||
* | Remove unused parameter. | Devang Patel | 2010-12-09 | 2 | -4/+3 | |
| | | | | llvm-svn: 121326 | |||||
* | Test case for r121323. | Devang Patel | 2010-12-09 | 1 | -0/+309 | |
| | | | | llvm-svn: 121324 | |||||
* | A typename specifier can end up referring to a unresolved using | Douglas Gregor | 2010-12-09 | 3 | -1/+43 | |
| | | | | | | | | declaration that is a value in ill-formed code. Instead of crashing, treat this as a dependent typename specifier and suggest that the using add "typename" into the using declaration. Fixes <rdar://problem/8740998>. llvm-svn: 121322 | |||||
* | DenseMapInfo is a 'struct', not a 'class'. | Ted Kremenek | 2010-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 121321 | |||||
* | Add new libclang hooks for CXCursorSet, a | Ted Kremenek | 2010-12-08 | 4 | -3/+108 | |
| | | | | | | | DenseMap-backed hashtable for doing client-side management of CXCursors within a set. llvm-svn: 121318 | |||||
* | Start using DIBuilder. It provides cleaner interface. | Devang Patel | 2010-12-08 | 3 | -351/+245 | |
| | | | | llvm-svn: 121302 | |||||
* | Stop using builtins for the "_lane" variants of saturating multiply intrinsics. | Bob Wilson | 2010-12-08 | 3 | -40/+27 | |
| | | | | | | | Remove the "splat" parameter from the EmitNeonCall function, since it is no longer needed. llvm-svn: 121300 | |||||
* | Remove the TypesCompatibleExprClass AST node. Merge its functionality into ↵ | Francois Pichet | 2010-12-08 | 29 | -252/+31 | |
| | | | | | | BinaryTypeTraitExpr. llvm-svn: 121298 | |||||
* | Put the "'typename' occurs outside of a template" and "'template' | Douglas Gregor | 2010-12-08 | 1 | -2/+2 | |
| | | | | | | | keyword occurs outside of a template" diagnostics under -WC++0x-extensions. llvm-svn: 121290 | |||||
* | Stop using clang builtins for Neon vabdl and vabal intrinsics. | Bob Wilson | 2010-12-08 | 2 | -19/+4 | |
| | | | | llvm-svn: 121288 | |||||
* | Driver: M and MM should be grouped together, <rdar://problem/8744831>. | Daniel Dunbar | 2010-12-08 | 3 | -5/+6 | |
| | | | | llvm-svn: 121284 | |||||
* | Stop using clang builtins for Neon vaba intrinsics. | Bob Wilson | 2010-12-08 | 2 | -11/+2 | |
| | | | | llvm-svn: 121277 | |||||
* | Make this test resilient to whether or not the Linux toolchain renders the | Chandler Carruth | 2010-12-08 | 1 | -3/+3 | |
| | | | | | | sysroot flag to the link command as a joined flag or a separate flag. llvm-svn: 121270 | |||||
* | Fix BinaryOperator dispatch for RecursiveASTVisitor, from Benoit Perrot! | Douglas Gregor | 2010-12-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 121266 | |||||
* | Fix two thinkos and add a test for importing the AST of a category | Douglas Gregor | 2010-12-08 | 4 | -3/+34 | |
| | | | | | | implementation. llvm-svn: 121263 | |||||
* | Fix bug where annotate tokens was not working for BinaryTypeTraitExpr. | Francois Pichet | 2010-12-08 | 2 | -3/+11 | |
| | | | | | | CIndex's EnqueueVisitor must visit elements backward apparently. llvm-svn: 121247 |