MCPcopy Create free account
hub / github.com/csyonghe/Spire / CreateConditional

Function CreateConditional

Source/SpireCore/Preprocessor.cpp:923–928  ·  view source on GitHub ↗

Create a preprocessor conditional

Source from the content-addressed store, hash-verified

921
922// Create a preprocessor conditional
923static PreprocessorConditional* CreateConditional(Preprocessor* /*preprocessor*/)
924{
925 // TODO(tfoley): allocate these more intelligently (for example,
926 // pool them on the `Preprocessor`.
927 return new PreprocessorConditional();
928}
929
930// Destroy a preprocessor conditional.
931static void DestroyConditional(PreprocessorConditional* conditional)

Callers 1

BeginConditionalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected