Have code indentation follow preprocessor directives indentation

前端 未结 0 1607
野性不改
野性不改 2020-12-25 14:26

I\'m in a situation where I have code that looks like this :

#ifdef NOISE
#ifdef NOISE_2D
DECLARE_NOISE2D();
#else // NOISE_3D
DECLARE_NOISE3D();
#endif
#else         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题