Fix mismatched enum value name and diagnostic text.
authorDouglas Katzman <dougk@google.com>
Fri, 11 Nov 2016 16:51:40 +0000 (16:51 +0000)
committerDouglas Katzman <dougk@google.com>
Fri, 11 Nov 2016 16:51:40 +0000 (16:51 +0000)
commit180529892dc4e867d96cd470b09e58073b0c70b3
tree9c1d18c25b6d2367ed6a736763c9d4b2e704bd5f
parenta6ccd1903517b9e1ce1709c144f6a758c325c5d9
Fix mismatched enum value name and diagnostic text.

ExpectedFunctionGlobalVarMethodOrProperty
would previously say "functions and global variables"
instead of "functions, methods, properties, and global variables"

The newly added ExpectedFunctionOrGlobalVariable
says "functions and global variables"

Differential Revision: https://reviews.llvm.org/D26459

llvm-svn: 286599
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/AttributeList.h
clang/test/Sema/attr-section.c