mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Switch all uses of LLVM_OVERRIDE to just use 'override' directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -149,16 +149,16 @@ namespace {
|
||||
struct AllocaCaptureTracker : public CaptureTracker {
|
||||
AllocaCaptureTracker() : Captured(false) {}
|
||||
|
||||
void tooManyUses() LLVM_OVERRIDE { Captured = true; }
|
||||
void tooManyUses() override { Captured = true; }
|
||||
|
||||
bool shouldExplore(Use *U) LLVM_OVERRIDE {
|
||||
bool shouldExplore(Use *U) override {
|
||||
Value *V = U->getUser();
|
||||
if (isa<CallInst>(V) || isa<InvokeInst>(V))
|
||||
UsesAlloca.insert(V);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool captured(Use *U) LLVM_OVERRIDE {
|
||||
bool captured(Use *U) override {
|
||||
if (isa<ReturnInst>(U->getUser()))
|
||||
return false;
|
||||
Captured = true;
|
||||
|
Reference in New Issue
Block a user