summaryrefslogtreecommitdiff
path: root/test/SemaCXX/friend.cpp
AgeCommit message (Expand)Author
2016-10-21Don't try to use !Previous.empty() as a proxy for "Is this a redeclaration?" --Richard Smith
2016-05-24Properly track the found declaration (possibly a using-declaration) whenRichard Smith
2016-05-23Fix filtering of prior declarations when checking for a tag redeclaration toRichard Smith
2015-02-16Regression test for RP6954.Serge Pavlov
2014-12-17Don't assume friended C++ method decls have qualifiersReid Kleckner
2014-05-14When we generate a redeclaration for anJohn McCall
2013-07-17Reinstate r186040, with additional fixes and more test coverage (reverted inRichard Smith
2013-07-15Re-revert r86040, which was un-reverted in r186199.Chandler Carruth
2013-07-12Unrevert r186040, reverted in r186185, with fix for PR16597.Richard Smith
2013-07-12Revert r186040 to fix PR16597 while Richard investigates what the bestChandler Carruth
2013-07-10If we friend a declaration twice, that should not make it visible to nameRichard Smith
2013-06-30Reinstate r185229, reverted in r185256, with a tweak: further ignore theRichard Smith
2013-06-29Revert r185229 as it breaks compilation of <windows.h>Timur Iskhodzhanov
2013-06-28PR7927, PR16247: Reimplement handling of matching extern "C" declarationsRichard Smith
2013-06-25Implement DR136David Majnemer
2013-06-23Add null check (resolves PR16423)Stephen Lin
2013-04-03Complain about attempts to befriend declarations via a usingJohn McCall
2012-03-16Skip through transparent contexts when deciding where to add a friend function.Nick Lewycky
2011-03-04Diagnose destructor templates. Fixes PR7904.Douglas Gregor
2010-11-30Fix bug in r120299 spotted by dgregor.Nico Weber
2010-11-29Always use a function's decl context when building default arguments. Fixes h...Nico Weber
2010-11-28Revert parts of r120266 that I did not mean to commitNico Weber
2010-11-28Minor whitespace and comment fixes. No functionality change.Nico Weber
2010-11-10Friend function declarations can overload with tag declarations.John McCall
2010-10-09Fix g++.dg regressions introduced at r115347 (rdar://8529993)Argyrios Kyrtzidis
2010-07-14Wire up '-Wignored-qualifiers' to the warning on 'const' in 'const int f()'.Chandler Carruth
2010-07-13Improve diagnostics for the "type qualifier on return type has noDouglas Gregor
2010-07-13When forming a function call or message send expression, be sure toDouglas Gregor
2010-06-08When referring to a tag that was previously declared only as a friend, Douglas Gregor
2009-12-23Test case for PR5134.John McCall
2009-12-23Test case from PR5476.John McCall
2009-12-17Patch over yet more problems with friend declarations which were provokingJohn McCall
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-12-11Don't enter a new scope for a namespace-qualified declarator unless we'reJohn McCall
2009-05-11Friend declarations are only valid inside class definitions.Anders Carlsson