summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/inject-templated-friend-post.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Sema: Implement DR317David Majnemer2014-03-301-1/+1
| | | | | | | | | | | | | | | Summary: Declaring a function as inline after it has been defined is in violation of [dcl.fct.spec]p4. The program would get a strong definition instead of getting a function with linkonce_odr linkage. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3220 llvm-svn: 205129
* Remove the -cxx-abi command-line flag.Hans Wennborg2014-01-141-4/+4
| | | | | | | | | | | | | | | This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples, Itanium otherwise. It's no longer possible to do weird combinations. To be able to run a test with a specific ABI without constraining it to a specific triple, new substitutions are added to lit: %itanium_abi_triple and %ms_abi_triple can be used to get the current target triple adjusted to the desired ABI. For example, if the test suite is running with the i686-pc-win32 target, %itanium_abi_triple will expand to i686-pc-mingw32. Differential Revision: http://llvm-reviews.chandlerc.com/D2545 llvm-svn: 199250
* Update tests in preparation for using the MS ABI for Win32 targetsHans Wennborg2014-01-131-4/+9
| | | | | | | | | | In preparation for making the Win32 triple imply MS ABI mode, make all tests pass in this mode, or make them use the Itanium mode explicitly. Differential Revision: http://llvm-reviews.chandlerc.com/D2401 llvm-svn: 199130
* Reland r160052: Default to -std=c++11 on Windows.Nico Weber2012-08-301-4/+4
| | | | | | Also update the tests that rely on c++98 to explicitly mention that. llvm-svn: 162890
* Switch to using %clang_cc1 properly rather than manually passing the -cc1 flag.Chandler Carruth2010-11-131-2/+2
| | | | llvm-svn: 118996
* add two more use-cases (explicit instantiation) that should pass nowGabor Greif2010-08-301-0/+4
| | | | llvm-svn: 112533
* fix dual aspect of PR8007,Gabor Greif2010-08-301-8/+18
| | | | | | | | | | namely when the friend function prototype is already used at the point of the template definition that is supposed to inject the friend function. Testcase verifies four scenarios. I would like receive some code review for this. llvm-svn: 112524
* add another test for PR8007Gabor Greif2010-08-281-0/+58
this is still failing, need to come up with a fix (but we are in good company as the first gcc version pass this test will be v4.6) llvm-svn: 112369
OpenPOWER on IntegriCloud