================
@@ -412,6 +423,8 @@ bool Preprocessor::CheckMacroName(Token &MacroNameTok, 
MacroUse isDefineUndef,
       if (ShadowFlag)
         *ShadowFlag = true;
     }
+    if (D == MD_KeywordUndef)
----------------
erichkeane wrote:

This set of 3 'if' statements just begs to be a switch or at least if/else 
tree... 

https://github.com/llvm/llvm-project/pull/218322
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to