[clang] 41112db - [clang][NFC] Remove old commented out code
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 27 22:50:20 PDT 2025
Author: Vlad Serebrennikov
Date: 2025-04-28T08:50:14+03:00
New Revision: 41112db5a5a7806b27de9b6a460894b82036b41a
URL: https://github.com/llvm/llvm-project/commit/41112db5a5a7806b27de9b6a460894b82036b41a
DIFF: https://github.com/llvm/llvm-project/commit/41112db5a5a7806b27de9b6a460894b82036b41a.diff
LOG: [clang][NFC] Remove old commented out code
`CheckedConversionKind` was converted to a scoped enum quite a while ago.
Added:
Modified:
clang/include/clang/Sema/Sema.h
Removed:
################################################################################
diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h
index 0c77c5b5ca30a..f75a9cdcb2a75 100644
--- a/clang/include/clang/Sema/Sema.h
+++ b/clang/include/clang/Sema/Sema.h
@@ -753,20 +753,6 @@ class Sema final : public SemaBase {
void checkTypeSupport(QualType Ty, SourceLocation Loc,
ValueDecl *D = nullptr);
- // /// The kind of conversion being performed.
- // enum CheckedConversionKind {
- // /// An implicit conversion.
- // CCK_ImplicitConversion,
- // /// A C-style cast.
- // CCK_CStyleCast,
- // /// A functional-style cast.
- // CCK_FunctionalCast,
- // /// A cast other than a C-style cast.
- // CCK_OtherCast,
- // /// A conversion for an operand of a builtin overloaded operator.
- // CCK_ForBuiltinOverloadedOp
- // };
-
/// ImpCastExprToType - If Expr is not of type 'Type', insert an implicit
/// cast. If there is already an implicit cast, merge into the existing one.
/// If isLvalue, the result of the cast is an lvalue.
More information about the cfe-commits
mailing list