[PATCH] D89960: Testing the use of arc.

Zahira Ammarguellat via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 22 07:02:46 PDT 2020


zahiraam created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
zahiraam requested review of this revision.

Change-Id: I94cb7ac295acc8de9aa2c60bb31a1f5ee7d86fde


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89960

Files:
  clang/lib/Parse/ParseCXXInlineMethods.cpp


Index: clang/lib/Parse/ParseCXXInlineMethods.cpp
===================================================================
--- clang/lib/Parse/ParseCXXInlineMethods.cpp
+++ clang/lib/Parse/ParseCXXInlineMethods.cpp
@@ -404,6 +404,7 @@
       if (Tok.is(tok::eof) && Tok.getEofData() == Param)
         ConsumeAnyToken();
     } else if (HasUnparsed) {
+      // This is a test to use arc.
       assert(Param->hasInheritedDefaultArg());
       FunctionDecl *Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl();
       ParmVarDecl *OldParam = Old->getParamDecl(I);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89960.299959.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201022/5a567d78/attachment-0001.bin>


More information about the cfe-commits mailing list