clang-tools 24.0.0git
UseToUnderlyingCheck.h File Reference
#include "../ClangTidyCheck.h"
#include "../utils/IncludeInserter.h"
#include <optional>

Go to the source code of this file.

Classes

class  clang::tidy::modernize::UseToUnderlyingCheck
 Finds casts from a scoped enumeration to its underlying integer type and replaces them with a call to std::to_underlying (C++23). More...

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::modernize