[NFC, Refactor] Rename the (scoped) enum DeclaratorContext's enumerators to remove...
authorFaisal Vali <faisalv@yahoo.com>
Wed, 11 Nov 2020 05:40:12 +0000 (23:40 -0600)
committerFaisal Vali <faisalv@yahoo.com>
Wed, 11 Nov 2020 05:40:12 +0000 (23:40 -0600)
commite4d27932a59fb61aaba3ff7a3ccd1b5bc9215fb9
tree9ff3962d42df521a9950a4689231ea9cda61f11f
parentb8a8ef32762bfe02b10495595e578002b29c8dc8
[NFC, Refactor] Rename the (scoped) enum DeclaratorContext's enumerators to remove duplication

Since these are scoped enumerators, they have to be prefixed by DeclaratorContext, so lets remove Context from the name, and return some characters to the multiverse.

Patch was reviewed here: https://reviews.llvm.org/D91011

Thank you to aaron, bruno, wyatt and barry for indulging me.
18 files changed:
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/DeclSpec.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Parse/ParseExprCXX.cpp
clang/lib/Parse/ParseObjc.cpp
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Parse/ParseStmt.cpp
clang/lib/Parse/ParseTemplate.cpp
clang/lib/Parse/Parser.cpp
clang/lib/Sema/DeclSpec.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaDeclObjC.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaType.cpp