diff options
author | Faisal Vali <faisalv@yahoo.com> | 2017-12-30 04:15:27 +0000 |
---|---|---|
committer | Faisal Vali <faisalv@yahoo.com> | 2017-12-30 04:15:27 +0000 |
commit | 0682d12e455d31b91fa41bc562ae3fa53388a820 (patch) | |
tree | fa122f469286c7dcebf9386af74ee6fd3b8875f3 /lib/Parse/ParseDecl.cpp | |
parent | ca674819d0450d7eb350c2205393a69dc206f3a9 (diff) |
[NFC] Modernize enum 'UnqualifiedId::IdKind' into a scoped enum UnqualifiedIdKind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@321574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 35bb6a9e5c..3a548fcc4f 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -2201,7 +2201,7 @@ Decl *Parser::ParseDeclarationAfterDeclaratorAndAttributes( // FIXME: This check should be for a variable template instantiation only. // Check that this is a valid instantiation - if (D.getName().getKind() != UnqualifiedId::IK_TemplateId) { + if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) { // If the declarator-id is not a template-id, issue a diagnostic and // recover by ignoring the 'template' keyword. Diag(Tok, diag::err_template_defn_explicit_instantiation) |