================
@@ -11,51 +11,124 @@
 #include "clang/Lex/Lexer.h"
 #include "clang/Lex/PPCallbacks.h"
 #include "clang/Lex/Preprocessor.h"
+#include "llvm/ADT/STLForwardCompat.h"
 
 #include <array>
 
 namespace clang::tidy::readability {
 
 namespace {
 
-class IfPreprocessorCallbacks final : public PPCallbacks {
+enum class DirectiveKind : bool { If, Elif };
----------------
vbvictor wrote:

If we use `enum class`, does it matter to specify a type if it wouldn't be 
converted-to anyway?

https://github.com/llvm/llvm-project/pull/156220
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to