-
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #30 from stlab/sean-parent/macro-utilities
Sean parent/macro utilities
- Loading branch information
Showing
6 changed files
with
28 additions
and
21 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
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 @@ | ||
#ifndef ADOBE_INTERNAL_TEST_MACRO_UTILITIES_HPP | ||
|
||
/// turns `x` into a string literal. | ||
#define ADOBE_INTERNAL_STRINGIZE(x) \ | ||
ADOBE_INTERNAL_STRINGIZE2(x)// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) | ||
#define ADOBE_INTERNAL_STRINGIZE2(x) #x// NOLINT(cppcoreguidelines-macro-usage) | ||
|
||
|
||
/// a string literal for __LINE__. | ||
#define ADOBE_INTERNAL_LINE_STRING() \ | ||
ADOBE_INTERNAL_STRINGIZE(__LINE__)// NOLINT(cppcoreguidelines-macro-usage) | ||
|
||
#endif |
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
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