steplong added a comment. In D126559#3598950 <https://reviews.llvm.org/D126559#3598950>, @hans wrote:
>> Oh I see, that makes sense. We aren't accepting >> https://godbolt.org/z/9Yej9vhYd. Do you know of a way to get the `NamedDecl` >> with `extern "C"` instead of the second declaration? > > I'm not sure I understand the question, but it seems the current code is > checking `isExternCContext()`. I think instead you want to check > `FunctionDecl::isExternC()`. Oh, that answers my question. I'll give that a try. Thanks! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D126559/new/ https://reviews.llvm.org/D126559 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits