]> granicus.if.org Git - clang/commit
Error for use of field from anonymous struct or union should say "invalid use of...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:33 +0000 (07:04 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:33 +0000 (07:04 +0000)
commit6ad5df132a0bcb3f6975362901270be5bf60dc56
tree1150cd808eca4bdfb94c98fcaf9911c56dabd32a
parent0413db4a26b0a1577b75c2979b0eb21f3490d17a
Error for use of field from anonymous struct or union should say "invalid use of nonstatic data member"
not "call to non-static member function without an object argument".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaCXX/class.cpp