PR15290: 'this' is not permitted in the declaration of a friend function,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 15 Mar 2013 00:41:52 +0000 (00:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 15 Mar 2013 00:41:52 +0000 (00:41 +0000)
commitad1bbb93d154db125a916f178f4f54f3de842032
treef78188108628bc6ad011fab68a8ba9560fdd1853
parentfeb1ede96412edd2e392314badde8308a6588920
PR15290: 'this' is not permitted in the declaration of a friend function,
therefore references to members should not be transformed into implicit uses of
'this'. Patch by Ismail Pazarbasi!

llvm-svn: 177134
clang/lib/Parse/ParseDecl.cpp
clang/test/CXX/expr/expr.prim/expr.prim.general/p3-0x.cpp