mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Add LLVM_OVERRIDE to methods that override their base classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1608,15 +1608,16 @@ public:
|
||||
class alias : public Option {
|
||||
Option *AliasFor;
|
||||
virtual bool handleOccurrence(unsigned pos, StringRef /*ArgName*/,
|
||||
StringRef Arg) {
|
||||
StringRef Arg) LLVM_OVERRIDE {
|
||||
return AliasFor->handleOccurrence(pos, AliasFor->ArgStr, Arg);
|
||||
}
|
||||
// Handle printing stuff...
|
||||
virtual size_t getOptionWidth() const;
|
||||
virtual void printOptionInfo(size_t GlobalWidth) const;
|
||||
virtual size_t getOptionWidth() const LLVM_OVERRIDE;
|
||||
virtual void printOptionInfo(size_t GlobalWidth) const LLVM_OVERRIDE;
|
||||
|
||||
// Aliases do not need to print their values.
|
||||
virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
|
||||
virtual void printOptionValue(size_t /*GlobalWidth*/,
|
||||
bool /*Force*/) const LLVM_OVERRIDE {}
|
||||
|
||||
void done() {
|
||||
if (!hasArgStr())
|
||||
|
Reference in New Issue
Block a user