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:
Craig Topper
2014-03-02 09:09:27 +00:00
parent cfbdd4df6d
commit 629b96cb4f
87 changed files with 687 additions and 765 deletions

View File

@@ -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;