summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle-exprs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When mangling member-expressions, skip implicit accesses of anonymous unionRichard Smith2014-11-201-0/+76
| | | | | | objects. This is consistent with GCC's behavior. Patch by Tomasz Miąsko! llvm-svn: 222402
* AST: Mangle cast expression encoding more accuratelyDavid Majnemer2014-09-231-3/+22
| | | | | | | | | | | Don't mangle all casts in expressions as "cv", use the appropriate encoding which corresponds to a specific cast. This fixes PR21034. Differential Revision: http://reviews.llvm.org/D5453 llvm-svn: 218293
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-11/+11
| | | | | | tests fail. llvm-svn: 188447
* Implement Mike Herrick's proposed noexcept mangling.John McCall2012-09-251-0/+7
| | | | llvm-svn: 164593
* Richard Smith pointed out that there already is a proposal for init list ↵Sebastian Redl2012-02-251-4/+3
| | | | | | mangling. llvm-svn: 151462
* Better mangling for new-expressions. Also, although we can't mangle ↵Sebastian Redl2012-02-251-0/+60
| | | | | | arbitrary initializer lists yet (we will need this), turn the crash into a controlled error. llvm-svn: 151455
* Implement name mangling for scalar value initialization. Reported on IRC by Xeo.Richard Smith2012-02-061-0/+7
| | | | llvm-svn: 149854
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Add name mangling for expr .* expr. Fixes PR9983 / <rdar://problem/9486332>.Douglas Gregor2011-06-051-0/+16
| | | | llvm-svn: 132659
* Store a parameter index and function prototype depth in everyJohn McCall2011-05-011-0/+44
| | | | | | | | | | parameter node and use this to correctly mangle parameter references in function template signatures. A follow-up patch will improve the storage usage of these fields; here I've just done the lazy thing. llvm-svn: 130669
* Implement the mangling for non-ADL call expressions that we justJohn McCall2011-04-281-0/+16
| | | | | | worked out. llvm-svn: 130376
* Mangling of undeduced 'auto' types, as specified by Itanium C++ ABI.Richard Smith2011-02-211-1/+8
| | | | llvm-svn: 126140
* fix PR5179 and correctly fix PR5831 to not miscompile.Chris Lattner2010-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | The X86-64 ABI code didn't handle the case when a struct would get classified and turn up as "NoClass INTEGER" for example. This is perfectly possible when the first slot is all padding (e.g. due to empty base classes). In this situation, the first 8-byte doesn't take a register at all, only the second 8-byte does. This fixes this by enhancing the x86-64 abi stuff to allow and handle this case, reverts the broken fix for PR5831, and enhances the target independent stuff to be able to handle an argument value in registers being accessed at an offset from the memory value. This is the last x86-64 calling convention related miscompile that I'm aware of. llvm-svn: 109848
* pass/return structs of char and short as i8/i16 to avoidChris Lattner2010-06-281-1/+1
| | | | | | aweful through-memory coersion, just like we do for i32 now. llvm-svn: 107078
* Give explicit template instantiations weak ODR linkage. FormerDouglas Gregor2010-03-131-5/+5
| | | | | | | | | iterations of this patch gave explicit template instantiation link-once ODR linkage, which permitted the back end to eliminate unused symbols. Weak ODR linkage still requires the symbols to be generated. llvm-svn: 98441
* Re-revert the explicit template instantiation linkage patch. I am beginning ↵Douglas Gregor2010-03-131-5/+5
| | | | | | to look incompetent llvm-svn: 98425
* Reinstate patch to turn explicit template instantiations into weak symbolsDouglas Gregor2010-03-131-5/+5
| | | | llvm-svn: 98424
* Revert the linkage change for explicit template instantiations; something is ↵Douglas Gregor2010-03-121-5/+5
| | | | | | amiss llvm-svn: 98332
* Give explicit template instantiations weak linkage (but don't deferDouglas Gregor2010-03-121-5/+5
| | | | | | them). Fixes PR6578. llvm-svn: 98328
* Name mangling for cast expressions, from Matthias Schiffer! Fixes PR5876.Douglas Gregor2010-01-291-0/+44
llvm-svn: 94811
OpenPOWER on IntegriCloud