<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>It causes a fatal error when linking because of the characters '
'</p>
<p>I think there should be something in quotes on that line, Out
<< ' ' << *ND; <br>
</p>
<p><span style="color: rgb(139, 164, 70); font-family: sans-serif;
font-size: 13px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(34, 34, 34); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">fatal error LNK1318: Unexpected PDB
error; OK (0) ''</span></p>
<p><span style="color: rgb(139, 164, 70); font-family: sans-serif;
font-size: 13px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(34, 34, 34); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"><br>
</span></p>
<p><span style="color: rgb(139, 164, 70); font-family: sans-serif;
font-size: 13px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(34, 34, 34); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"><br>
</span></p>
<div class="moz-cite-prefix">On 17/09/2017 11:14 AM, John McCall
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1C0E9262-5F6E-436A-BD5F-222DDEF52343@apple.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>
<blockquote type="cite" class="">
<div class="">On Sep 16, 2017, at 10:47 PM, Kim Gadecki via
cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class=""
moz-do-not-send="true">cfe-dev@lists.llvm.org</a>>
wrote:</div>
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
<p class="">Hi guys,</p>
<p class="">I noticed a problem in the clang source code.</p>
<p class="">In ASTConsumers.cpp, someone edited it to say
the following at line 502<br class="">
</p>
<p class=""> case Decl::Friend: {<br class="">
Out << "<friend>";<br class="">
if (const NamedDecl *ND =
cast<FriendDecl>(I)->getFriendDecl())<br
class="">
Out << ' ' << *ND;<br class="">
Out << "\n";<br class="">
break;<br class="">
}</p>
<p class="">It causes a <b class="">fatal </b>error. <br
class="">
</p>
<p class="">commit
870fa3969cf0e9e914b21be0b8351f4b8b907eae</p>
</div>
</div>
</blockquote>
</div>
Do you have a test case? That code doesn't seem wrong to me.
<div class=""><br class="">
</div>
<div class="">John.</div>
</blockquote>
</body>
</html>