HomePhabricator

Mark llvm::ConstantExpr::getAsInstruction as const

Authored by AlexDenisov on Nov 12 2019, 1:57 AM.

Description

Mark llvm::ConstantExpr::getAsInstruction as const

Summary:
getAsInstruction is the only non-const member method.
It is impossible to enforce const-correctness because of it.

Reviewers: jmolloy, majnemer

Reviewed By: jmolloy

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70113

Details

Committed
AlexDenisovNov 12 2019, 5:24 AM
Reviewer
jmolloy
Differential Revision
D70113: Mark llvm::ConstantExpr::getAsInstruction as const
Parents
rG44e5879f0fb7: AArch64: add arm64_32 support to Clang.
Branches
Unknown
Tags
Unknown