[clang] ee15c1f - [Sema] Remove unused declaration ConvertIntegerToTypeWarnOnOverflow
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Fri May 26 20:08:03 PDT 2023
Author: Kazu Hirata
Date: 2023-05-26T20:07:49-07:00
New Revision: ee15c1fa84c2245866b0a202e896928621401f71
URL: https://github.com/llvm/llvm-project/commit/ee15c1fa84c2245866b0a202e896928621401f71
DIFF: https://github.com/llvm/llvm-project/commit/ee15c1fa84c2245866b0a202e896928621401f71.diff
LOG: [Sema] Remove unused declaration ConvertIntegerToTypeWarnOnOverflow
The corresponding function definition was removed by:
commit 077d083b4dd12538fc824d5784d455da0d86a1ea
Author: Richard Smith <richard-llvm at metafoo.co.uk>
Date: Mon Aug 4 00:40:48 2014 +0000
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 6f5fa86dc9ccc..26b717439e832 100644
--- a/clang/include/clang/Sema/Sema.h
+++ b/clang/include/clang/Sema/Sema.h
@@ -12941,13 +12941,6 @@ class Sema final {
/// CheckCXXBooleanCondition - Returns true if conversion to bool is invalid.
ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
- /// ConvertIntegerToTypeWarnOnOverflow - Convert the specified APInt to have
- /// the specified width and sign. If an overflow occurs, detect it and emit
- /// the specified diagnostic.
- void ConvertIntegerToTypeWarnOnOverflow(llvm::APSInt &OldVal,
- unsigned NewWidth, bool NewSign,
- SourceLocation Loc, unsigned DiagID);
-
/// Checks that the Objective-C declaration is declared in the global scope.
/// Emits an error and marks the declaration as invalid if it's not declared
/// in the global scope.
More information about the cfe-commits
mailing list