================
@@ -398,7 +398,7 @@ const RawComment *ASTContext::getRawCommentForAnyRedecl(
       continue;
     }
     const RawComment *RedeclComment = getRawCommentForDeclNoCache(Redecl);
-    if (RedeclComment) {
+    if (RedeclComment && RedeclComment->getRawText(SourceMgr) != "/*static*/") 
{
----------------
liepieshov wrote:

@Sterling-Augustine  Updated the code to include static and virtual variations

https://github.com/llvm/llvm-project/pull/164854
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to