summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-07 08:12:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-07 08:12:22 +0000
commitc94234c11cce3e6ff99b77d2505e9a9cb4ef0c98 (patch)
tree35ba6bef9e5ce2f6a5ae74e128eb6381a09d7b3f /llvm
parent291cc7bacde8fe093aee4e7cc5b09fc90f61d4bc (diff)
downloadbcm5719-llvm-c94234c11cce3e6ff99b77d2505e9a9cb4ef0c98.tar.gz
bcm5719-llvm-c94234c11cce3e6ff99b77d2505e9a9cb4ef0c98.zip
Consistently use override rather than virtual.
This fixes -Winconsistent-missing-override warnings. llvm-svn: 228489
Diffstat (limited to 'llvm')
-rw-r--r--llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
index c12e60ac1fd..87d4197776c 100644
--- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
+++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
@@ -70,24 +70,24 @@ class MockRawSymbol : public IPDBRawSymbol {
public:
MockRawSymbol(PDB_SymType SymType) : Type(SymType) {}
- virtual void dump(llvm::raw_ostream &OS) const {}
+ void dump(llvm::raw_ostream &OS) const override {}
- virtual std::unique_ptr<IPDBEnumSymbols>
+ std::unique_ptr<IPDBEnumSymbols>
findChildren(PDB_SymType Type, StringRef Name,
- PDB_NameSearchFlags Flags) const {
+ PDB_NameSearchFlags Flags) const override {
return nullptr;
}
- virtual std::unique_ptr<IPDBEnumSymbols>
+ std::unique_ptr<IPDBEnumSymbols>
findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags,
- uint32_t RVA) const {
+ uint32_t RVA) const override {
return nullptr;
}
- virtual std::unique_ptr<IPDBEnumSymbols>
- findInlineFramesByRVA(uint32_t RVA) const {
+ std::unique_ptr<IPDBEnumSymbols>
+ findInlineFramesByRVA(uint32_t RVA) const override {
return nullptr;
}
- virtual void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const {}
+ void getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) const override {}
PDB_SymType getSymTag() const override { return Type; }
OpenPOWER on IntegriCloud