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).
Paths
| Differential D83700
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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 14 2020, 6:24 AM Closed by commit rG8978032a17cd: Fix test for the hasExternalFormalLinkage matcher (authored by gribozavr). · Explain WhyJul 14 2020, 6:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 277811 clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
|