-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: propagate current dependency mode when extracting typedefs as a …
…dependency
- Loading branch information
1 parent
d456f87
commit 7820d6a
Showing
4 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace N | ||
{ | ||
template<typename T> | ||
struct A { }; | ||
|
||
template<typename T> | ||
using B = A<T>; | ||
|
||
template<typename T> | ||
using C = B<T>; | ||
|
||
struct D { }; | ||
} | ||
|
||
struct E : N::C<int> { }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mrdocs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://github.com/cppalliance/mrdocs/raw/develop/mrdocs.rnc"> | ||
<namespace id="//////////////////////////8="> | ||
<struct name="E" id="KJWEqOD/QXinlGIqVHqmIlA5Z6E="> | ||
<file path="dependency-propagation.cpp" line="15" class="def"/> | ||
<base> | ||
<type id="1aINBgFfB9zQVkEDJdB0DyLWTmQ=" name="N::C<int>"/> | ||
</base> | ||
</struct> | ||
<namespace name="N" id="rjlMNXAaWNMkQYMTJzRA1DR0DiE="> | ||
<alias name="C" id="1aINBgFfB9zQVkEDJdB0DyLWTmQ="> | ||
<file path="dependency-propagation.cpp" line="10" class="def"/> | ||
<type id="YZjBn7yW7NyL8yCKqswVvbiptNM=" name="N::B<T>"/> | ||
</alias> | ||
<alias name="B" id="YZjBn7yW7NyL8yCKqswVvbiptNM="> | ||
<file path="dependency-propagation.cpp" line="7" class="def"/> | ||
<type id="P3wHAbrIf4CGxTZs+lXT5a3t2K0=" name="N::A<T>"/> | ||
</alias> | ||
<struct name="A" id="P3wHAbrIf4CGxTZs+lXT5a3t2K0="> | ||
<file path="dependency-propagation.cpp" line="4" class="def"/> | ||
</struct> | ||
</namespace> | ||
</namespace> | ||
</mrdocs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
filters: | ||
symbols: | ||
exclude: | ||
- 'N' | ||
referenced-declarations: dependency |