From bc094b52867a7a922a1356b0ca4003bccf692632 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Mon, 11 Dec 2017 15:48:56 +0000 Subject: [PATCH] [MSan] Hotfix compilation For some reason the override directives got removed in r320373. I suspect this to be an unwanted effect of clang-format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320381 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/MemorySanitizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/lib/Transforms/Instrumentation/MemorySanitizer.cpp index ace657f0682..b3c39b5b166 100644 --- a/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -3182,14 +3182,14 @@ struct VarArgAMD64Helper : public VarArgHelper { // nonzero shadow. } - void visitVAStartInst(VAStartInst &I) { + void visitVAStartInst(VAStartInst &I) override { if (F.getCallingConv() == CallingConv::Win64) return; VAStartInstrumentationList.push_back(&I); unpoisonVAListTagForInst(I); } - void visitVACopyInst(VACopyInst &I) { + void visitVACopyInst(VACopyInst &I) override { if (F.getCallingConv() == CallingConv::Win64) return; unpoisonVAListTagForInst(I); } -- 2.50.1