[Openmp-commits] [PATCH] D105648: [OpenMP] Support OpenMP 5.1 attributes

Aaron Ballman via Phabricator via Openmp-commits openmp-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 Openmp-commits mailing list