summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Use TypeAlignment constant rather than fixed alignment of 8Douglas Gregor2010-12-101-1/+2
| | | | llvm-svn: 121473
* Fixed version of 121435.Rafael Espindola2010-12-101-3/+14
| | | | llvm-svn: 121472
* In clang_getCursor(), don't override a preprocessing cursor withinDouglas Gregor2010-12-102-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 Wilson2010-12-101-0/+1
| | | | llvm-svn: 121468
* LLVM's intrinsics for vpaddl and vpadal have 2 overloaded types.Bob Wilson2010-12-101-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 Espindola2010-12-101-14/+3
| | | | llvm-svn: 121460
* Treat visibility on an enclosing namespace as a non-explicit source ofJohn McCall2010-12-106-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 Takumi2010-12-101-1/+11
| | | | llvm-svn: 121458
* And more gzip goodness for clang.Eric Christopher2010-12-101-2/+2
| | | | llvm-svn: 121453
* Bind the result of a property fetch to a temporary.John McCall2010-12-101-0/+4
| | | | llvm-svn: 121452
* Extend libclang debugging output for clang_getCursor() to show the ↵Douglas Gregor2010-12-101-0/+18
| | | | | | definition we found llvm-svn: 121451
* Neon compare absolute LLVM intrinsics are not overloaded. PR8484.Bob Wilson2010-12-101-4/+4
| | | | llvm-svn: 121447
* Added remaining objective-c library builtins (as in gcc) toFariborz Jahanian2010-12-103-4/+71
| | | | | | clang. // rdar://8735023 llvm-svn: 121441
* Fix another obscure corner layout case.Argyrios Kyrtzidis2010-12-102-9/+27
| | | | llvm-svn: 121436
* Update clang for the API changes in the cfi patch.Rafael Espindola2010-12-091-3/+14
| | | | llvm-svn: 121435
* Add Neon vreinterpret intrinsics for half-float (f16) types.Bob Wilson2010-12-091-1/+1
| | | | llvm-svn: 121433
* Don't crash when code-completing after "#include <". It would be farDouglas Gregor2010-12-092-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 Jahanian2010-12-091-521/+563
| | | | | | | and ActOnVariableDeclarator No functionality change. // rdar://8751949 llvm-svn: 121427
* Eliminate duplicate code completions for properties.Douglas Gregor2010-12-092-11/+41
| | | | llvm-svn: 121424
* Don't walk the translation unit context to produce protocol names whenDouglas Gregor2010-12-093-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 theDouglas Gregor2010-12-091-8/+8
| | | | | | second reparse. llvm-svn: 121413
* Update test.Devang Patel2010-12-091-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 Wilson2010-12-091-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 Wilson2010-12-091-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. Spencer2010-12-097-19/+56
| | | | llvm-svn: 121378
* When an "inline" declaration was followed by a definition not markedDouglas Gregor2010-12-095-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 Pichet2010-12-092-1/+15
| | | | | | instantiation. llvm-svn: 121363
* Add missing "s32" and "u32" variants of Neon vzip intrinsic.Bob Wilson2010-12-091-1/+1
| | | | | | Radar 8446277. llvm-svn: 121360
* Add missing "p16" type variants for the Neon VREV32 intrinsics.Bob Wilson2010-12-091-1/+1
| | | | | | Radar 8446277. llvm-svn: 121359
* Fix another unnecessary-struct-padding issue.Argyrios Kyrtzidis2010-12-092-2/+29
| | | | llvm-svn: 121352
* Fix build.Anders Carlsson2010-12-091-1/+1
| | | | llvm-svn: 121341
* Before determining the effect the alignment of base struct will have in the ↵Argyrios Kyrtzidis2010-12-092-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 Kremenek2010-12-091-1/+1
| | | | llvm-svn: 121334
* Remove unused parameter. getContextDescriptor() and getOrCreateNameSpace().Devang Patel2010-12-092-19/+15
| | | | llvm-svn: 121333
* Remove unused parameter.Devang Patel2010-12-092-4/+3
| | | | llvm-svn: 121326
* Test case for r121323.Devang Patel2010-12-091-0/+309
| | | | llvm-svn: 121324
* A typename specifier can end up referring to a unresolved usingDouglas Gregor2010-12-093-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 Kremenek2010-12-091-1/+1
| | | | llvm-svn: 121321
* Add new libclang hooks for CXCursorSet, aTed Kremenek2010-12-084-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 Patel2010-12-083-351/+245
| | | | llvm-svn: 121302
* Stop using builtins for the "_lane" variants of saturating multiply intrinsics.Bob Wilson2010-12-083-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 Pichet2010-12-0829-252/+31
| | | | | | BinaryTypeTraitExpr. llvm-svn: 121298
* Put the "'typename' occurs outside of a template" and "'template'Douglas Gregor2010-12-081-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 Wilson2010-12-082-19/+4
| | | | llvm-svn: 121288
* Driver: M and MM should be grouped together, <rdar://problem/8744831>.Daniel Dunbar2010-12-083-5/+6
| | | | llvm-svn: 121284
* Stop using clang builtins for Neon vaba intrinsics.Bob Wilson2010-12-082-11/+2
| | | | llvm-svn: 121277
* Make this test resilient to whether or not the Linux toolchain renders theChandler Carruth2010-12-081-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 Gregor2010-12-081-1/+1
| | | | llvm-svn: 121266
* Fix two thinkos and add a test for importing the AST of a categoryDouglas Gregor2010-12-084-3/+34
| | | | | | implementation. llvm-svn: 121263
* Fix bug where annotate tokens was not working for BinaryTypeTraitExpr.Francois Pichet2010-12-082-3/+11
| | | | | | CIndex's EnqueueVisitor must visit elements backward apparently. llvm-svn: 121247
OpenPOWER on IntegriCloud