<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm using a (slightly) modified version of Clang to be used within Xcode. I integrate it using the "CC" flag in Xcode. All my modifications are turned off by default, but may be switched on by a set of custom flags.<div><br></div><div>If I don't set any of these, everything is fine. However, if I enable one of my custom warnings, these warnings show up when building the project/target, but Xcode's autocompletion stops working. Could it be that Xcode is confused because it works with different versions of Clang?</div><div><br></div><div>Not all of my custom flags break the autocomplete function. E.g., I have this option in Options.td:</div><div><br></div><div><div><font face="Monaco" style="font-size: 11px;">def export_stats : Flag<["-"], "export-stats">,</font></div><div><font face="Monaco" style="font-size: 11px;">  Flags<[CC1Option]>,</font></div><div><font face="Monaco" style="font-size: 11px;">  HelpText<"....">;</font></div></div><div><br></div><div>Setting it doesn't break anything, but the following does:</div><div><br></div><div>[Options.td]</div><div><div><font face="Monaco"><span style="font-size: 11px;">def Wunsafe_api_usage : Flag<["-"], "Wunsafe-api-usage">,</span></font></div><div><font face="Monaco"><span style="font-size: 11px;">  Group<W_Group>,</span></font></div><div><font face="Monaco"><span style="font-size: 11px;">  Flags<[CC1Option]>,</span></font></div><div><font face="Monaco"><span style="font-size: 11px;">  HelpText<"...">;</span></font></div></div><div><br></div><div>[DiagnosticSemaKinds.td]</div><div><div><font face="Monaco" style="font-size: 11px;">def warn_unsafe_api_usage : Warning<</font></div><div><font face="Monaco" style="font-size: 11px;">  "WarningText">,</font></div><div><font face="Monaco" style="font-size: 11px;">  InGroup<DiagGroup<"unsafe-api-usage">>, DefaultIgnore;</font></div></div><div><br></div><div>Did I get something wrong, or do I just have to live with it because Xcode is not prepared for this type of modification?</div><div><br></div><div>Cheers</div><div>Hagi</div><div><br></div></body></html>