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"
Paths 
  |  Differential  D26459  
 Fix mismatched enum value name and diagnostic text. ClosedPublic Authored by dougk on Nov 9 2016, 9:49 AM. 
Details Summary 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" 
Diff Detail 
 Event Timelinedougk updated this object. This revision is now accepted and ready to land.Nov 10 2016, 6:49 AM Closed by commit rL286599: Fix mismatched enum value name and diagnostic text. (authored by dougk).  ·  Explain WhyNov 11 2016, 9:01 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 77624 cfe/trunk/include/clang/Basic/Attr.td
 cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
 
 cfe/trunk/include/clang/Sema/AttributeList.h
 cfe/trunk/test/Sema/attr-section.c
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||