summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mangle-template.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix the AST representation for non-type template arguments to encodeEli Friedman2012-09-261-2/+2
| | | | | | | | | | | | enough information so we can mangle them correctly in cases involving dependent parameter types. (This specifically impacts cases involving null pointers and cases involving parameters of reference type.) Fix the mangler to use this information instead of trying to scavenge it out of the parameter declaration. <rdar://problem/12296776>. llvm-svn: 164656
* When mangling a negative number, remember that negating it does notJohn McCall2012-08-181-0/+12
| | | | | | | always yield a positive number. Just print the negated result as an unsigned number. llvm-svn: 162163
* Implement C++11 [temp.arg.nontype]'s permission to use the address of an objectRichard Smith2012-04-041-0/+17
| | | | | | or function with internal linkage as a non-type template argument. llvm-svn: 154053
* Fix the mangling of class template arguments in a particularJohn McCall2012-01-061-0/+9
| | | | | | dependent case. Thanks to Jason Merrill for pointing this out. llvm-svn: 147653
* clang side to match the LLVM IR type system rewrite patch.Chris Lattner2011-07-091-1/+1
| | | | llvm-svn: 134831
* Fix the mangling of dependent-scope decl ref expressions so that theyJohn McCall2011-06-211-2/+2
| | | | | | use the unresolved-name production correctly. llvm-svn: 133554
* Whack a bunch of tests in CodeGenCXX to work on ARM (using ARM ABI). Batch ↵Eli Friedman2011-06-141-1/+1
| | | | | | 2 of 3. llvm-svn: 133011
* Move unnamed_addr after the function arguments on Sabre's request.Rafael Espindola2011-01-251-1/+1
| | | | llvm-svn: 124210
* Add unnamed_addr to constructors and destructors.Rafael Espindola2011-01-111-1/+1
| | | | llvm-svn: 123197
* Improve name mangling for dependent template names (e.g., typenameDouglas Gregor2010-04-281-0/+17
| | | | | | | | T::template apply<U>), handling a few cases where we previously failed and performing substitutions on such dependent names. Fixes a crash in Boost.PropertyTree. llvm-svn: 102490
* Mangle dependent template names such as the nested-name-specifier inDouglas Gregor2010-04-231-0/+23
| | | | | | | | | T::apply <U>::type Fixes PR6899, although I want to dig a little deeper into the FIXME for dependent template names that refer to operators. llvm-svn: 102167
* Give explicit template instantiations weak ODR linkage. FormerDouglas Gregor2010-03-131-2/+2
| | | | | | | | | 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-2/+2
| | | | | | to look incompetent llvm-svn: 98425
* Reinstate patch to turn explicit template instantiations into weak symbolsDouglas Gregor2010-03-131-2/+2
| | | | llvm-svn: 98424
* Revert the linkage change for explicit template instantiations; something is ↵Douglas Gregor2010-03-121-2/+2
| | | | | | amiss llvm-svn: 98332
* Give explicit template instantiations weak linkage (but don't deferDouglas Gregor2010-03-121-2/+2
| | | | | | them). Fixes PR6578. llvm-svn: 98328
* Improve name mangling for dependently-scoped declaration references.Douglas Gregor2010-02-281-0/+19
| | | | llvm-svn: 97422
* Add name mangling for DeclRefExprs that refer to external namesDouglas Gregor2010-02-281-1/+20
| | | | llvm-svn: 97418
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Mangler: Sketch mangling for TemplateArgument::Declaration kind.Daniel Dunbar2009-11-211-0/+68
- Several important FIXMEs related to whether arguments are expressions or external names, and the mangling of extern "C" names (c.f., PR5522). llvm-svn: 89556
OpenPOWER on IntegriCloud