[PATCH] D117522: [clang-tidy] Add modernize-macro-to-enum check

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 30 23:10:23 PST 2022


LegalizeAdulthood added a comment.

This situation isn't properly diagnosed (false positive):

  #ifdef USE_FOO
  #if USE_FOO
  // code
  #endif
  #endif


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117522/new/

https://reviews.llvm.org/D117522



More information about the cfe-commits mailing list