aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2025-04-18 22:14:03 -0700
committerGitHub <noreply@github.com>2025-04-18 22:14:03 -0700
commitc3000333cda22ec7d5ae2597c6aadcdc5d6ea7f8 (patch)
tree295ce5c9d6a8772263ec1922500d57060aaae80a /clang/lib/CodeGen/CodeGenFunction.h
parent3bcb724903d82414a0952fe0349d5181ff2f0f26 (diff)
downloadllvm-c3000333cda22ec7d5ae2597c6aadcdc5d6ea7f8.zip
llvm-c3000333cda22ec7d5ae2597c6aadcdc5d6ea7f8.tar.gz
llvm-c3000333cda22ec7d5ae2597c6aadcdc5d6ea7f8.tar.bz2
Revert "[Reland][Clang][CodeGen][UBSan] Add more precise attributes to recoverable ubsan handlers" (#136402)
Reverts llvm/llvm-project#135135 Breaks several bots, details in #135135.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 9254c70..4c5e8a8 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -5244,9 +5244,7 @@ public:
/// Convert a value into a format suitable for passing to a runtime
/// sanitizer handler.
- /// If the check value is a pointer or passed by reference, set \p
- /// MayReadFromPtrToInt to true.
- llvm::Value *EmitCheckValue(llvm::Value *V, bool &MayReadFromPtrToInt);
+ llvm::Value *EmitCheckValue(llvm::Value *V);
/// Emit a description of a source location in a format suitable for
/// passing to a runtime sanitizer handler.