]> granicus.if.org Git - clang/commit
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)
commitd92277928eefcf958080707ed6e154f406a5d054
treed7970a34cd7ac9cf506e446614d221342fcce452
parente462c60ac3365d3302b7d0a566c5cb7dbe0e5ae3
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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177134 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/CXX/expr/expr.prim/expr.prim.general/p3-0x.cpp