Home
last modified time | relevance | path

Searched refs:definitions_ (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/flang/lib/Parser/
Dpreprocessor.cpp240 definitions_.emplace(SaveTokenAsName("__DATE__"s), // e.g., "Jun 16 1904"
242 definitions_.emplace(SaveTokenAsName("__TIME__"s), // e.g., "23:59:60"
245 definitions_.emplace(
247 definitions_.emplace(
252 definitions_.emplace(SaveTokenAsName(macro), Definition{value, allSources_}); in Define()
255 void Preprocessor::Undefine(std::string macro) { definitions_.erase(macro); } in Undefine()
279 auto it{definitions_.find(token)}; in MacroReplacement()
280 if (it == definitions_.end()) { in MacroReplacement()
432 definitions_.erase(nameToken); in Directive()
481 definitions_.emplace(std::make_pair( in Directive()
[all …]
Dpreprocessor.h95 std::unordered_map<CharBlock, Definition> definitions_; variable