[clang][NFC] Break out enum completion from other type context completion
authorNathan Sidwell <nathan@acm.org>
Tue, 4 May 2021 14:29:06 +0000 (07:29 -0700)
committerNathan Sidwell <nathan@acm.org>
Mon, 7 Jun 2021 13:29:29 +0000 (06:29 -0700)
commit84ab315574099dcac8f9fb89fe8558f8ccfbce5f
treea20a216a175f80346c3ba3c44202ff9eed8a9a38
parentddda05add527f7f92a71f387b927f237334f46d9
[clang][NFC] Break out enum completion from other type context completion

This prepatch for using-enum breaks out the enum completion that that
will need from the existing scope completion logic.

Differential Revision: https://reviews.llvm.org/D102239
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCXXScopeSpec.cpp