Skip to content

Commit 92ee847

Browse files
committed
Revert "[clang][wip] Add nondeterministic parameter to function declarations"
This reverts commit b8d748d.
1 parent 09dc12d commit 92ee847

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

clang/lib/CodeGen/CodeGenFunction.h

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,17 +2803,14 @@ class CodeGenFunction : public CodeGenTypeCache {
28032803
/// The cast is not performaed in CreateTempAllocaWithoutCast. This is
28042804
/// more efficient if the caller knows that the address will not be exposed.
28052805
llvm::AllocaInst *CreateTempAlloca(llvm::Type *Ty, const Twine &Name = "tmp",
2806-
llvm::Value *ArraySize = nullptr,
2807-
bool UseNondeterministicInit = false);
2806+
llvm::Value *ArraySize = nullptr);
28082807
RawAddress CreateTempAlloca(llvm::Type *Ty, CharUnits align,
28092808
const Twine &Name = "tmp",
28102809
llvm::Value *ArraySize = nullptr,
2811-
RawAddress *Alloca = nullptr,
2812-
bool UseNondeterministicInit = false);
2810+
RawAddress *Alloca = nullptr);
28132811
RawAddress CreateTempAllocaWithoutCast(llvm::Type *Ty, CharUnits align,
28142812
const Twine &Name = "tmp",
2815-
llvm::Value *ArraySize = nullptr,
2816-
bool UseNondeterministicInit = false);
2813+
llvm::Value *ArraySize = nullptr);
28172814

28182815
/// CreateDefaultAlignedTempAlloca - This creates an alloca with the
28192816
/// default ABI alignment of the given LLVM type.
@@ -2842,12 +2839,10 @@ class CodeGenFunction : public CodeGenTypeCache {
28422839
/// appropriate alignmen and cast it to the default address space. Returns
28432840
/// the original alloca instruction by \p Alloca if it is not nullptr.
28442841
RawAddress CreateMemTemp(QualType T, const Twine &Name = "tmp",
2845-
RawAddress *Alloca = nullptr,
2846-
bool UseNondeterministicInit = false);
2842+
RawAddress *Alloca = nullptr);
28472843
RawAddress CreateMemTemp(QualType T, CharUnits Align,
28482844
const Twine &Name = "tmp",
2849-
RawAddress *Alloca = nullptr,
2850-
bool UseNondeterministicInit = false);
2845+
RawAddress *Alloca = nullptr);
28512846

28522847
/// CreateMemTemp - Create a temporary memory object of the given type, with
28532848
/// appropriate alignmen without casting it to the default address space.

0 commit comments

Comments
 (0)