summaryrefslogtreecommitdiffstats
path: root/Source/cmFortranParser.h
diff options
context:
space:
mode:
authorIsuru Fernando <isuruf@gmail.com>2020-11-19 17:33:23 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-24 12:39:47 (GMT)
commitfe3f846e1b88341529686ee7dd334b01fe9e705e (patch)
tree95a4facd2432b9eb74d4039cd467d364d3a0ab2e /Source/cmFortranParser.h
parent66488d4eb31d372d8e06ce78e5f49a7cc43974ee (diff)
downloadCMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.zip
CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.tar.gz
CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.tar.bz2
Makefiles: Add support for building Fortran intrinsics
Fixes: #21463
Diffstat (limited to 'Source/cmFortranParser.h')
-rw-r--r--Source/cmFortranParser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFortranParser.h b/Source/cmFortranParser.h
index 1b14d17..70fe537 100644
--- a/Source/cmFortranParser.h
+++ b/Source/cmFortranParser.h
@@ -40,6 +40,8 @@ int cmFortranParser_GetOldStartcond(cmFortranParser* parser);
/* Callbacks for parser. */
void cmFortranParser_Error(cmFortranParser* parser, const char* message);
void cmFortranParser_RuleUse(cmFortranParser* parser, const char* module_name);
+void cmFortranParser_RuleUseIntrinsic(cmFortranParser* parser,
+ const char* module_name);
void cmFortranParser_RuleLineDirective(cmFortranParser* parser,
const char* filename);
void cmFortranParser_RuleInclude(cmFortranParser* parser, const char* name);
@@ -99,6 +101,9 @@ public:
std::set<std::string> Provides;
std::set<std::string> Requires;
+ // Set of intrinsic modules.
+ std::set<std::string> Intrinsics;
+
// Set of files included in the translation unit.
std::set<std::string> Includes;
};