-
Notifications
You must be signed in to change notification settings - Fork 616
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 #4006 from masatake/cxx--fix-export-prop-for-using
C++: record "export" in the property field if the keyword is put at a "using" declaration
- Loading branch information
Showing
5 changed files
with
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--sort=no | ||
--fields=+K | ||
--kinds-C++=+MtNp | ||
--fields-C++=+{properties} | ||
--extras=+r | ||
--fields=+r |
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 @@ | ||
Delta input.cpp /^export module Delta;$/;" module roles:def properties:export | ||
Param input.cpp /^export using Param = int;$/;" typedef typeref:typename:int file: roles:def properties:export | ||
Param input.cpp /^export using ::Param;$/;" name file: roles:def properties:export | ||
Param input.cpp /^export using ::Param; \/\/ We can declare an object more than twice.$/;" name file: roles:def properties:export | ||
fn input.cpp /^export void fn();$/;" prototype typeref:typename:void file: roles:def properties:export |
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,7 @@ | ||
// Derived from https://github.com/universal-ctags/ctags/issues/4003 submitted by @adrianconstantin-leroy. | ||
export module Delta; | ||
|
||
export using Param = int; | ||
export using ::Param; | ||
export using ::Param; // We can declare an object more than twice. | ||
export void fn(); |
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 @@ | ||
cxx20+module |
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