[C++11] Add 'override' keyword to virtual methods that override their base class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202945 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2014-03-05 07:30:04 +00:00
parent a6ace00520
commit c37e6c0734
45 changed files with 252 additions and 254 deletions

View File

@ -302,9 +302,9 @@ namespace {
LVIValueHandle(Value *V, LazyValueInfoCache *P)
: CallbackVH(V), Parent(P) { }
void deleted();
void allUsesReplacedWith(Value *V) {
void deleted() override;
void allUsesReplacedWith(Value *V) override {
deleted();
}
};