summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaTemplate.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-07-13 15:07:47 +0000
committerErich Keane <erich.keane@intel.com>2018-07-13 15:07:47 +0000
commite891aa971a70af92042a77ec314e9541a00eeb2c (patch)
treea8b400d6a8a6861a1e9d14790fa8da286b80fb1c /clang/lib/Sema/SemaTemplate.cpp
parentfb0d4e44328910fae3e8c4ac95c8ec01bf3a1b2e (diff)
downloadbcm5719-llvm-e891aa971a70af92042a77ec314e9541a00eeb2c.tar.gz
bcm5719-llvm-e891aa971a70af92042a77ec314e9541a00eeb2c.zip
[NFC] Rename clang::AttributeList to clang::ParsedAttr
Since The type no longer contains the 'next' item anymore, it isn't a list, so rename it to ParsedAttr to be more accurate. llvm-svn: 337005
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplate.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp
index 276a617d1ac..e78fd438dcc 100644
--- a/clang/lib/Sema/SemaTemplate.cpp
+++ b/clang/lib/Sema/SemaTemplate.cpp
@@ -8599,8 +8599,8 @@ DeclResult Sema::ActOnExplicitInstantiation(
if (TSK == TSK_ExplicitInstantiationDeclaration) {
// Check for dllexport class template instantiation declarations.
- for (const AttributeList &AL : Attr) {
- if (AL.getKind() == AttributeList::AT_DLLExport) {
+ for (const ParsedAttr &AL : Attr) {
+ if (AL.getKind() == ParsedAttr::AT_DLLExport) {
Diag(ExternLoc,
diag::warn_attribute_dllexport_explicit_instantiation_decl);
Diag(AL.getLoc(), diag::note_attribute);
@@ -8623,10 +8623,10 @@ DeclResult Sema::ActOnExplicitInstantiation(
// Check for dllimport class template instantiation definitions.
bool DLLImport =
ClassTemplate->getTemplatedDecl()->getAttr<DLLImportAttr>();
- for (const AttributeList &AL : Attr) {
- if (AL.getKind() == AttributeList::AT_DLLImport)
+ for (const ParsedAttr &AL : Attr) {
+ if (AL.getKind() == ParsedAttr::AT_DLLImport)
DLLImport = true;
- if (AL.getKind() == AttributeList::AT_DLLExport) {
+ if (AL.getKind() == ParsedAttr::AT_DLLExport) {
// dllexport trumps dllimport here.
DLLImport = false;
break;
OpenPOWER on IntegriCloud