MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / shouldAddRequirement

Function shouldAddRequirement

tools/clang/lib/Lex/ModuleMap.cpp:1625–1640  ·  view source on GitHub ↗

Whether to add the requirement \p Feature to the module \p M. This preserves backwards compatibility for two hacks in the Darwin system module map files: 1. The use of 'requires excluded' to make headers non-modular, which should really be mapped to 'textual' now that we have this feature. We drop the 'excluded' requirement, and set \p IsRequiresExcludedHack to true. Later, this bit will be us

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseRequiresDeclMethod · 0.85

Calls 1

fullModuleNameIsMethod · 0.80

Tested by

no test coverage detected