]> granicus.if.org Git - clang/commit
Per C++11 [class.friend]p3, the 'friend' keyword must appear first in a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Sep 2012 01:31:00 +0000 (01:31 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 20 Sep 2012 01:31:00 +0000 (01:31 +0000)
commitd6f80daa84164ceeb8900da07f43b6a150edf713
treec671ddd9d89989bf6cfbac1cf9fc4c1887683e57
parent561e3c68864d11f39a07a6d1711ce08d2739a263
Per C++11 [class.friend]p3, the 'friend' keyword must appear first in a
non-function friend declaration. Patch by Josh Magee!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164273 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclFriend.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CXX/class.access/class.friend/p3-cxx0x.cpp