diff options
author | Erich Keane <erich.keane@intel.com> | 2018-07-13 15:07:47 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2018-07-13 15:07:47 +0000 |
commit | e891aa971a70af92042a77ec314e9541a00eeb2c (patch) | |
tree | a8b400d6a8a6861a1e9d14790fa8da286b80fb1c /clang/lib/Parse/ParseObjc.cpp | |
parent | fb0d4e44328910fae3e8c4ac95c8ec01bf3a1b2e (diff) | |
download | bcm5719-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/Parse/ParseObjc.cpp')
-rw-r--r-- | clang/lib/Parse/ParseObjc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseObjc.cpp b/clang/lib/Parse/ParseObjc.cpp index 447eb9610b0..5c5b3cdfcf3 100644 --- a/clang/lib/Parse/ParseObjc.cpp +++ b/clang/lib/Parse/ParseObjc.cpp @@ -376,10 +376,10 @@ static void addContextSensitiveTypeNullability(Parser &P, SourceLocation nullabilityLoc, bool &addedToDeclSpec) { // Create the attribute. - auto getNullabilityAttr = [&](AttributePool &Pool) -> AttributeList * { + auto getNullabilityAttr = [&](AttributePool &Pool) -> ParsedAttr * { return Pool.create(P.getNullabilityKeyword(nullability), SourceRange(nullabilityLoc), nullptr, SourceLocation(), - nullptr, 0, AttributeList::AS_ContextSensitiveKeyword); + nullptr, 0, ParsedAttr::AS_ContextSensitiveKeyword); }; if (D.getNumTypeObjects() > 0) { |