From e891aa971a70af92042a77ec314e9541a00eeb2c Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Fri, 13 Jul 2018 15:07:47 +0000 Subject: [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 --- clang/lib/Sema/DeclSpec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Sema/DeclSpec.cpp') diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index 01c9bad16f1..ccca5d37ea3 100644 --- a/clang/lib/Sema/DeclSpec.cpp +++ b/clang/lib/Sema/DeclSpec.cpp @@ -994,7 +994,7 @@ void DeclSpec::SaveWrittenBuiltinSpecs() { writtenBS.Width = getTypeSpecWidth(); writtenBS.Type = getTypeSpecType(); // Search the list of attributes for the presence of a mode attribute. - writtenBS.ModeAttr = getAttributes().hasAttribute(AttributeList::AT_Mode); + writtenBS.ModeAttr = getAttributes().hasAttribute(ParsedAttr::AT_Mode); } /// Finish - This does final analysis of the declspec, rejecting things like -- cgit v1.2.3