we want to exclude friend declaration, but the DeclContext of a
friend function declaration is not the class in which it is declared, so we need
to explicitly check if the parent is a friendDecl.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D21175
[include-fixer] do not index friend function declaration. ClosedPublic Authored by ioeric on Jun 9 2016, 2:35 AM.
Details Summary we want to exclude friend declaration, but the DeclContext of a
Diff Detail Event Timelineioeric updated this object. This revision is now accepted and ready to land.Jun 9 2016, 6:38 AM Closed by commit rL272261: [include-fixer] do not index friend function declaration. (authored by ioeric). · Explain WhyJun 9 2016, 7:25 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 60147 include-fixer/find-all-symbols/FindAllSymbols.cpp
unittests/include-fixer/find-all-symbols/FindAllSymbolsTests.cpp
|