[PATCH] D105648: [OpenMP] Support OpenMP 5.1 attributes

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 8 12:51:00 PDT 2021


aaron.ballman added inline comments.


================
Comment at: clang/lib/Parse/ParseDeclCXX.cpp:4473-4486
+void Parser::ParseCXX11Attributes(ParsedAttributesWithRange &Attrs,
+                                  SourceLocation *EndLoc) {
   assert(standardAttributesAllowed());
 
   SourceLocation StartLoc = Tok.getLocation(), Loc;
-  if (!endLoc)
-    endLoc = &Loc;
+  if (!EndLoc)
+    EndLoc = &Loc;
----------------
I'm also backing out these NFC formatting changes that we vestiges from earlier work.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105648/new/

https://reviews.llvm.org/D105648



More information about the cfe-commits mailing list