diff options
Diffstat (limited to 'contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h')
-rw-r--r-- | contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h b/contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h index 477e788..673ade7 100644 --- a/contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h +++ b/contrib/llvm/lib/Target/CppBackend/CPPTargetMachine.h @@ -28,14 +28,12 @@ struct CPPTargetMachine : public TargetMachine { CodeGenOpt::Level OL) : TargetMachine(T, TT, CPU, FS, Options) {} - virtual bool addPassesToEmitFile(PassManagerBase &PM, - formatted_raw_ostream &Out, - CodeGenFileType FileType, - bool DisableVerify, - AnalysisID StartAfter, - AnalysisID StopAfter); - - virtual const DataLayout *getDataLayout() const { return 0; } + bool addPassesToEmitFile(PassManagerBase &PM, formatted_raw_ostream &Out, + CodeGenFileType FileType, bool DisableVerify, + AnalysisID StartAfter, + AnalysisID StopAfter) override; + + const DataLayout *getDataLayout() const override { return nullptr; } }; extern Target TheCppBackendTarget; |