-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #424 from tristan0x/using-in-ns
Remove spurious "typedef" in type declaration when using "using"
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
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,11 @@ | ||
PROJECT_NAME = "UsingInNS" | ||
OUTPUT_DIRECTORY = using_in_ns | ||
GENERATE_LATEX = NO | ||
GENERATE_MAN = NO | ||
GENERATE_RTF = NO | ||
CASE_SENSE_NAMES = NO | ||
INPUT = using_in_ns.h | ||
QUIET = YES | ||
JAVADOC_AUTOBRIEF = YES | ||
GENERATE_HTML = NO | ||
GENERATE_XML = YES |
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,13 @@ | ||
// | ||
// When declaring a type using a "using" directive inside a namespace, | ||
// Doxygen adds a spurious "typedef" in the corresponding XML definition | ||
// | ||
// $ doxygen --version | ||
// 1.8.11 | ||
// | ||
|
||
namespace foo { | ||
using foo_int = int; // <definition>using foo::foo_int = typedef int</definition> | ||
} | ||
|
||
using global_int = int; // <definition>using global_int = int</definition> |