]> granicus.if.org Git - clang/commit
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)
commit2464f11bd83611babf4afcd58ccc1ae85c899599
treea6cb3971360c5e1a2eb62e6d5dc5254860a44910
parentf3e8e4e46f6a49ddd4b415422ba58355c8f48102
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286599 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/AttributeList.h
test/Sema/attr-section.c