This is an archive of the discontinued LLVM Phabricator instance.

Fix test for the hasExternalFormalLinkage matcher
ClosedPublic

Authored by gribozavr on Jul 13 2020, 10:53 AM.

Details

Summary

Names of local variables have no linkage (see C++20 [basic.link] p8).

Names of variables in unnamed namespace have internal linkage (see C++20
[basic.link] p4).

Diff Detail

Event Timeline

gribozavr created this revision.Jul 13 2020, 10:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2020, 10:53 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ymandel accepted this revision.Jul 14 2020, 6:24 AM
This revision is now accepted and ready to land.Jul 14 2020, 6:24 AM
This revision was automatically updated to reflect the committed changes.