diff options
author | Timm Bäder <tbaeder@redhat.com> | 2022-03-22 09:27:27 +0100 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2022-03-24 08:11:57 +0100 |
commit | 711e3a569167ee6f3fbccf983933d92cd03a469b (patch) | |
tree | 2fbc770ffd833cbf2f32266eb41af0071f5c3abe /clang/lib/Parse/ParseOpenMP.cpp | |
parent | 32012eb11b235e1560a253664095676ea8ebd027 (diff) | |
download | llvm-711e3a569167ee6f3fbccf983933d92cd03a469b.zip llvm-711e3a569167ee6f3fbccf983933d92cd03a469b.tar.gz llvm-711e3a569167ee6f3fbccf983933d92cd03a469b.tar.bz2 |
[clang][parse] Move source range into ParsedAttibutesView
Move the SourceRange from the old ParsedAttributesWithRange into
ParsedAttributesView, so we have source range information available
everywhere we use attributes.
This also removes ParsedAttributesWithRange (replaced by simply using
ParsedAttributes) and ParsedAttributesVieWithRange (replaced by using
ParsedAttributesView).
Differential Revision: https://reviews.llvm.org/D121201
Diffstat (limited to 'clang/lib/Parse/ParseOpenMP.cpp')
-rw-r--r-- | clang/lib/Parse/ParseOpenMP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseOpenMP.cpp b/clang/lib/Parse/ParseOpenMP.cpp index 3cb3010..d2ba4d6 100644 --- a/clang/lib/Parse/ParseOpenMP.cpp +++ b/clang/lib/Parse/ParseOpenMP.cpp @@ -2025,7 +2025,7 @@ void Parser::ParseOMPEndDeclareTargetDirective(OpenMPDirectiveKind BeginDKind, /// annot_pragma_openmp_end /// Parser::DeclGroupPtrTy Parser::ParseOpenMPDeclarativeDirectiveWithExtDecl( - AccessSpecifier &AS, ParsedAttributesWithRange &Attrs, bool Delayed, + AccessSpecifier &AS, ParsedAttributes &Attrs, bool Delayed, DeclSpec::TST TagType, Decl *Tag) { assert(Tok.isOneOf(tok::annot_pragma_openmp, tok::annot_attr_openmp) && "Not an OpenMP directive!"); |